/* ===================================
   CIA Invest - Modern Minimalist Design
   =================================== */

/* === Root Variables === */
:root {
    --primary-color: #198754;
    --primary-dark: #146c43;
    --primary-light: #1fa968;
    --secondary-color: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    --gradient-text: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Smooth Scroll & Global Scale === */
html {
    scroll-behavior: smooth;
    font-size: 92%;
    /* Scale down the whole site slightly for better professional look */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-color);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* === Smooth Scroll === */
html {
    scroll-behavior: smooth;
}

/* === Navigation === */
.navbar {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    transition: var(--transition);
}

.navbar-brand:hover {
    opacity: 0.85;
}

.brand-logo {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .brand-logo {
        height: 60px;
    }
}

/* Styles de secours pour logo textuel */
.brand-text {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1.5rem;
}

.navbar-nav {
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-item:active {
    background-color: var(--primary-color);
    color: white;
}

/* === Language Selector === */
.language-selector .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.language-selector .nav-link:hover {
    background: rgba(25, 135, 84, 0.1);
}

.language-selector .nav-link i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.language-text {
    font-weight: 600;
    color: var(--text-dark);
}

.language-menu {
    min-width: 180px;
}

.language-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    transition: var(--transition);
}

.language-menu .dropdown-item:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.language-menu .dropdown-item.active {
    background: rgba(25, 135, 84, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

.flag-icon {
    font-size: 1.5rem;
    line-height: 1;
}

/* === Language Change Notification === */
.language-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.language-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.language-notification i {
    font-size: 1.25rem;
}

.nav-cta {
    margin-left: 1rem;
    padding: 0.625rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

/* === Buttons === */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(25, 135, 84, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white;
}

.btn-outline-dark {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-dark:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    overflow: hidden;
    min-height: 640px;
    padding: 140px 0 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* === Page Hero (Internal Pages) === */
.page-hero, .registration-hero {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    padding: 100px 0 40px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero .hero-title, .registration-hero .hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    color: white;
}

.text-gradient {
    color: #ffd700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* === Hero Visual === */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.visual-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
    animation: pulse 3s ease-in-out infinite;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    color: var(--secondary-color);
}

.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* === Section Styles === */
section {
    padding: 3rem 0;
}

.registration-section .section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.12) 0%, rgba(25, 135, 84, 0.06) 100%);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(25, 135, 84, 0.2);
    text-transform: uppercase;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* === Services Section === */
.services-section {
    background: var(--bg-light);
}

.service-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* === Expertise Section === */
.expertise-section {
    background: white;
}

.expertise-visual {
    position: relative;
    height: 400px;
}

.expertise-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    overflow: hidden;
}

.expertise-badge {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.expertise-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-1 {
    top: 25%;
    left: 20%;
}

.badge-2 {
    bottom: 25%;
    right: 20%;
    animation-delay: 1.5s;
}

.expertise-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* === Process Section === */
.process-section {
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.process-section .container {
    position: relative;
    z-index: 1;
}

.process-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.process-section .section-title {
    color: white;
}

.process-section .section-description {
    color: rgba(255, 255, 255, 0.95);
}

.process-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: white;
    background: white;
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.5rem;
}

.process-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.process-description {
    color: var(--text-light);
    margin: 0;
}

/* === Testimonials Section === */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* === CTA Section === */
.cta-section {
    background: white;
}

.cta-wrapper {
    background: var(--gradient-primary);
    padding: 4rem;
    border-radius: 30px;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* === Contact Section === */
.contact-section {
    background: var(--bg-light);
}

.contact-info {
    height: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-content p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

/* === Footer === */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-brand .brand-text {
    color: var(--primary-light);
}

.footer-brand .brand-subtitle {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #d4af37;
    text-decoration: underline;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
}

/* === Page Hero (for internal pages) === */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    overflow: hidden;
    min-height: auto;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .row {
    min-height: auto;
}

.page-hero .min-vh-100 {
    min-height: auto !important;
}

.page-hero .scroll-indicator {
    display: none;
}

/* === Pricing Section === */
.pricing-section {
    background: var(--bg-light);
}

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(25, 135, 84, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.pricing-badge.popular {
    background: var(--gradient-primary);
    color: white;
}

.pricing-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.popular-label {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #FFD700;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.pricing-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.pricing-card.featured .pricing-icon {
    background: var(--gradient-primary);
}

.pricing-card.featured .pricing-icon i {
    color: white;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.cotisation {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cotisation strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* === Page Hero Small (for forms) === */
.page-hero-small {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    overflow: hidden;
}

.page-hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-small .container {
    position: relative;
    z-index: 1;
}

/* === Registration Section === */
.registration-section {
    background: var(--bg-light);
    margin-top: -50px;
}

.plan-summary-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
    position: sticky;
    top: 100px;
}

.plan-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.selected-plan {
    text-align: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.selected-plan .plan-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.selected-plan .plan-icon i {
    font-size: 2.5rem;
    color: white;
}

.selected-plan .flag-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.selected-plan .plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.selected-plan .plan-price {
    margin-bottom: 0.5rem;
}

.selected-plan .plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.selected-plan .plan-price .currency {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.selected-plan .plan-annual {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.selected-plan .plan-annual strong {
    color: var(--primary-color);
}

.plan-benefits {
    padding-top: 1.5rem;
}

.benefits-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.benefits-list li i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* === Registration Section - Modern Design === */
.registration-section {
    background: #f8fafc;
    min-height: auto;
    padding: 60px 0 80px;
    position: relative;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #f8fafc 0%, transparent 100%);
    pointer-events: none;
}

.registration-section .card {
    background: white;
    border: none;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.registration-section .card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.registration-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle i {
    color: var(--primary-color);
}

/* === Profile Type Selector - Modern Card Design === */
.profile-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.profile-card {
    position: relative;
}

.profile-card .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-card-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 1.5rem;
    background: #fafafa;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-card-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 135, 84, 0.05), transparent);
    transition: left 0.6s ease;
}

.profile-card-label:hover::before {
    left: 100%;
}

.profile-card-label:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.15);
}

.profile-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.profile-card-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
    transition: all 0.4s ease;
}

.profile-card-content {
    flex: 1;
    text-align: left;
}

.profile-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    transition: color 0.3s ease;
}

.profile-card-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.profile-card-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card-check i {
    font-size: 1rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checked State */
.profile-card .form-check-input:checked+.profile-card-label {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.08) 0%, rgba(25, 135, 84, 0.03) 100%);
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.2);
}

.profile-card .form-check-input:checked+.profile-card-label .profile-card-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    transform: scale(1.05);
}

.profile-card .form-check-input:checked+.profile-card-label .profile-card-icon i {
    color: white;
}

.profile-card .form-check-input:checked+.profile-card-label .profile-card-title {
    color: var(--primary-color);
}

.profile-card .form-check-input:checked+.profile-card-label .profile-card-check {
    background: var(--primary-color);
}

.profile-card .form-check-input:checked+.profile-card-label .profile-card-check i {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 576px) {
    .profile-type-selector {
        grid-template-columns: 1fr;
    }
}

.company-fields {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

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

.registration-form .form-control,
.registration-form .form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    background: #fafafa;
}

.registration-form .form-control:hover,
.registration-form .form-select:hover {
    border-color: #cbd5e1;
    background: white;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
    background: white;
    transform: translateY(-1px);
}

.registration-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.registration-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.registration-form .form-check-label a {
    text-decoration: none;
    font-weight: 500;
}

.registration-form .form-check-label a:hover {
    text-decoration: underline;
}

.sectors-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.sectors-checkboxes .form-check {
    margin: 0;
}

.sectors-checkboxes .form-check-label {
    cursor: pointer;
    user-select: none;
}

/* === Investor Cards === */
.investor-card {
    min-height: 700px;
}

.investor-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.investor-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.investor-benefits {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.benefits-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-list-small {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list-small li {
    padding: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.25rem;
}

.benefits-list-small li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* === Comparison Section === */
.comparison-section {
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    position: relative;
    overflow: hidden;
}

.comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.comparison-section .container {
    position: relative;
    z-index: 1;
}

.comparison-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.comparison-section .section-title {
    color: white;
}

.comparison-section .section-description {
    color: rgba(255, 255, 255, 0.95);
}

.comparison-table-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.comparison-table {
    margin: 0;
}

.comparison-table thead {
    background: rgba(25, 135, 84, 0.1);
}

.comparison-table thead th {
    padding: 1.5rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    border: none;
}

.comparison-table tbody td {
    padding: 1.25rem 1rem;
    color: var(--text-dark);
    border-color: var(--border-color);
    background: white;
}

.comparison-table tbody tr:hover td {
    background: rgba(25, 135, 84, 0.03);
}

.comparison-table .featured-col {
    background: rgba(25, 135, 84, 0.08) !important;
    font-weight: 500;
}

.comparison-table tbody tr:hover .featured-col {
    background: rgba(25, 135, 84, 0.12) !important;
}

.comparison-table thead .featured-col {
    background: var(--primary-color);
    color: white;
}

.comparison-table i {
    font-size: 1.5rem;
}

.comparison-table tbody tr:last-child td {
    padding: 2rem 1rem;
    border-bottom: none;
}

/* === Login Section === */
.login-section {
    background: linear-gradient(135deg, #198754 0%, #1fa968 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.login-logo {
    font-size: 2rem;
    font-weight: 700;
}

.login-logo .brand-text {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.login-logo .brand-subtitle {
    color: var(--secondary-color);
    font-weight: 400;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.login-form .input-group-text {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--primary-color);
}

.login-form .form-control {
    border: 2px solid var(--border-color);
    border-left: none;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.login-form .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background: rgba(25, 135, 84, 0.05);
}

.login-form .input-group:focus-within .form-control {
    border-color: var(--primary-color);
    box-shadow: none;
}

.login-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-login .btn {
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-login .btn:hover {
    border-color: var(--primary-color);
    background: rgba(25, 135, 84, 0.05);
    color: var(--primary-color);
}

.register-links .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

.register-links .btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.security-notice {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.security-notice i {
    color: rgba(255, 255, 255, 0.9);
}

#togglePassword {
    border: 2px solid var(--border-color);
    border-left: none;
}

#togglePassword:hover {
    background: rgba(25, 135, 84, 0.05);
    color: var(--primary-color);
}

.password-strength {
    font-size: 0.875rem;
}

.forgot-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.forgot-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* === Registration Hero Section - Revolutionary Green Design === */
.registration-hero {
    position: relative;
    background: linear-gradient(135deg, #198754 0%, #1fa968 50%, #20b56d 100%);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 150px 0 80px;
}

.registration-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float-gradient 20s ease-in-out infinite;
}

@keyframes float-gradient {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: white;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
    animation: float-shape-1 25s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
    animation: float-shape-2 20s ease-in-out infinite;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: float-shape-3 15s ease-in-out infinite;
}

@keyframes float-shape-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
}

@keyframes float-shape-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-40px, -40px) rotate(-180deg);
    }
}

@keyframes float-shape-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 20px) scale(1.2);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.registration-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: title-slide-up 0.8s ease-out;
}

@keyframes title-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.registration-hero .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: subtitle-fade-in 1s ease-out 0.3s both;
}

@keyframes subtitle-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* === Sticky Plan Display === */
.plan-display-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.plan-display-sticky .card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

/* === Modern Registration Enhancements === */
#selectedPlanDisplay,
#selectedInvestorDisplay {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.08) 0%, rgba(25, 135, 84, 0.03) 100%);
    border-radius: 16px;
    border: 2px solid rgba(25, 135, 84, 0.15);
    position: relative;
    overflow: hidden;
}

#selectedPlanDisplay::before,
#selectedInvestorDisplay::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.1) 0%, transparent 70%);
    animation: pulse-plan 3s ease-in-out infinite;
}

@keyframes pulse-plan {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.plan-icon,
.investor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.plan-icon i,
.investor-icon i {
    font-size: 2.5rem;
    color: white;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 0.5rem;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.plan-annual {
    color: var(--text-light);
    font-size: 1rem;
}

.investor-type-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Enhanced Form Sections */
.registration-section h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.registration-section h5 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

#companyFields {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px dashed var(--border-color);
    margin-top: 1.5rem;
    animation: slideDown 0.4s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Checkboxes */
.registration-form .form-check {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.registration-form .form-check:hover {
    background: rgba(25, 135, 84, 0.05);
}

.registration-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.registration-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
}

.registration-form .form-check-label {
    cursor: pointer;
    user-select: none;
    margin-left: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Submit Button Enhancement */
.registration-section .btn-primary {
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    padding: 1.125rem 2.5rem;
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.registration-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.registration-section .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.registration-section .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(25, 135, 84, 0.4);
}

.registration-section .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Back Link Styling */
.registration-section .btn-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.registration-section .btn-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.registration-section .btn-link i {
    transition: transform 0.3s ease;
}

.registration-section .btn-link:hover i {
    transform: translateX(-3px);
}

/* Loading Animation for Submit Button */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

/* Alert Success Styling */
.alert-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border: 2px solid rgba(25, 135, 84, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sectors Grid Enhancement */
.registration-form .row:has(.form-check) {
    gap: 0.5rem;
}

/* === Progress Indicator UX === */
.form-progress-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-light);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 1rem;
    position: relative;
    top: -12px;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(25, 135, 84, 0.3);
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

/* === Input Group Enhancement === */
.registration-form .input-group-text {
    background: #fafafa;
    border-right: none;
}

.registration-form .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(25, 135, 84, 0.05);
}

.registration-form .input-group:focus-within {
    transform: translateY(-1px);
}

/* === Benefits Section - Sales Oriented === */
.benefits-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.benefit-icon i {
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.1);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-title {
    color: var(--primary-color);
}

.benefit-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Pulse Animation for Benefit Cards */
@keyframes pulse-benefit {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
}

.benefit-card:hover {
    animation: pulse-benefit 2s infinite;
}

/* === Dashboard Body - Revolutionary Design === */
.dashboard-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    overflow-x: hidden;
    position: relative;
}

.dashboard-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(25, 135, 84, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(25, 135, 84, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* === Dashboard Topbar === */
.dashboard-topbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topbar-brand {
    display: flex;
    align-items: center;
}

.dashboard-logo {
    height: 50px;
    width: auto;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.btn-icon:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 50px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.user-menu-btn:hover {
    border-color: var(--primary-color);
    background: rgba(25, 135, 84, 0.05);
}

.user-menu-btn i:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    padding: 0.5rem;
    display: none;
    z-index: 1001;
}

.user-menu:hover .user-dropdown {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.user-dropdown a:hover {
    background: rgba(25, 135, 84, 0.05);
    color: var(--primary-color);
}

.user-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid var(--border-color);
}

/* === Dashboard Gold Styles === */
.dashboard-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

.badge-gold {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-badge-large {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
}

/* Dashboard Sidebar - Glassmorphism */
.dashboard-sidebar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-sidebar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-profile {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.profile-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.profile-plan {
    color: var(--text-light);
    font-size: 0.875rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar-nav .nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 14px;
    opacity: 0.1;
}

.sidebar-nav .nav-item:hover {
    background: rgba(25, 135, 84, 0.08);
    color: var(--primary-color);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.15);
}

.sidebar-nav .nav-item:hover::before {
    width: 100%;
}

.sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15) 0%, rgba(25, 135, 84, 0.08) 100%);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(25, 135, 84, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

.sidebar-nav .nav-item.active::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.8;
    }
}

.sidebar-nav .nav-item i {
    font-size: 1.25rem;
}

.sidebar-nav .badge {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.badge-notification {
    background: #dc3545;
}

/* Stat Cards - Premium */
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer-icon 3s ease-in-out infinite;
}

@keyframes shimmer-icon {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    50% {
        transform: translate(-20%, -20%) scale(1.2);
        opacity: 1;
    }
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

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

/* Dashboard Cards - Glassmorphism */
.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.card-header-dashboard {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-dashboard h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.card-body-dashboard {
    padding: 1.5rem 2rem;
}

/* Project Items */
.project-item {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.1);
}

.project-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.meta-item {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
}

/* Event Items */
.event-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--primary-color);
    background: rgba(25, 135, 84, 0.02);
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-details {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Formation Cards */
.formation-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.formation-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.1);
}

.formation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.formation-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.formation-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.formation-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Messages */
.message-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.message-item:hover {
    background: rgba(25, 135, 84, 0.02);
}

.message-item.unread {
    background: rgba(25, 135, 84, 0.05);
}

.message-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.message-sender {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
}

.message-time {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.75rem;
}

.message-preview {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* === Dashboard Dynamic Sections === */
.dashboard-sidebar-wrapper {
    background: white;
    border-right: 1px solid var(--border-color);
    min-height: calc(100vh - 200px);
}

.dashboard-main-content {
    padding: 2rem;
    background: transparent;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

.content-section {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header-dash {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.section-header-dash h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-action-btn {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 600;
}

.quick-action-btn:hover {
    border-color: var(--primary-color);
    background: rgba(25, 135, 84, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.15);
}

.quick-action-btn i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Project Cards Full */
.project-card-full {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.project-card-full:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(25, 135, 84, 0.1);
    transform: translateY(-4px);
}

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

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.project-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

/* Event Cards Full */
.event-card-full {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    border: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.event-card-full:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(25, 135, 84, 0.1);
}

.event-date-large {
    text-align: center;
    min-width: 80px;
}

.event-date-large .day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.event-date-large .month {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-content {
    flex: 1;
}

.event-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-description {
    color: var(--text-light);
    margin: 0.75rem 0;
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

/* Formation Cards Complete */
.formation-card-complete {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.formation-card-complete:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(25, 135, 84, 0.15);
    border-color: var(--primary-color);
}

.formation-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.formation-content {
    padding: 1.5rem;
}

/* Messages Container */
.messages-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
}

.message-card {
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.message-card:hover {
    background: rgba(25, 135, 84, 0.05);
}

.message-card.active {
    background: rgba(25, 135, 84, 0.1);
    border-left: 4px solid var(--primary-color);
}

.message-avatar-large {
    font-size: 3rem;
    color: var(--primary-color);
}

.message-info {
    flex: 1;
}

.message-sender-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.message-preview-text {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.message-time-small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Meeting Cards */
.meeting-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    position: relative;
}

.meeting-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.meeting-status.upcoming {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.meeting-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.meeting-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.meeting-details {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Investor Cards */
.investor-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.investor-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(25, 135, 84, 0.1);
    transform: translateY(-4px);
}

.investor-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.investor-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.investor-type {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.investor-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.investor-tags .tag {
    padding: 0.25rem 0.75rem;
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.investor-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Progress Bars */
.progress {
    height: 8px;
    background: var(--border-color);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    height: 100%;
    transition: width 0.6s ease;
}

/* === Responsive Design === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-image, .visual-circle, .floating-card {
        display: none !important;
    }

    .cta-wrapper {
        padding: 3rem 2rem;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 120px 0 60px 0;
        text-align: center;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

    section {
        padding: 4rem 0;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   Bootstrap Color Overrides - Replace Blue with Green
   =================================== */

/* Override Bootstrap primary color (blue to green) */
.text-primary {
    color: #198754 !important;
}

.bg-primary {
    background-color: #198754 !important;
}

.border-primary {
    border-color: #198754 !important;
}

.btn-primary {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #146c43 !important;
    border-color: #146c43 !important;
}

.btn-outline-primary {
    color: #198754 !important;
    border-color: #198754 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}

.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary,
.btn-primary:active,
.btn-primary.active,
.show>.btn-primary.dropdown-toggle {
    background-color: #146c43 !important;
    border-color: #146c43 !important;
}

.alert-primary {
    color: #0f5132 !important;
    background-color: #d1e7dd !important;
    border-color: #badbcc !important;
}

.badge.bg-primary {
    background-color: #198754 !important;
}

.link-primary {
    color: #198754 !important;
}

.link-primary:hover,
.link-primary:focus {
    color: #146c43 !important;
}

/* Form controls focus state */
.form-control:focus,
.form-select:focus {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

.form-check-input:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.form-check-input:focus {
    border-color: #86cfac !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

/* Progress bar */
.progress-bar {
    background-color: #198754 !important;
}

/* List group */
.list-group-item-primary {
    color: #0f5132 !important;
    background-color: #d1e7dd !important;
}

.list-group-item-primary.list-group-item-action:hover,
.list-group-item-primary.list-group-item-action:focus {
    color: #0f5132 !important;
    background-color: #bcd0c7 !important;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #198754 !important;
}

/* Nav tabs and pills */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #198754 !important;
}

/* Pagination */
.pagination .page-link {
    color: #198754 !important;
}

.pagination .page-item.active .page-link {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.pagination .page-link:hover {
    color: #146c43 !important;
}

/* Table */
.table-primary {
    --bs-table-bg: #d1e7dd !important;
    --bs-table-striped-bg: #c5dbd2 !important;
    --bs-table-striped-color: #000 !important;
    --bs-table-active-bg: #bcd0c7 !important;
    --bs-table-active-color: #000 !important;
    --bs-table-hover-bg: #c1d6cc !important;
    --bs-table-hover-color: #000 !important;
    color: #000 !important;
    border-color: #bcd0c7 !important;
}