/* PREMIUM MODERN NAVY & LIGHT BLUE THEME & INTEGRATIONS PARALLAX SYSTEM - LAKEVIEW */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Montserrat:wght@400;600;700;800;900&display=swap');


:root {
    --color-bg-main: #ffffff;         /* Pure white background */
    --color-bg-alt: rgba(224, 242, 254, 0.35); /* Translucent light blue-gray alt */
    --color-bg-card: #ffffff;         /* Card background */
    --color-text-main: #0b2545;       /* Deep Navy Blue main text */
    --color-text-muted: #4a5d78;      /* Muted Navy Blue description text */
    
    --color-accent: #0284c7;          /* Vibrant Light Blue accent */
    --color-accent-hover: #0369a1;    /* Darker Light Blue */
    --color-accent-light: #e0f2fe;    /* Very soft light blue background */
    --color-border: rgba(11, 37, 69, 0.08); /* Soft borders */
    
    --color-dark-bg: #0a192f;         /* Deep Navy Blue footer background */
    --color-dark-border: rgba(255, 255, 255, 0.1);
    --color-dark-text: #8da9c4;       /* Muted light blue for footer */
    
    --font-heading: 'EB Garamond', serif;
    --font-body: 'EB Garamond', serif;
    --font-serif: 'EB Garamond', serif; /* All Garamond */
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --box-shadow-premium: 0 20px 40px rgba(11, 37, 69, 0.03);
    --box-shadow-card: 0 10px 30px rgba(11, 37, 69, 0.02);
}

/* Flowing Fluid Watercolor Background styles */
.fluid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Behind all content */
    pointer-events: none;
    overflow: hidden;
    background-color: #ffffff; /* Keeps base background color white */
}

.blob-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.fluid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.28; /* Translucent watercolor feel */
    will-change: transform, border-radius;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.45) 0%, rgba(141, 169, 196, 0.15) 60%, transparent 100%);
    animation: morphBlob1 22s infinite ease-in-out alternate;
}

.blob-2 {
    bottom: -15%;
    left: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(11, 37, 69, 0.35) 0%, rgba(2, 132, 199, 0.12) 60%, transparent 100%);
    animation: morphBlob2 28s infinite ease-in-out alternate;
}

.blob-3 {
    top: 35%;
    left: 55%;
    width: 48vw;
    height: 48vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(224, 242, 254, 0.1) 60%, transparent 100%);
    animation: morphBlob3 25s infinite ease-in-out alternate;
}

@keyframes morphBlob1 {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
        transform: translate(-6vw, 4vh) scale(1.08) rotate(35deg);
    }
    66% {
        border-radius: 50% 50% 38% 62% / 40% 60% 40% 60%;
        transform: translate(3vw, -4vh) scale(0.92) rotate(-25deg);
    }
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes morphBlob2 {
    0% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        border-radius: 38% 62% 60% 40% / 43% 37% 63% 57%;
        transform: translate(5vw, -6vh) scale(1.06) rotate(75deg);
    }
    100% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes morphBlob3 {
    0% {
        border-radius: 60% 40% 50% 50% / 50% 40% 60% 50%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        border-radius: 40% 60% 30% 70% / 60% 50% 50% 40%;
        transform: translate(-7vw, 5vh) scale(1.08) rotate(-45deg);
    }
    100% {
        border-radius: 60% 40% 50% 50% / 50% 40% 60% 50%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

/* Reset and Core Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px; /* Increase Garamond base size slightly for better readability */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-alt);
    border-radius: 5px;
    border: 3px solid var(--color-bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    background: transparent;
}

#main-header.scrolled {
    background: rgba(244, 247, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-premium);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
}

.header-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-main);
}

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

.header-actions {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Rounded button - custom Aword style */
.btn-oval {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1.5px solid var(--color-text-main);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.btn-oval:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-main);
    transform: scale(1.02);
}

.btn-oval.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-oval.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: white;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Parallax Hero Section - Wardiere Layout Replication */
.parallax-hero {
    height: 100vh;
    position: relative;
    background-color: var(--color-bg-main);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Layered corner geometry - parallel diagonal stripes matching Wardiere style */
.hero-shape-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 22vw;
    height: 26vh;
    background: linear-gradient(135deg, var(--color-text-main) 0%, rgba(11, 37, 69, 0.85) 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.95;
    z-index: 2;
}

.hero-shape-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 30vw;
    height: 35vh;
    background: linear-gradient(135deg, var(--color-accent) 0%, rgba(2, 132, 199, 0.3) 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.6;
    z-index: 1;
}

.hero-shape-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 22vw;
    height: 26vh;
    background: linear-gradient(-135deg, var(--color-text-main) 0%, rgba(11, 37, 69, 0.85) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.95;
    z-index: 2;
}

.hero-shape-right-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 30vw;
    height: 35vh;
    background: linear-gradient(-135deg, var(--color-accent) 0%, rgba(2, 132, 199, 0.3) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.6;
    z-index: 1;
}



/* Center Bottom Search Capsule */
.hero-search-capsule {
    position: absolute;
    bottom: 38px; /* sits right on the top edge of the bottom bar */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--color-text-main);
    border-radius: 50px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
    min-width: 180px;
    justify-content: center;
    transition: var(--transition-smooth);
}

.hero-search-capsule:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateX(-50%) scale(1.03);
}

.hero-search-capsule:hover .close-icon {
    color: white;
}

.hero-search-capsule .search-icon {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-search-capsule .close-icon {
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.hero-search-capsule .close-icon:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Bottom Navy Blue Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--color-text-main);
    z-index: 2;
}

/* Tech cityscape haze silhouette at bottom */
.hero-cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    overflow: hidden; /* Hide overflow for the scrolling wrapper */
}

.hero-cityscape::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--color-bg-main) 0%, transparent 100%);
    z-index: 3; /* Ensure overlay sits on top of scrolling SVGs */
}

/* Scrolling animation wrapper for live horizontal building movement */
.cityscape-scroll-wrapper {
    display: flex;
    width: 200%; /* Holds two SVGs side by side */
    height: 100%;
    animation: cityscapeScroll 85s linear infinite; /* Smooth slow horizontal loop */
    will-change: transform;
}

.cityscape-svg-container {
    width: 50%; /* Each takes 100% of viewport width */
    height: 100%;
}

.cityscape-svg-container svg {
    width: 100%;
    height: 100%;
}

@keyframes cityscapeScroll {
    0% {
        transform: translate3d(-50%, 0, 0); /* Start shifted left (moving left to right) */
    }
    100% {
        transform: translate3d(0%, 0, 0); /* End shifted right (moves towards positive X) */
    }
}

/* Centered content block styles */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
    margin: -250px auto 0 auto;
    padding-top: var(--header-height);
}

.hero-center-logo {
    width: 560px; /* Largest element at start of page */
    max-width: 85%; /* Responsive sizing */
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(11, 37, 69, 0.06));
    animation: fadeInLogo 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: scale(0.96) translate3d(0, 15px, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate3d(0, 0, 0);
    }
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 28px;
    max-width: none;
    white-space: nowrap;
    line-height: 1.55;
    opacity: 0;
    animation: fadeInTagline 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    will-change: transform, opacity;
}

@keyframes fadeInTagline {
    0% {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}







/* Section Structure */
.content-section {
    padding: 130px 0;
    position: relative;
    z-index: 20;
    background-color: transparent;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title span.serif-highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--color-accent);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Grid Layouts */
.grid-2col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions Tabs Section Styling */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background-color: var(--color-bg-alt);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-muted);
    border: 1.5px solid transparent;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-text-main);
    background-color: rgba(11, 37, 69, 0.05);
}

.tab-btn.active {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.18);
}

/* Tab Panels */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

.tab-desc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
}

.tab-desc-col h3 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.tab-desc-col p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Interactive Dashboard Mockups constructed in CSS/HTML */
.mockup-window {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-premium);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/10.5;
    display: flex;
    flex-direction: column;
}

.mockup-title-bar {
    background-color: var(--color-bg-alt);
    padding: 12px 18px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-url {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(11, 37, 69, 0.05);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding: 4px 30px;
    min-width: 240px;
    text-align: center;
}

.mockup-body {
    flex-grow: 1;
    background-color: var(--color-bg-card);
    padding: 20px;
    overflow: hidden;
    font-size: 0.85rem;
}

/* Mockup Content Styling (Dashboard layouts) */
.db-dashboard {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
}

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(11, 37, 69, 0.05);
    padding-bottom: 8px;
}

.db-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.db-badge-green {
    background: #e6f7ed;
    color: #27c93f;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
}

.db-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.db-stat-card {
    background: var(--color-bg-alt);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.db-stat-lbl {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.db-stat-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-top: 4px;
}

.db-main-area {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
    min-height: 0;
}

.db-chart-panel {
    background: var(--color-bg-alt);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.db-list-panel {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.db-list-title {
    font-weight: 700;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(11, 37, 69, 0.05);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.db-list-item {
    padding: 6px;
    border-radius: 4px;
    background: var(--color-bg-alt);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-list-item-title {
    font-weight: 600;
    font-size: 0.75rem;
}

.db-list-item-subtitle {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.db-list-item-status {
    font-size: 0.7rem;
    font-weight: 700;
}

.status-active { color: #27c93f; }
.status-filtered { color: var(--color-accent); }

/* SVG Graph Representation */
.svg-chart {
    width: 100%;
    height: 100px;
}

/* UI Premium Mockup Grid */
.bakery-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.bakery-preview-card {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 10px;
    background: white;
}

.bakery-hero-preview {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=600&auto=format&fit=crop') center/cover;
    height: 70px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

/* Animated Testimonials Grid Styling */
.testimonials-animated-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-animated-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--border-radius-md);
    padding: 35px 40px;
    box-shadow: 0 15px 35px rgba(11, 37, 69, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                background-color 0.4s ease;
}

.testimonial-animated-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.1);
}

.card-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.card-stars i {
    color: #eab308;
    font-size: 0.85rem;
    animation: pulseStarTestimonial 2.5s infinite ease-in-out;
}

.card-stars i:nth-child(2) { animation-delay: 0.15s; }
.card-stars i:nth-child(3) { animation-delay: 0.3s; }
.card-stars i:nth-child(4) { animation-delay: 0.45s; }
.card-stars i:nth-child(5) { animation-delay: 0.6s; }

@keyframes pulseStarTestimonial {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
}

.testimonial-animated-card .quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--color-accent);
    line-height: 0.1;
    opacity: 0.12;
    position: absolute;
    top: 30px;
    right: 30px;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.testimonial-animated-card:hover .quote-mark {
    transform: rotate(-10deg) scale(1.1);
    opacity: 0.22;
}

.testimonial-animated-card .quote-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-main);
    margin: 0;
    text-align: left;
}

/* Dark Footer Styling (Slide 5 style) */
#main-footer {
    background-color: var(--color-dark-bg);
    color: var(--color-dark-text);
    padding: 100px 0 50px 0;
    border-top: 1px solid var(--color-dark-border);
    position: relative;
    z-index: 20;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 38px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 35px;
    max-width: 380px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-oval-btn {
    border-color: rgba(2, 132, 199, 0.4);
    color: var(--color-accent);
}

.footer-oval-btn:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--color-dark-text);
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--color-dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Customer Conversion Journey Funnel Styling */
.funnel-container {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.funnel-header {
    font-family: var(--font-heading), serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-align: center;
}

.funnel-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.funnel-card {
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--color-border);
    padding: 14px 18px;
    width: 100%;
    transition: var(--transition-smooth);
    box-sizing: border-box;
    background-color: var(--color-bg-alt);
    color: var(--color-text-main);
}

.funnel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-card);
    border-color: var(--color-accent);
    background-color: rgba(224, 242, 254, 0.5);
}

.funnel-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading), serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--color-text-main);
}

.funnel-card:hover .funnel-card-title {
    color: var(--color-accent);
}

.funnel-card-desc {
    font-family: var(--font-body), serif;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Funnel Step Colors */
.step-blue {
    background-color: rgba(224, 242, 254, 0.2);
}

.step-green {
    background-color: rgba(224, 242, 254, 0.2);
    text-align: center;
    width: 100%;
}
.step-green h5 {
    font-family: var(--font-heading), serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-main);
    margin-top: 6px;
    margin-bottom: 2px;
}
.step-green:hover h5 {
    color: var(--color-accent);
}
.step-green p {
    font-family: var(--font-body), serif;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.step-purple {
    background-color: rgba(224, 242, 254, 0.2);
}

.step-gold {
    background-color: rgba(224, 242, 254, 0.2);
}

.step-target {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.18);
}
.step-target:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}
.step-target .funnel-card-title { color: #ffffff; }
.step-target .funnel-card-desc { color: rgba(255, 255, 255, 0.9); }
.step-target:hover .funnel-card-title { color: #ffffff; }

/* Grid of 3 for Growth Channels */
.funnel-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.funnel-grid-3 .funnel-card {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.funnel-grid-3 .funnel-card i {
    font-size: 1.25rem;
    color: var(--color-accent);
}

/* Connectors */
.funnel-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 4px 0;
}

.connector-line {
    width: 2px;
    height: 16px;
    border-left: 2px dashed var(--color-border);
}

.connector-badge {
    background-color: var(--color-accent-light);
    border: 1px solid rgba(2, 132, 199, 0.12);
    border-radius: 50px;
    padding: 4px 14px;
    font-family: var(--font-heading), serif;
    font-style: italic;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-align: center;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.02);
}

/* Target Lead Pulse Animation */
@keyframes pulseFunnel {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(2, 132, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}
.animate-pulse {
    animation: pulseFunnel 2s infinite;
}

/* Contact Form Styling */
.premium-form {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition-smooth);
}

.premium-form:hover {
    box-shadow: 0 30px 60px rgba(11, 37, 69, 0.05);
    border-color: rgba(2, 132, 199, 0.2);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    color: var(--color-text-main);
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.form-feedback {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-height: 20px;
    transition: var(--transition-smooth);
}

.form-feedback.success {
    color: #27c93f;
}

.form-feedback.error {
    color: var(--color-accent);
}

/* Mobile responsive fixes */
@media (max-width: 968px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    
    .testimonials-animated-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-animated-card {
        padding: 30px;
    }
    
    .testimonial-animated-card .quote-text {
        font-size: 1.1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .main-headline {
        font-size: 2.8rem;
    }
    
    .integrations-web {
        width: 320px;
        height: 320px;
    }
    
    .central-logo {
        width: 70px;
        height: 70px;
    }
    
    .icon-node {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .hero-intro-text {
        top: 15vh;
    }
    
    .tab-panel.active {
        grid-template-columns: 1fr;
    }
    
    .tab-desc-col {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }

    .hero-tagline {
        white-space: normal;
        font-size: 1.15rem;
        max-width: 90%;
        line-height: 1.45;
    }
    
    #navbar {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-main);
        z-index: 999;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--color-border);
        padding: 40px 0;
    }
    
    #navbar.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    /* Contact Form Responsive overrides */
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .premium-form {
        padding: 30px 20px;
    }

    /* Funnel Grid Responsive overrides */
    .funnel-grid-3 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
