/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4189b9;
    --hover-blue: #2d6a8f;
    --light-blue: #5ba3d4;
    --lighter-blue: #7db8d9;
    --dark-blue: #3574a0;
    --dark-gray: #111827;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --text-gray: #6B7280;
    --border-gray: #E5E7EB;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #4189b9 0%, #2d6a8f 100%);
    color: var(--white);
    padding: 0.875rem 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

body {
    padding-top: 42px; /* Banner height */
    transition: padding-top 0.3s ease;
}

body.banner-hidden {
    padding-top: 0;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    padding-right: 3rem;
}

.banner-text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.banner-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s;
    text-underline-offset: 2px;
}

.banner-link:hover {
    opacity: 0.9;
}

.banner-close {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: opacity 0.3s, transform 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.banner-close:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.banner-close:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .banner-close {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .banner-content {
        justify-content: center;
        padding-right: 3rem;
    }
    
    .banner-text {
        flex: 1;
        text-align: center;
    }
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: top 0.3s ease;
}

body.banner-hidden .navbar {
    top: 0;
}

.page-section:first-of-type {
    margin-top: 73px; /* Navbar height + banner */
}

body.banner-hidden .page-section:first-of-type {
    margin-top: 73px; /* Navbar height only */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 0;
}

.logo-img {
    height: 40px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
}

.btn-dashboard {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-dashboard::after,
.btn-dashboard.active::after {
    display: none !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 0.9375rem;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
}

.btn-dashboard {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    transition: background-color 0.3s;
    margin-left: 0.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.btn-dashboard::after,
.btn-dashboard.active::after {
    display: none !important;
}

.btn-dashboard:hover {
    background-color: var(--hover-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Center button text vertically */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-blue);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Page Sections */
.page-section {
    min-height: 100vh;
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 400;
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e8f2f8 0%, var(--white) 50%, #f0f6fa 100%);
    padding: 6rem 0 5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.15;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.trust-bar span {
    color: var(--text-gray);
    font-size: 0.9rem;
    position: relative;
}

.trust-bar span:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -1.5rem;
}

/* Carousel Styles */
/* Carousel base layout for JS slider */
.carousel-container { position: relative; margin: 3rem 0; padding: 0; }
.carousel-wrapper { overflow: hidden; border-radius: 16px; }
.carousel-track { display: flex; gap: 2rem; will-change: transform; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.carousel-track > * { flex: 0 0 auto; }

/* Arrows */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border-gray); border-radius: 50%; width: 48px; height: 48px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: var(--dark-gray); }
.carousel-btn:hover { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); box-shadow: 0 4px 12px rgba(65,137,185,0.3); }
.carousel-prev { left: -16px; }
.carousel-next { right: -16px; }

/* Dots */
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-gray); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.carousel-dot.active { background: var(--primary-blue); width: 24px; border-radius: 4px; }

/* Equal heights */
.carousel-track > * { display: flex; }
.service-card, .step-item, .feature-item, .pricing-card { height: 100%; }

/* Removed conflicting flex-basis overrides to let width-based sizing work */

/* Services Overview */
.services-overview {
    margin: 6rem 0;
    padding: 4rem 0;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(65, 137, 185, 0.15);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: auto;
}

/* How It Works Preview */
.how-it-works-preview {
    margin: 6rem 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8f2f8 0%, var(--light-gray) 100%);
    border-radius: 24px;
}

/* Improve How It Works preview: full-bleed */
.how-it-works-preview {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
}
.how-it-works-preview .carousel-container {
    padding: 0 4rem;
}

.step-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-item:hover {
    box-shadow: 0 8px 24px rgba(65, 137, 185, 0.12);
    transform: translateY(-4px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-item p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Why Choose */
.why-choose {
    margin: 6rem 0;
    padding: 4rem 0;
}

/* Add padding around arrows for other carousels */
.why-choose .carousel-container {
    padding: 0 4rem;
}

.feature-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(65, 137, 185, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Specialized Teaser */
.specialized-teaser {
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
}

.specialized-teaser .section-title {
    color: var(--white);
}

.specialized-teaser .teaser-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: left;
}
.specialized-teaser .teaser-col {
    flex: 1;
}

.teaser-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.specialized-teaser .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.specialized-teaser .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Final CTA */
.final-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.final-cta h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.service-detail-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h2 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-badge {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-detail-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-features li {
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    align-items: center;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-number-large {
    width: 100px;
    height: 100px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.step-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.step-content p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Pricing */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(65, 137, 185, 0.18);
    border-color: var(--primary-blue);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #e8f2f8 0%, var(--white) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-gray);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.pricing-addons {
    margin-top: 4rem;
    text-align: center;
}

.pricing-addons h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.addon-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.addon-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.addon-item p {
    color: var(--primary-blue);
    font-weight: 600;
}

.pricing-info {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.pricing-info h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.info-item p {
    color: var(--text-gray);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Make contact section equal height */
.contact-grid {
    align-items: stretch;
}
.contact-form-container,
.contact-options {
    display: flex;
    flex-direction: column;
}
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
}
.contact-method {
    height: 100%;
}

.contact-form-container h2,
.contact-options h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(65, 137, 185, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-method h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.contact-method p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Dashboard */
.dashboard-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.upload-section h2,
.portal-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.file-upload-area {
    border: 2px dashed var(--border-gray);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: border-color 0.3s;
}

.file-upload-area:hover {
    border-color: var(--primary-blue);
}

.file-upload-area input[type="file"] {
    display: none;
}

.file-upload-area p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.file-hint {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.portal-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.portal-info p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.portal-features {
    margin-top: 2rem;
}

.portal-features h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.portal-features ul {
    list-style: none;
}

.portal-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.portal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 38px;
    }

    .top-banner {
        padding: 0.625rem 0;
    }

    body.banner-hidden .navbar {
        top: 0;
    }

    .page-section:first-of-type {
        margin-top: 69px;
    }

    body.banner-hidden .page-section:first-of-type {
        margin-top: 69px;
    }

    .banner-content {
        flex-direction: row;
        gap: 0.75rem;
        padding-right: 3rem;
    }

    .banner-text {
        font-size: 0.8125rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 69px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .carousel-container {
        padding: 0 2.5rem;
    }

    .carousel-track > * {
        flex: 0 0 calc(100% - 0rem);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .trust-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-bar span::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .specialized-teaser .teaser-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .specialized-teaser .teaser-col {
        flex: none;
    }

    .specialized-teaser .teaser-text {
        margin-bottom: 1rem;
    }

    .specialized-teaser .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number-large {
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }


    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* How It Works main section tweaks */
#how-it-works .process-step {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 1.5rem;
}
#how-it-works .step-number-large {
  width: 72px;
  height: 72px;
  font-size: 1.75rem;
}
#how-it-works .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}
#how-it-works .btn.btn-primary {
  background: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

/* Equal heights in carousels */
.carousel-track {
    align-items: stretch;
}
.carousel-track > * {
    display: flex;
    height: 100%;
}
.service-card,
.feature-item,
.pricing-card,
.step-item {
    flex: 1;
}

/* Safer gap between topbar and navbar */
.top-banner {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.navbar {
    top: 50px;
}
body { padding-top: 50px; }
.page-section:first-of-type { margin-top: 81px; }
@media (max-width: 768px) {
  .navbar { top: 44px; }
  body { padding-top: 44px; }
  .page-section:first-of-type { margin-top: 75px; }
}
body.banner-hidden .navbar { top: 0; }
body.banner-hidden { padding-top: 0; }

/* Contact section redesign */
#contact.page-section {
    background: var(--light-gray);
}
.contact-grid {
    align-items: stretch;
    gap: 2rem;
}
.contact-form-container,
.contact-options {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
@media (max-width: 768px) {
  .contact-methods { grid-template-columns: 1fr; }
}
.contact-method {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}

/* Allow 'Most Popular' badge to protrude without clipping */
#pricing .carousel-wrapper {
    padding-top: 24px;
}

.popular-badge {
    z-index: 2;
    pointer-events: none;
}

.pricing-card {
    position: relative;
    overflow: visible;
}

/* Pricing Calculator */
.pricing-calculator { margin-top: 3rem; background: var(--light-gray); border-radius: 12px; padding: 2rem; }
.pricing-calculator h2 { text-align: center; margin-bottom: 1.5rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.calc-inputs .form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.calc-inputs label { font-weight: 500; margin-bottom: 0.5rem; }
.calc-inputs input { padding: 0.75rem; border: 1px solid var(--border-gray); border-radius: 6px; font-family: 'Inter', sans-serif; }
.calc-results { background: var(--white); border: 1px solid var(--border-gray); border-radius: 8px; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.result-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed var(--border-gray); }
.result-row:last-child { border-bottom: none; }
@media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } }

/* Grid utilities to replace carousels */
.cards-grid { display: grid; gap: 2rem; }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1023px){ 
    .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } 
    .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .specialized-teaser .teaser-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .specialized-teaser .teaser-col {
        flex: none;
    }
}
@media (max-width: 767px){ 
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

/* Calculator actions */
.calc-actions { margin-top: 1rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.total-row { display:flex; justify-content: space-between; align-items: center; font-weight:700; font-size:1.1rem; padding-top:0.75rem; }

