/*
 * WealthBridge - Main Stylesheet
 * 
 * Color Scheme:
 * Navy: #0a2463
 * Gold: #fbaa18
 * Grey/White: #efebe7
 */

/* =================== FONTS =================== */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&display=swap');

/* =================== GLOBAL STYLES =================== */
:root {
    --navy: #0a2463;
    --gold: #fbaa18;
    --light-grey: #efebe7;
    --navy-light: rgba(10, 36, 99, 0.1);
    --navy-lighter: rgba(10, 36, 99, 0.05);
    --gold-light: rgba(251, 170, 24, 0.1);
    --gold-lighter: rgba(251, 170, 24, 0.05);
    --grey-dark: #b0aba5;
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --success: #59a96a;
    --warning: #fbaa18;
    --danger: #e05d5d;
    --info: #3e92cc;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy);
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* =================== UTILITY CLASSES =================== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--navy);
    border-color: var(--navy);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #061b4e;
    border-color: #061b4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(10, 36, 99, 0.2);
}

.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
}

.btn-gold:hover, .btn-gold:focus {
    background-color: #e09a15;
    border-color: #e09a15;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(251, 170, 24, 0.3);
}

.btn-outline-primary {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.industry-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--navy-light);
    color: var(--navy);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.industry-badge.small {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

/* =================== LAYOUT COMPONENTS =================== */

/* Navbar */
.navbar {
    background-color: var(--navy);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 900;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold);
}

.navbar-dark .navbar-nav .btn-gold {
    color: white;
    background-color: var(--gold);
    border-color: var(--gold);
    border-radius: 6px;
}

.navbar-dark .navbar-nav .btn-gold:hover {
    background-color: #e09a15;
    border-color: #e09a15;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--light-grey);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer ul {
    padding-left: 0;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--gold);
    text-decoration: none;
}

.footer .tagline {
    color: var(--gold);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer .social-icons a {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Message container */
.message-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
}

.alert {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =================== CARDS & CONTENT BLOCKS =================== */

/* Content Card */
.content-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

/* Project Cards */
.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    color: var(--navy);
}

.project-pitch {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-body {
    padding: 1.25rem;
    flex-grow: 1;
}

.project-footer {
    padding: 1.25rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Funding Progress */
.funding-progress {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--navy-lighter);
    margin-bottom: 0.5rem;
}

.progress-bar {
    background-color: var(--navy);
    border-radius: 4px;
}

.funding-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.project-details .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.detail-label {
    color: var(--text-light);
}

.detail-value {
    font-weight: 500;
    color: var(--text-dark);
}

/* Dashboard Cards */
.dashboard-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.dashboard-card-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--navy);
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.dashboard-card-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Process Cards */
.process-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.process-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.5rem;
}

.startup-card {
    border-top: 5px solid var(--navy);
}

.investor-card {
    border-top: 5px solid var(--gold);
}

.process-step {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.step-number {
    background-color: var(--navy-light);
    color: var(--navy);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.investor-card .step-number {
    background-color: var(--gold-light);
    color: var(--gold);
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* AI Feature Cards */
.ai-feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ai-feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ai-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.ai-feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Quick Action Cards */
.quick-action-card {
    display: block;
    background-color: var(--navy-lighter);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    background-color: var(--navy-light);
    transform: translateY(-3px);
    text-decoration: none;
}

.action-icon {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.action-title {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.action-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Auth Cards */
.auth-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 3rem 0;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Form Cards */
.form-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Filter Card */
.filter-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

/* Image Cards */
.image-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.image-caption {
    padding: 0.75rem;
    background-color: var(--navy-lighter);
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.small-empty-state {
    padding: 2rem 1rem;
}

.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--navy-light);
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.small-empty-state .empty-state-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.small-empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.small-empty-state p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* AI Insights */
.ai-insights {
    background-color: var(--navy-lighter);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.insights-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.insights-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.insight-card {
    background-color: var(--white);
    border-radius: 6px;
    padding: 1.25rem;
    height: 100%;
}

.insight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.insight-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.insight-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.insight-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.insight-list li:last-child {
    margin-bottom: 0;
}

/* Project Summary Card */
.project-summary-card, .funding-status-card {
    background-color: var(--navy-lighter);
    border-radius: 6px;
    padding: 1.25rem;
    height: 100%;
}

.project-summary-card h4, .funding-status-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.summary-value {
    font-weight: 500;
}

.funding-status-card {
    background-color: var(--gold-lighter);
}

.funding-percentage-display {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

/* Investment Items */
.investment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.investment-item:last-child {
    border-bottom: none;
}

.investor-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.investment-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.investment-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
}

/* Company Info */
.company-info .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.info-label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.info-description p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Similar Projects */
.similar-project-card {
    padding: 1rem;
    border-radius: 6px;
    background-color: var(--navy-lighter);
    margin-bottom: 1rem;
}

.similar-project-card:last-child {
    margin-bottom: 0;
}

.similar-project-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Portfolio Table */
.investment-table th {
    font-weight: 600;
    color: var(--navy);
}

.portfolio-progress {
    height: 6px;
    width: 100%;
    margin-bottom: 0.25rem;
}

/* Funding Details */
.funding-progress-card {
    position: relative;
    padding-bottom: 1.5rem;
}

.funding-percentage {
    position: absolute;
    right: 0;
    bottom: 0;
    font-weight: 700;
    color: var(--navy);
}

.funding-numbers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.funding-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.funding-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.funding-raised .funding-value {
    color: var(--success);
}

/* Pitch Box */
.pitch-box {
    background-color: var(--navy-lighter);
    border-radius: 6px;
    padding: 1.5rem;
    border-left: 4px solid var(--navy);
}

.pitch-box .lead {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 0;
}

/* AI Search */
.ai-search-form {
    margin-bottom: 2rem;
}

.ai-icon {
    font-size: 2rem;
    color: var(--gold);
}

.ai-search-intro {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1.5rem;
}

/* =================== PAGE SPECIFIC STYLES =================== */

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--navy-lighter) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.anim-path {
    animation: floatPath 8s ease-in-out infinite;
}

@keyframes floatPath {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Featured Projects Section */
.featured-projects {
    padding: 5rem 0;
    background-color: var(--white);
}

/* AI Features Section */
.ai-features {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.ai-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-image svg {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(251,170,24,0.1) 0%, rgba(10,36,99,0) 100%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Auth Sections */
.auth-section {
    background-color: #f8f9fa;
    min-height: calc(100vh - 76px - 370px);
    display: flex;
    align-items: center;
}

/* Form Sections */
.form-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* Dashboard Header */
.dashboard-header {
    padding: 3rem 0;
    background-color: var(--navy);
    color: var(--white);
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.dashboard-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem 0 4rem;
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background-color: var(--navy);
    color: var(--white);
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Project Detail Header */
.project-detail-header {
    padding: 3rem 0;
    background-color: var(--navy);
    color: var(--white);
    margin-bottom: 2rem;
}

.project-detail-header .project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0.75rem 0;
}

.project-detail-header .industry-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.project-detail-header .project-creator {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.project-detail-header .project-stats {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.project-detail-header .stat-item {
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Project Details */
.project-details {
    padding-bottom: 4rem;
}

/* Funding Details Section */
.funding-details {
    padding: 1rem 0;
}

/* Browse Section */
.browse-section {
    padding-bottom: 4rem;
}

/* AI Search Section */
.ai-search-section {
    padding-bottom: 4rem;
}

/* =================== ANIMATIONS =================== */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease forwards;
}

.reveal-text-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease 0.3s forwards;
}

.reveal-text-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease 0.6s forwards;
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== RESPONSIVE ADJUSTMENTS =================== */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .project-detail-header .project-title {
        font-size: 2rem;
    }
    
    .project-detail-header .project-actions {
        margin-top: 1.5rem;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .hero {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-card {
        margin-bottom: 2rem;
    }
    
    .dashboard-card {
        margin-bottom: 1.5rem;
    }
    
    .auth-card, .form-card {
        padding: 1.5rem;
    }
    
    .auth-title, .form-title {
        font-size: 1.5rem;
    }
    
    .dashboard-title, .page-title, .project-detail-header .project-title {
        font-size: 1.75rem;
    }
    
    .dashboard-subtitle, .page-subtitle {
        font-size: 1rem;
    }
    
    .project-detail-header .project-stats {
        display: block;
    }
    
    .project-detail-header .stat-item {
        margin-right: 0;
        margin-bottom: 0.5rem;
        display: block;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .navbar-brand .logo-text {
        font-size: 1.25rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
}
