/* ==========================================================================
   ABOUT US PAGE STYLES — about.css
   ========================================================================== */

.page-template-page-about,
.page-template-page-about * {
    font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
}

/* White scrolled header */
body.page-template-page-about .site-header {
    background: transparent !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
body.page-template-page-about .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
body.page-template-page-about .site-header.scrolled .nav-list a,
body.page-template-page-about .site-header.scrolled .logo-text,
body.page-template-page-about .site-header.scrolled .btn-link,
body.page-template-page-about .site-header.scrolled .mobile-menu-toggle {
    color: #0f172a !important;
}
body.page-template-page-about .site-header.scrolled .nav-list a:hover,
body.page-template-page-about .site-header.scrolled .btn-link:hover {
    color: #3b82f6 !important;
}
body.page-template-page-about .site-header.scrolled .logo a img,
body.page-template-page-about .site-header.scrolled .logo-link img {
    filter: none !important;
}

/* HERO SECTION */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #02203c 0%, #0f172a 100%);
    padding: 120px 0 80px;
    overflow: hidden;
    text-align: center;
    min-height: 480px;
}
.about-bg-elements { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.about-bg-img { position: absolute; opacity: 0.18; }
.about-bg-img.bg-left-building  { left: -40px; bottom: 0; height: 100%; object-fit: contain; object-position: left bottom; }
.about-bg-img.bg-center-hand    { left: 50%; transform: translateX(-50%); top: 50%; margin-top: -60px; height: 120px; opacity: 0.10; }
.about-bg-img.bg-right-house    { right: -20px; bottom: 0; height: 85%; object-fit: contain; object-position: right bottom; }

.about-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37, 99, 235, 0.12); border: 1px solid rgba(37, 99, 235, 0.3);
    color: #93c5fd; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; padding: 8px 20px; border-radius: 50px; margin-bottom: 28px;
}
.about-hero h1 { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.about-hero h1 span { background: linear-gradient(90deg,#60a5fa,#a78bfa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.about-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 680px; margin: 0 auto 40px; line-height: 1.7; }
.about-hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.about-hero .btn-hero-primary {
    background: linear-gradient(135deg,#2563eb,#3b82f6); color:#fff; padding:14px 34px;
    border-radius:50px; font-weight:700; font-size:0.95rem; transition:transform 0.25s,box-shadow 0.25s;
    box-shadow:0 8px 24px rgba(37,99,235,0.4); text-decoration:none; display:inline-flex; align-items:center; gap:8px;
}
.about-hero .btn-hero-primary:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(37,99,235,0.5); }
.about-hero .btn-hero-outline {
    background:rgba(255,255,255,0.06); border:1.5px solid rgba(255,255,255,0.2);
    color:rgba(255,255,255,0.85); padding:14px 34px; border-radius:50px; font-weight:600;
    font-size:0.95rem; text-decoration:none; transition:background 0.25s,border-color 0.25s;
    display:inline-flex; align-items:center;
}
.about-hero .btn-hero-outline:hover { background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.35); }

/* SCROLL REVEAL (smooth CSS transition animations) */
.about-reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Directional transition presets */
.why-card.why-card-top { transform: translateY(-40px); }
.why-card.why-card-left { transform: translateX(-40px); }
.why-card.why-card-bottom { transform: translateY(40px); }

/* Revealed active states */
.about-reveal.visible,
.why-card.visible {
    opacity: 1;
    transform: translate(0) !important;
}

.about-reveal.delay-1 { transition-delay: 0.1s; }
.about-reveal.delay-2 { transition-delay: 0.2s; }
.about-reveal.delay-3 { transition-delay: 0.3s; }
.about-reveal.delay-4 { transition-delay: 0.4s; }

/* OUR STORY SECTION */
.our-story-section { background: #f8fafc; padding: 60px 0 80px; overflow: hidden; }
.our-story-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.2);
    color:#3b82f6; font-size:0.72rem; font-weight:700; letter-spacing:2px;
    text-transform:uppercase; padding:7px 18px; border-radius:50px; margin-bottom:20px;
}
.our-story-section .section-header { text-align:center; margin-bottom:48px; }
.our-story-section .section-header h2 { font-size:2.6rem; font-weight:800; color:#0f172a; line-height:1.2; margin-bottom:16px; }
.our-story-section .section-header h2 span { background:linear-gradient(90deg,#3b82f6,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.our-story-section .section-header p { font-size:1rem; color:#64748b; max-width:640px; margin:0 auto; line-height:1.6; }

/* ── 3-Column Comparison Layout ── */
.story-layout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.story-comparison {
    display: grid;
    grid-template-columns: 250px 180px 1fr;
    gap: 24px;
    align-items: stretch;
    position: relative;
}

.story-column-group {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.story-column-group.left-group {
    justify-content: space-between;
}
.story-column-group.right-group {
    justify-content: space-between;
    max-width: 740px;
    width: 100%;
}

.story-old-way {
    display: flex;
    flex-direction: column;
}
.story-col-label { font-size:0.72rem; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:#94a3b8; margin-bottom:16px; padding-left:4px; }

/* Old Way narrow cards */
.old-way-card {
    display:flex; align-items:center; gap:12px; background:#fff;
    border:1.5px solid #e2e8f0; border-radius:10px; padding:10px 14px; margin-bottom:10px;
    font-size:0.85rem; font-weight:600; color:#1e293b; position:relative;
    box-shadow:0 1px 3px rgba(0,0,0,0.03); transition:box-shadow 0.2s, border-color 0.2s;
    width: 250px;
}
.old-way-card:hover { border-color: #cbd5e1; box-shadow:0 4px 12px rgba(0,0,0,0.06); }

/* Icon Background box styling */
.old-way-card-icon {
    width:36px; height:36px; display:flex; align-items:center; justify-content:center;
    color:#3b82f6; flex-shrink:0;
    background: #f1f5f9;
    border-radius: 8px;
}
.old-way-card-icon svg { width:18px; height:18px; }

.old-way-card::after {
    content:''; position:absolute; right:-6px; top:50%; transform:translateY(-50%);
    width:10px; height:10px; border-radius:50%; background:#bfdbfe; border:2px solid #3b82f6; z-index:2;
}

/* CENTER Group & Node */
.story-column-group.center-group {
    align-items: center;
    justify-content: center;
}
.story-center-node { display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; z-index:2; }

/* White center circle with bold gradient text */
.node-circle {
    width:130px; height:130px; border-radius:50%;
    background:#ffffff;
    border:2.5px solid #3b82f6;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center; box-shadow:0 0 0 8px rgba(59,130,246,0.06),0 0 32px rgba(59,130,246,0.12); position:relative; z-index:2;
}
.node-circle-label {
    font-size:0.7rem; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; line-height:1.4;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-svg-canvas { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:1; overflow:visible; }
.node-line { fill:none; stroke:#bfdbfe; stroke-width:1.5; stroke-dasharray:6 4; opacity:0.8; }
.node-line.anim { stroke:#3b82f6; stroke-dasharray:300; stroke-dashoffset:300; opacity:0.6; transition:stroke-dashoffset 1.4s cubic-bezier(0.22,1,0.36,1); }
.story-comparison.lines-visible .node-line.anim { stroke-dashoffset:0; }

/* Status container */
.node-status {
    display:flex; align-items:center; gap:8px; margin-top:24px;
    background: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    z-index: 5;
    position: relative;
    white-space: nowrap;
}
.node-status-item { display:flex; align-items:center; gap:5px; font-size:0.65rem; font-weight:600; color:#94a3b8; }
.node-status-dot { width:6px; height:6px; border-radius:50%; background:#e2e8f0; }
.node-status-item.active .node-status-dot { background:#3b82f6; box-shadow:0 0 6px rgba(59,130,246,0.5); }
.node-status-item.active { color:#3b82f6; font-weight:700; }
.node-status-separator { width:12px; height:1px; background:#e2e8f0; }

/* Proptiqa Way Card */
.story-proptiqa-way {
    display:flex;
    flex-direction:column;
    width: 100%;
    height: 100%;
}
.proptiqa-way-label { font-size:0.72rem; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:#3b82f6; margin-bottom:16px; padding-left:4px; }
.proptiqa-way-card {
    position:relative; background:linear-gradient(135deg,#f0f4ff,#eff6ff);
    border:1.5px solid #bfdbfe; border-radius:16px;
    padding: 32px;
    overflow:hidden;
    box-shadow:0 8px 32px rgba(59, 130, 246, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.proptiqa-way-card-bg { position:absolute; top:0; right:0; height:100%; width:45%; object-fit:cover; object-position:right center; opacity:0.12; border-radius:0 16px 16px 0; }
.proptiqa-way-card-content {
    position:relative;
    z-index:2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proptiqa-way-logo { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.proptiqa-way-logo img { height:30px; }
.proptiqa-way-heading { font-size:1.5rem; font-weight:800; color:#0f172a; margin-bottom:18px; line-height:1.3; }

/* Journey step layout */
.proptiqa-journey {
    display:flex;
    align-items:center;
    gap:0;
    flex-wrap:nowrap;
    margin: 0 auto 24px;
    width: 100%;
    max-width: 640px;
    justify-content: space-between;
}
.journey-step { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; position: relative; }

/* White circle step (48px) with bold blue filled icons (22px) */
.journey-step-icon {
    width:48px;
    height:48px;
    border-radius:50%;
    background:#ffffff;
    border:1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#2563eb;
    transition: transform 0.2s, box-shadow 0.2s;
}
.journey-step-icon svg { width:22px; height:22px; }
.journey-step:hover .journey-step-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
}

.journey-step-label {
    font-size:0.78rem;
    font-weight:500;
    color:#1e293b;
    white-space:nowrap;
    margin-top:4px;
}

/* Dotted connectors matching the 48px circle centers */
.journey-connector {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 12px;
    height: 48px;
    margin-bottom: 14px;
}
.connector-line {
    width: 100%;
    height: 1px;
    border-top: 1.5px dashed #bfdbfe;
}
.connector-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #3b82f6;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Centered & Compact Badges banner container */
.proptiqa-badges-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 30px;
    padding: 10px 24px;
    margin: 8px auto 0;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.04);
}
.proptiqa-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
}
.badge-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #ffffff;
    font-weight: bold;
    flex-shrink: 0;
}
.badge-check.check-blue {
    background-color: #3b82f6;
}
.badge-check.check-purple {
    background-color: #8b5cf6;
}
.badge-separator {
    width: 1.5px;
    height: 16px;
    background-color: #e2e8f0;
}

/* verdict layout */
.verdict-cons, .verdict-pros {
    margin-top: 24px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.verdict-cons {
    background: rgba(239, 68, 68, 0.03);
    border: 1.5px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
}
.verdict-pros {
    background: rgba(22, 163, 74, 0.03);
    border: 1.5px solid rgba(22, 163, 74, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
}
.verdict-item { display:flex; align-items:center; gap:10px; font-size:0.85rem; font-weight:600; }
.verdict-icon { width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.verdict-icon svg { width:10px; height:10px; }
.verdict-cons .verdict-icon { background:#fee2e2; }
.verdict-cons .verdict-icon svg { stroke:#ef4444; stroke-width:3; }
.verdict-cons .verdict-item { color:#64748b; }
.verdict-pros .verdict-icon { background:#dcfce7; }
.verdict-pros .verdict-icon svg { stroke:#16a34a; stroke-width:2.5; }
.verdict-pros .verdict-item { color:#1e293b; }

/* SVG Pulse dot */
@keyframes pulseGlow {
    0% { r: 3.5; opacity: 1; }
    50% { r: 5.5; opacity: 0.8; }
    100% { r: 3.5; opacity: 1; }
}
.pulse-dot {
    fill: #3b82f6;
    stroke: #ffffff;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 3px #3b82f6);
    animation: pulseGlow 1.5s infinite;
}

/* ==========================================
   WHY PROPTIQA SECTION (tighter visual margins)
   ========================================== */
.why-proptiqa-section { background:#f0f4ff; padding:60px 0 80px; }
.why-proptiqa-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.2);
    color:#3b82f6; font-size:0.72rem; font-weight:700; letter-spacing:2px;
    text-transform:uppercase; padding:7px 18px; border-radius:50px; margin-bottom:16px;
}
.why-proptiqa-section .section-header { text-align:center; margin-bottom:40px; }
.why-proptiqa-section .section-header h2 { font-size:2.6rem; font-weight:800; color:#0f172a; line-height:1.2; margin-bottom:6px; }
.why-proptiqa-section .section-header h2 .gradient-text { background:linear-gradient(90deg,#3b82f6,#8b5cf6); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.why-proptiqa-section .section-header p {
    font-size:0.97rem;
    color:#64748b;
    max-width:820px;
    margin:16px auto 0;
    line-height:1.7;
}

.why-cards-wrapper { display:flex; flex-direction:column; gap:20px; max-width: 1200px; margin: 0 auto; }

/* Subtly outlined cards with premium soft shadows and translations */
.why-card {
    background:#fff;
    border:1px solid rgba(59, 130, 246, 0.12);
    border-radius:16px;
    padding:28px 36px;
    position:relative;
    overflow:hidden;
    transition:box-shadow 0.25s, transform 0.25s, opacity 0.8s, border-color 0.25s;
    height: 220px; /* Strict uniform height for all cards! */
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.why-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
    transform: translateY(-3px);
}

/* Compact fits-content number containers to prevent full-width stretching */
.why-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
    align-self: flex-start;
}

/* Translucent number badge for Ecosystem card 6 */
.why-card-ecosystem .why-card-num {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.why-card-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.why-card-icon { width:32px; height:32px; display:flex; align-items:center; justify-content:center; }
.why-card-icon svg { width:28px; height:28px; }
.why-card-title { font-size:1.1rem; font-weight:700; color:#0f172a; white-space: nowrap; }

/* Darkened card description text with 500 weight for better readability */
.why-card-desc {
    font-size:0.9rem;
    color:#475569; /* Softer text color */
    line-height:1.65;
    max-width:440px;
    font-weight: 400; /* Normal weight as requested */
}
.why-card-ecosystem .why-card-desc {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Card 1: Wide layout tweaks to wrap description in 2 lines & scale building image */
.why-card-wide { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.why-card-wide .why-card-text { flex:1; min-width:0; }
.why-card-wide .why-card-desc { max-width: 620px; }
.why-card-wide .why-card-visual { flex-shrink:0; display:flex; align-items:center; justify-content:flex-end; }
.why-card-wide .why-card-visual img { max-height:200px; max-width:460px; object-fit:contain; }

/* Cards grid */
.why-cards-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.why-cards-grid .why-card { display:flex; flex-direction:column; }
.why-cards-grid .why-card-inner { display:flex; justify-content:space-between; align-items:stretch; gap:16px; height: 100%; }

/* Aligns all cards elements to start from the top for uniform numbers alignment */
.why-cards-grid .why-card-text {
    flex:1;
    min-width:0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Responsive adjustments to scale images inside grid cards */
.why-cards-grid .why-card-visual {
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:flex-end; /* Align elements to the right side of the card */
    min-width:140px;
    margin-right: -12px; /* Pull visual elements closer to the right boundary to eliminate white space */
}
.why-cards-grid .why-card-visual img { max-width:210px; max-height:165px; object-fit:contain; }

/* Card 3 (Connected Platform flow snippet mockup details) */
.connected-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.connected-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.connected-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.connected-step-icon svg { width: 18px; height: 18px; }
.step-lead .connected-step-icon { border: 1.5px solid #3b82f6; color: #3b82f6; }
.step-customer .connected-step-icon { border: 1.5px solid #06b6d4; color: #06b6d4; }
.step-property .connected-step-icon { border: 1.5px solid #6366f1; color: #6366f1; }
.step-sales .connected-step-icon { border: 1.5px solid #a855f7; color: #a855f7; }
.connected-step-label { font-size: 0.72rem; font-weight: 600; color: #475569; }
.connected-arrow {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, #bfdbfe, #e2e8f0);
    position: relative;
    margin-bottom: 20px;
    min-width: 12px;
}
.connected-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    border: 4px solid transparent;
    border-left-color: #94a3b8;
}

/* Card 5 (Flexible & Scalable grid block expanded visual) */
.grid-scalable-visual {
    width: 190px; /* Expanded grid size to fill space */
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: -15px; /* Pull to the right edge */
}
.grid-scalable-svg {
    width: 100%;
    height: 100%;
}

/* Card 6 (Connected Ecosystem dark visual details) */
.why-card-ecosystem { background:linear-gradient(135deg,#00347D 0%,#0f172a 100%); border-color:rgba(255,255,255,0.08); color:#fff; }
.why-card-ecosystem .why-card-title { color:#fff; }
.why-card-ecosystem .why-card-desc { color:rgba(255,255,255,0.7); }

.ecosystem-flow { display:flex; align-items:center; gap:0; flex-wrap:nowrap; justify-content:center; width:100%; }
.eco-node { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; flex-shrink:0; }
.eco-node-icon {
    width:52px; height:52px; border-radius:12px;
    background:rgba(255,255,255,0.08); border:1.5px solid rgba(255,255,255,0.15);
    display:flex; align-items:center; justify-content:center;
}
.eco-node-icon svg { width:22px; height:22px; color:rgba(255,255,255,0.8); }
.eco-node-label { font-size:0.65rem; font-weight:600; color:rgba(255,255,255,0.6); white-space:nowrap; }

/* Expanded Center Logo pill with rounded corner button background to fit logo text */
.eco-logo-pill-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 14px;
    width: 140px; /* Expanded to fit white logo with text */
    height: 48px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
    margin: 0 10px 24px;
    flex-shrink: 0;
}
.eco-logo-pill-compact img { height: 24px; width: auto; }

.eco-connector { display:flex; align-items:center; gap:4px; margin:0 6px; margin-bottom:24px; flex-shrink:0; }
.eco-dot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.3); }
.eco-line { width:24px; height:1px; background:rgba(255,255,255,0.2); }

/* ==========================================
   OUR VALUES SECTION (Mimics "How it works")
   ========================================== */
.values-section {
    background: #ffffff;
    padding: 80px 0 100px;
    overflow: hidden;
}
.values-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}
.values-section .section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.values-section .section-header h2 .gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.values-section .section-header .section-desc {
    font-size: 1rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.values-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding-top: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.values-timeline::before {
    content: "";
    position: absolute;
    top: 68px; /* aligns perfectly to connect the center of 88px icon circles */
    left: 12.5%;
    width: 75%;
    height: 1.5px;
    background: #e2e8f0;
    z-index: 1;
}

.value-card-v2 {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Filled icon boxes in default state */
.value-icon-box-large {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
}

/* Specific filled gradient background colors for steps */
.value-card-v2 .icon-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff !important;
}
.value-card-v2 .icon-cyan {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: #ffffff !important;
}
.value-card-v2 .icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #ffffff !important;
}
.value-card-v2 .icon-green {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #ffffff !important;
}

/* Number badge nested relative to .value-icon-box-large so it raises together! */
.value-number-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 10;
    border: 1.5px solid #e2e8f0;
}
.value-number-badge.border-blue { border-color: #2563eb; color: #2563eb; }
.value-number-badge.border-cyan { border-color: #06b6d4; color: #06b6d4; }
.value-number-badge.border-purple { border-color: #8b5cf6; color: #8b5cf6; }
.value-number-badge.border-green { border-color: #10b981; color: #10b981; }

/* Hover animations */
.value-card-v2:hover .value-icon-box-large {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

/* Value texts */
.value-card-v2 h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.value-card-v2 .title-blue { color: #2563eb; }
.value-card-v2 .title-cyan { color: #06b6d4; }
.value-card-v2 .title-purple { color: #8b5cf6; }
.value-card-v2 .title-green { color: #10b981; }

.value-card-v2 p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 240px;
}

/* Tags default styling (neutral light-grey background) */
.value-badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.value-tag-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Respective tag color highlights on card hover */
.value-card-v2[data-value="1"]:hover .value-tag-badge {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}
.value-card-v2[data-value="2"]:hover .value-tag-badge {
    background: rgba(6, 182, 212, 0.08);
    color: #06b6d4;
}
.value-card-v2[data-value="3"]:hover .value-tag-badge {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
}
.value-card-v2[data-value="4"]:hover .value-tag-badge {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

/* Slight deeper color when individual tags are directly hovered */
.value-card-v2[data-value="1"] .value-tag-badge:hover {
    background: rgba(37, 99, 235, 0.15) !important;
}
.value-card-v2[data-value="2"] .value-tag-badge:hover {
    background: rgba(6, 182, 212, 0.15) !important;
}
.value-card-v2[data-value="3"] .value-tag-badge:hover {
    background: rgba(139, 92, 246, 0.15) !important;
}
.value-card-v2[data-value="4"] .value-tag-badge:hover {
    background: rgba(16, 185, 129, 0.15) !important;
}

/* Bottom card styling matches the 2nd mockup image with stroke border and single black color text */
.value-bottom-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 48px auto 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0; /* Subtly colored border */
    border-radius: 14px;
    padding: 16px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.value-bottom-icon {
    width: 42px;
    height: 42px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.value-bottom-icon svg {
    width: 20px;
    height: 20px;
}
.value-bottom-card p {
    font-size: 0.95rem;
    color: #0f172a; /* Single solid black color for all text */
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   CTA BANNER CARD STYLES (COMPACT REDESIGN WITH NO-IMAGE ON MOBILE)
   ========================================================================== */
.about-cta-section {
    background: #ffffff;
    padding: 80px 0 100px;
    position: relative;
}

.container-cta-wrapper {
    max-width: 1232px; /* 1200px card + padding on sides */
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.about-cta-card {
    width: 100%;
    max-width: 1200px;
    min-height: 520px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    overflow: visible; /* Let the large building graphic bleed outside! */
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
    align-items: center;
    padding: 48px 60px;
}

/* Background clipping wrapper */
.cta-card-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #021628 0%, #0c1222 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

/* Grid Dots pattern */
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Glowing background spheres */
.cta-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}
.cta-glow-circle.circle-1 {
    width: 250px;
    height: 250px;
    background: #3b82f6;
    top: -80px;
    left: -80px;
}
.cta-glow-circle.circle-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: -100px;
    right: 50px;
}

.about-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 5;
}

.about-cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-cta-content h2 {
    font-size: 2.6rem; /* reduced from 3.2rem to fit beautifully in 520px height */
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.about-cta-content h2 span {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-cta-desc {
    font-size: 0.95rem; /* slightly more compact */
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 580px;
}

/* Feature columns below description */
.about-cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

.cta-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 10px;
}

.cta-feature-icon svg {
    width: 18px;
    height: 18px;
}

.cta-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.cta-feature-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* CTA actions block */
.about-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    transition: transform 0.25s, box-shadow 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.45);
}

.btn-cta-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Bottom trust bar */
.about-cta-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}

.about-cta-trust svg {
    color: #3b82f6;
}

/* Right Column Image styling with bleed and animation */
.about-cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    z-index: 5;
}

.cta-floater-img {
    width: 138%; /* Increased image size to make it significantly larger! */
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
    animation: smoothFloat 6s ease-in-out infinite;
    position: absolute;
    right: -30px; /* Shifted leftwards from -80px to reduce whitespace on the left side of the graphic */
    top: 50%;
}

@keyframes smoothFloat {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 15px));
    }
    100% {
        transform: translateY(-50%);
    }
}

/* ── RESPONSIVE MOBILE & TABLET GROUPING ── */
@media (max-width: 1199px) {
    .about-cta-card {
        padding: 40px 48px;
        grid-template-columns: 1.2fr 0.8fr;
    }
    .cta-floater-img {
        width: 140%;
        right: -10px;
    }
}

@media (max-width: 991px) {
    .why-cards-grid {
        grid-template-columns: 1fr;
    }
    .why-card-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        height: auto;
    }
    .why-card {
        height: auto;
    }
    .why-card-wide .why-card-visual {
        align-self: center;
    }
    .values-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 1.5rem;
    }
    .values-timeline::before {
        display: none;
    }
    .about-cta-card {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 40px 32px;
        min-height: auto;
        max-width: 100%;
        margin: 0 16px;
        overflow: hidden; 
    }
    .cta-card-bg-wrap {
        border-radius: 20px;
    }
    .about-cta-content {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .about-cta-desc {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .about-cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }
    .cta-feature-item {
        align-items: center;
    }
    .about-cta-actions {
        justify-content: center;
        width: 100%;
    }
    .about-cta-trust {
        justify-content: center;
        width: 100%;
    }
    .about-cta-visual {
        display: none; /* Hide visual column completely on mobile & tablet views! */
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .story-layout-wrapper {
        padding: 0 16px;
    }
    .story-comparison {
        grid-template-columns: 210px 120px 1fr !important;
        gap: 16px !important;
    }
    .old-way-card {
        width: 100% !important;
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 8px;
    }
    .old-way-card-icon {
        width: 30px;
        height: 30px;
    }
    .old-way-card-icon svg {
        width: 15px;
        height: 15px;
    }
    .node-circle {
        width: 105px !important;
        height: 105px !important;
    }
    .node-circle-label {
        font-size: 0.62rem !important;
        letter-spacing: 1px !important;
    }
    .node-status {
        padding: 4px 8px !important;
        gap: 4px !important;
        margin-top: 14px !important;
    }
    .node-status-item {
        font-size: 0.58rem !important;
    }
    .node-status-separator {
        width: 8px !important;
    }
    .proptiqa-way-card {
        padding: 20px !important;
    }
    .proptiqa-way-heading {
        font-size: 1.25rem !important;
        margin-bottom: 12px !important;
    }
    .journey-step-desc {
        font-size: 0.78rem !important;
    }
}

@media (max-width: 768px) {
    .about-hero { padding:100px 20px 60px; }
    .about-hero h1 { font-size:2.2rem; }
    .about-hero-cta { flex-direction:column; align-items:center; }
    
    .story-comparison {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-column-group {
        width: 100%;
        gap: 20px;
    }

    .story-column-group.left-group { order: 1; }
    .story-column-group.center-group { order: 2; margin: 20px 0; }
    .story-column-group.right-group { order: 3; }

    .story-svg-canvas { display:none; }
    .old-way-card::after { display:none; }
    .old-way-card { width: 100%; }

    .why-card-wide .why-card-visual img { max-height:140px; }
    .ecosystem-flow { flex-wrap:wrap; justify-content:center; gap:8px; }
    .eco-connector { display:none; }
    .why-proptiqa-section .section-header h2,.our-story-section .section-header h2 { font-size:2rem; }
    
    .values-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .value-bottom-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .about-cta-content h2 {
        font-size: 2.2rem;
    }
    .about-cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
