:root {
    --primary-blue: #0A1E8F;
    --button-blue: #0A1E8F;
    --button-hover: #081454;
    --accent-light-blue: #4285F4;
    --accent-green: #34A853;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-blue: #0A1E8F;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #FFFFFF;
    --border-color: #E0E6ED;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --container-width: 1200px;
    --font-main: 'Poppins', sans-serif;
}

/* Font Face Declarations - pointing to parent directory fonts */
@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format("woff2");
}
@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/pxiEyp8kv8JHgFVrJJfecg.woff2) format("woff2");
}
@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format("woff2");
}
@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format("woff2");
}
@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format("woff2");
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Custom Grids for Index Sections */
.portal-showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.flex {
    display: flex;
}

.section-padding {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--button-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-brand img {
    height: 40px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trusted By & Marquee */
.scrolling-marquee-banner.trusted-by {
    padding: 30px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 10px 0;
}

.marquee-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee-scroll 40s linear infinite;
    padding-right: 4rem;
}

.marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logo-item {
    height: 80px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light-blue);
}

.client-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.logo-item:hover .client-logo {
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .scrolling-marquee-banner.trusted-by {
        padding: 20px 0;
    }
    
    .marquee-group {
        gap: 2rem;
        padding-right: 2rem;
        animation-duration: 25s;
    }
    
    .logo-item {
        height: 60px;
        width: 140px;
        padding: 10px;
    }
}

/* Features Grid */
.features {
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #e8f0fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-light);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

.step-icon {
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    max-height: 100%;
}

/* Pricing */
.pricing {
    background-color: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.pricing-card.popular {
    border-color: var(--primary-blue);
    border-width: 2px;
}

.popular-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 1rem;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.plan-features {
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.plan-features li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 10px;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-blue);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* FAQ */
.faq {
    background-color: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-gray);
    display: none; /* JS to toggle */
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-toggle {
    color: var(--primary-blue);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Value Prop Items */
.value-prop-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-prop-item {
    display: flex;
    gap: 1.25rem;
}

.value-prop-item h4 {
    margin-bottom: 0.25rem;
}

.value-prop-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.value-prop-bar {
    width: 5px;
    background-color: var(--primary-blue);
    border-radius: 10px;
    flex-shrink: 0;
    /* Default flex behavior is stretch, so this will stretch to text height */
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 992px) {
    /* Reduce global scaling */
    html {
        font-size: 15px; /* Slight reduction from default 16px */
    }

    .section-padding {
        padding: 50px 0;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 2.5rem; /* Match bottom margin */
    }
    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }
    .hero-image {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
    .hero-image img {
        max-width: 400px; /* Limit image size on mobile */
        width: 100%;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step-item {
        max-width: 500px;
        margin-bottom: 2rem;
    }
    
    /* Responsive Grids */
    .portal-showcase-grid,
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    /* Content text centering for mobile */
    .portal-showcase-grid .content-side,
    .value-prop-grid > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .portal-showcase-grid p,
    .value-prop-grid p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .portal-showcase-grid .content-side {
        order: 2; 
    }
    
    .portal-showcase-grid .image-side {
        order: 1;
    }

    .value-prop-grid > div:first-child {
        order: 1; /* Image */
        margin-bottom: 1rem;
    }
    
    .value-prop-grid > div:last-child {
        order: 2; /* Content */
    }

    /* Keep lists left-aligned but centered as a block */
    .feature-list {
        text-align: left;
        display: inline-block;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 2rem;
    }
    
    /* Value prop items wrapper */
    .value-prop-grid .flex-column { /* We'll need to add this class or target the div */
        align-items: center;
    }

    .value-prop-item {
        text-align: left;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 1.5rem;
        background: rgba(240, 244, 255, 0.5); /* Subtle background to pop */
        padding: 0; 
    }
}

@media (max-width: 900px) {
    .navbar {
        position: relative;
    }
    
    .nav-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        margin-left: 0;
        align-items: stretch;
        height: auto;
        z-index: 999;
    }

    .nav-content.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: 1.5rem;
        align-items: stretch;
    }

    .nav-link {
        padding: 12px 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contact Form Styles */
.contact-us {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 0;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(10, 30, 143, 0.1);
}

.form-status {
    margin-bottom: 20px;
    font-weight: 500;
    min-height: 24px;
}

.form-status.success {
    color: var(--accent-green);
}

.form-status.error {
    color: #e74c3c;
}

/* Schedule Demo Section */
.schedule-demo {
    background-color: var(--bg-white);
    text-align: center;
}

.schedule-demo-content {
    max-width: 700px;
    margin: 0 auto;
}

.schedule-demo h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.schedule-demo p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Top Banner */
.top-banner {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1001; /* Above navbar if overlapping, but static flow pushes navbar down */
}

.top-banner p {
    margin-bottom: 0;
}

.top-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

.top-banner a:hover {
    text-decoration: none;
    opacity: 0.9;
}
