/* ============================================
   BTFF INVEST - Main Stylesheet
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafcff;
    color: #111827;
    scroll-behavior: smooth;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FFD966;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.loading-container {
    text-align: center;
    padding: 40px;
}

.gallery-card, .innovator-card, .property-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0B1120 0%, #19233C 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Navbar - Base Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

/* Navbar for homepage (transparent) */
.hero .navbar {
    background: transparent;
}

/* Navbar for other pages (solid) */
.navbar:not(.hero .navbar) {
    background: linear-gradient(135deg, #0B1120 0%, #19233C 100%);
}

/* Logo */
.logo {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #B4C9FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.02em;
    cursor: pointer;
    flex-shrink: 0;
}

.logo span {
    font-weight: 300;
    font-size: 1.2rem;
    color: #B4C9FF;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
    align-items: center;
    margin: 0 auto;
}

/* Navigation Links */
.nav-links a {
    color: #E5E9F0;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.nav-links a:hover {
    color: #FFD966;
}

/* Desktop Button (visible on desktop, hidden on mobile) */
.desktop-btn {
    display: block;
}

/* Mobile Button (hidden on desktop, visible on mobile) */
.mobile-btn {
    display: none;
}

/* Menu Toggle Button (hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.2s;
}

/* Button Styles */
.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFD966;
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 0 5rem 0;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-glow {
    background: linear-gradient(120deg, #FFD966, #FFB347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: #CFE2FF;
    margin: 1.2rem 0 1.8rem;
}

/* Primary Button */
.btn-primary {
    background: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #111827;
}

.btn-primary:hover {
    background: #FFC857;
    transform: translateY(-3px);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin: 3rem 0 0.8rem;
    background: linear-gradient(135deg, #111827, #2D3A5E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    color: #4B5563;
    margin-bottom: 2.5rem;
    font-size: 15px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.gallery-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px -12px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-content {
    padding: 1.2rem 1.5rem 1.5rem;
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #111827;
}

.gallery-desc {
    color: #4B5563;
    font-size: 0.9rem;
}

/* Properties Section */
.properties-section {
    background: linear-gradient(120deg, #FEF9E6, #FFFFFF);
    border-radius: 48px;
    padding: 10px;
    margin: 3rem 0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.property-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px -12px rgba(0, 0, 0, 0.2);
}

.property-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-content {
    padding: 1.2rem 1.5rem 1.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #111827;
}

.property-location {
    color: #6B7280;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0B1120;
    margin: 0.5rem 0;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    color: #6B7280;
    font-size: 0.8rem;
}

.property-badge {
    display: inline-block;
    background: #EFF6FF;
    color: #1E40AF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-bottom: 0.6rem;
}

.property-badge.sale {
    background: #FEF3C7;
    color: #B45309;
}

.property-badge.rent {
    background: #D1FAE5;
    color: #065F46;
}

/* Search & Filter */
.search-filter-bar {
    background: white;
    border-radius: 60px;
    padding: 0.5rem;
    margin: 1rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.search-input {
    flex: 2;
    padding: 0.8rem 1.2rem;
    border: 1px solid #E5E7EB;
    border-radius: 60px;
    font-size: 0.95rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    border-color: #FFD966;
    box-shadow: 0 0 0 3px rgba(255, 217, 102, 0.2);
}

.filter-select {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid #E5E7EB;
    border-radius: 60px;
    font-size: 0.95rem;
    outline: none;
    background: white;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.reset-btn {
    background: #F3F4F6;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    color: #4B5563;
}

.reset-btn:hover {
    background: #E5E7EB;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6B7280;
    font-size: 1.1rem;
}

/* Videos Section */
.videos-section {
    background: linear-gradient(120deg, #FEF9E6, #FFFFFF);
    border-radius: 48px;
    padding: 2rem 2rem 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    cursor: pointer;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #FFD966;
    color: #111827;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #FFD966;
    width: 28px;
    border-radius: 10px;
}

/* Innovators Section */
.innovators-section {
    background: linear-gradient(135deg, #0B1120 0%, #19233C 100%);
    border-radius: 48px;
    padding: 2rem 0 3rem;
    margin: 2rem 0 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.innovators-section .section-title {
    background: linear-gradient(120deg, #FFD966, #FFB347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.innovators-section .section-sub {
    color: #CFE2FF;
    padding: 15px;
}

.innovators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.innovator-card {
    background: white;
    border-radius: 28px;
    margin: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
}

.innovator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.25);
    border-color: #FFD96650;
}

.innovator-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.innovator-content {
    padding: 1.4rem;
}

.innovator-badge {
    background: #EFF6FF;
    color: #1E40AF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 0.6rem;
    letter-spacing: 0.3px;
}

.innovator-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
}

.innovator-field {
    color: #3B82F6;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0.3rem 0;
}

.innovator-desc {
    color: #4B5563;
    font-size: 0.9rem;
    margin: 0.6rem 0;
    line-height: 1.4;
}

.fund-ask {
    font-weight: 800;
    margin-top: 0.6rem;
    color: #0F172A;
    border-top: 1px solid #EDF2F7;
    padding-top: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connect-tag {
    font-size: 0.7rem;
    background: #FEF3C7;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-weight: 600;
    color: #B45309;
}

.anonymous-note {
    text-align: center;
    font-size: 0.85rem;
    color: #B4C9FF;
    margin-top: 1rem;
}

/* Tiers Grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tier-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tier-card h4 {
    font-size: 1.3rem;
    color: #FFD966;
    margin-bottom: 0.5rem;
}

.tier-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0B1120;
    margin: 0.5rem 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(120deg, #FEF9E6, #FFFFFF);
    border-radius: 48px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 1.5rem auto 0;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid #E5E7EB;
    border-radius: 60px;
    font-size: 1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.newsletter-input:focus {
    border-color: #FFD966;
    box-shadow: 0 0 0 3px rgba(255, 217, 102, 0.2);
}

.btn-newsletter {
    background: #FFD966;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    color: #111827;
}

.btn-newsletter:hover {
    background: #FFC857;
    transform: translateY(-2px);
}

/* Apply Button Container */
.apply-btn-container {
    text-align: center;
    margin-top: 2rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    border-radius: 32px;
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-body-scroll {
    overflow-y: auto;
    flex: 1;
}

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

.modal-header {
    background: linear-gradient(135deg, #0B1120, #19233C);
    color: #FFD966;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(120deg, #FFD966, #FFB347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-close {
    background: none;
    border: none;
    color: #B4C9FF;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.modal-close:hover {
    color: #FFD966;
}

.modal-body {
    padding: 1.8rem;
}

.modal-hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.detail-field {
    font-weight: 700;
    color: #1E40AF;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.connect-btn {
    background: #FFD966;
    border: none;
    width: 100%;
    padding: 0.9rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    color: #111827;
}

.connect-btn:hover {
    background: #FFC857;
    transform: scale(0.98);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #FFD966;
    box-shadow: 0 0 0 3px rgba(255, 217, 102, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FFD966;
    color: #111827;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #FFC857;
    transform: translateY(-3px);
}

/* Toast Message */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: #FFD966;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 500;
    z-index: 1100;
    backdrop-filter: blur(8px);
    background: #111827ee;
    font-size: 0.9rem;
    opacity: 0;
    transition: 0.2s;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.toast-msg.show {
    opacity: 1;
}

/* Floating Booking Button */
.floating-booking-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, #FFD966, #FFB347);
    color: #0B1120;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 98;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.floating-booking-btn:hover {
    transform: translateY(-3px);
}

/* View More Container */
.view-more-container {
    text-align: center;
    margin: 0rem 0 2rem;
}

/* Footer */
footer {
    background: #0B1120;
    color: #9CA3AF;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    border-radius: 32px 32px 0 0;
}

/* ============================================
   PROJECT GALLERY MODAL STYLES
   ============================================ */
.project-gallery-container {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.project-gallery-slides {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.project-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.project-gallery-slide.active {
    display: block;
    animation: fadeEffect 0.5s;
}

.project-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.project-gallery-prev, .project-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    z-index: 10;
}

.project-gallery-prev:hover, .project-gallery-next:hover {
    background: #FFD966;
    color: #0B1120;
}

.project-gallery-prev { left: 15px; }
.project-gallery-next { right: 15px; }

.project-gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    z-index: 10;
}

.project-gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.project-gallery-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.project-gallery-thumbnail:hover {
    transform: scale(1.05);
}

.project-gallery-thumbnail.active {
    border-color: #FFD966;
    box-shadow: 0 0 0 2px rgba(255,217,102,0.3);
}

.project-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 20px;
}

.project-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-info-item i {
    width: 24px;
    color: #FFD966;
    font-size: 1.1rem;
}

.project-info-item .label {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
}

.project-info-item .value {
    font-weight: 600;
    color: #111827;
}

.design-philosophy {
    background: linear-gradient(135deg, #FFD96610, #FFB34710);
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    border-left: 4px solid #FFD966;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feature-tag {
    background: #F3F4F6;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #374151;
}

/* ============================================
   PROPERTY GALLERY MODAL STYLES
   ============================================ */
.property-gallery-container {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.property-gallery-slides {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
    animation: fadeEffect 0.5s;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    z-index: 10;
}

.gallery-prev:hover, .gallery-next:hover {
    background: #FFD966;
    color: #0B1120;
}

.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }

.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    z-index: 10;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gallery-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: #FFD966;
    box-shadow: 0 0 0 2px rgba(255,217,102,0.3);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-section {
    background: linear-gradient(135deg, #FFD96620, #FFB34720);
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    text-align: center;
}

.price-section .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0B1120;
}

/* ============================================
   INNOVATOR GALLERY MODAL STYLES
   ============================================ */
.innovator-gallery-container {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.innovator-gallery-slides {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.innovator-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.innovator-gallery-slide.active {
    display: block;
    animation: fadeEffect 0.5s;
}

.innovator-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.innovator-gallery-prev, .innovator-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    z-index: 10;
}

.innovator-gallery-prev:hover, .innovator-gallery-next:hover {
    background: #FFD966;
    color: #0B1120;
}

.innovator-gallery-prev { left: 15px; }
.innovator-gallery-next { right: 15px; }

.innovator-gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    z-index: 10;
}

.innovator-gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.innovator-gallery-thumbnail {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.innovator-gallery-thumbnail:hover {
    transform: scale(1.05);
}

.innovator-gallery-thumbnail.active {
    border-color: #FFD966;
    box-shadow: 0 0 0 2px rgba(255,217,102,0.3);
}

.innovator-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.innovator-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 20px;
}

.innovator-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.innovator-info-item i {
    width: 24px;
    color: #FFD966;
    font-size: 1.1rem;
}

.innovator-info-item .label {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
}

.innovator-info-item .value {
    font-weight: 600;
    color: #111827;
}

.funding-section {
    background: linear-gradient(135deg, #10B98120, #05966920);
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    text-align: center;
}

.funding-section .amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #065F46;
}

.traction-badge {
    display: inline-block;
    background: #D1FAE5;
    color: #065F46;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

/* ============================================
   FULLSCREEN MODAL STYLES
   ============================================ */


/* Fullscreen Modal Styles - Make sure these are at the end of your CSS file */
.project-fullscreen-modal,
.property-fullscreen-modal,
.innovator-fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.project-fullscreen-modal.active,
.property-fullscreen-modal.active,
.innovator-fullscreen-modal.active {
    display: flex;
}

.project-fullscreen-close,
.property-fullscreen-close,
.innovator-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: 0.2s;
}

.project-fullscreen-close:hover,
.property-fullscreen-close:hover,
.innovator-fullscreen-close:hover {
    color: #FFD966;
}

.project-fullscreen-prev,
.property-fullscreen-prev,
.innovator-fullscreen-prev {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.project-fullscreen-next,
.property-fullscreen-next,
.innovator-fullscreen-next {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.project-fullscreen-prev:hover,
.property-fullscreen-prev:hover,
.innovator-fullscreen-prev:hover,
.project-fullscreen-next:hover,
.property-fullscreen-next:hover,
.innovator-fullscreen-next:hover {
    background: #FFD966;
    color: #0B1120;
}

.project-fullscreen-image,
.property-fullscreen-image,
.innovator-fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    z-index: 10001;
}

.project-fullscreen-counter,
.property-fullscreen-counter,
.innovator-fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    z-index: 10001;
}









/* ============================================
   FLOATING CHAT WIDGET
   ============================================ */

/* Chat Button */
.chat-widget-button {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD966, #FFB347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.chat-widget-button i {
    font-size: 1.8rem;
    color: #0B1120;
}

.chat-unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EF4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* Chat Modal */
.chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-modal {
    width: 90%;
    max-width: 450px;
    height: 600px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.chat-modal-overlay.active .chat-modal {
    transform: scale(1);
}

/* Chat Modal Header */
.chat-modal-header {
    background: linear-gradient(135deg, #0B1120, #19233C);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.chat-modal-header h3 i {
    color: #FFD966;
    margin-right: 0.5rem;
}

.chat-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: 0.2s;
}

.chat-modal-close:hover {
    background: rgba(255,255,255,0.1);
}

/* AI Welcome Message */
.ai-welcome {
    background: linear-gradient(135deg, #FFD96620, #FFB34720);
    margin: 1rem;
    padding: 1rem;
    border-radius: 16px;
    border-left: 4px solid #FFD966;
}

.ai-avatar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ai-avatar i {
    font-size: 1.2rem;
    color: #FFD966;
}

.ai-avatar span {
    font-weight: 600;
    color: #0B1120;
}

.ai-message {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #FFD966;
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Innovators List */
.innovators-list-container {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.innovator-chat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0.5rem;
    background: #F9FAFB;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.innovator-chat-card:hover {
    background: #F3F4F6;
    transform: translateX(4px);
    border-color: #FFD966;
}

.innovator-chat-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD966, #FFB347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.innovator-chat-avatar i {
    font-size: 1.3rem;
    color: #0B1120;
}

.innovator-chat-info {
    flex: 1;
}

.innovator-chat-name {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.2rem;
}

.innovator-chat-field {
    font-size: 0.7rem;
    color: #6B7280;
}

.innovator-chat-btn {
    background: #FFD966;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.innovator-chat-btn:hover {
    background: #FFC857;
    transform: scale(1.05);
}

/* Login Required Message */
.login-required {
    text-align: center;
    padding: 2rem;
}

.login-required i {
    font-size: 3rem;
    color: #FFD966;
    margin-bottom: 1rem;
}

.login-required p {
    color: #6B7280;
    margin-bottom: 1rem;
}

.login-required .btn-primary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Loading State */
.chat-loading {
    text-align: center;
    padding: 2rem;
}

.chat-loading .loader {
    width: 30px;
    height: 30px;
}

/* Empty State */
.chat-empty {
    text-align: center;
    padding: 2rem;
    color: #9CA3AF;
}

.chat-empty i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* Chat Modal Body */
.chat-modal-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Smooth Transitions */
.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none;
}












/* ============================================
   MESSAGING SYSTEM STYLES
   ============================================ */

/* Messages Container */
.messages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Conversation List */
.conversation-list {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.2s;
    gap: 1rem;
}

.conversation-item:hover {
    background: #F9FAFB;
}

.conversation-item.unread {
    background: #FEFCE8;
}

.conversation-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FFD966, #FFB347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conversation-avatar i {
    font-size: 1.5rem;
    color: #0B1120;
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.conversation-last-message {
    font-size: 0.85rem;
    color: #6B7280;
}

.conversation-time {
    font-size: 0.7rem;
    color: #9CA3AF;
    white-space: nowrap;
}

.unread-badge {
    background: #FFD966;
    color: #0B1120;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

/* Chat Container */
.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px);
    min-height: 500px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.chat-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #0B1120, #19233C);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-header-back {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: 0.2s;
}

.chat-header-back:hover {
    background: rgba(255,255,255,0.1);
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.chat-header-role {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #F9FAFB;
}

.message-group {
    margin-bottom: 1.5rem;
}

.message-date-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.message-date-divider span {
    background: #E5E7EB;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #6B7280;
}

.message-bubble {
    display: flex;
    margin-bottom: 1rem;
}

.message-bubble.sent {
    justify-content: flex-end;
}

.message-bubble.received {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    position: relative;
}

.message-bubble.sent .message-content {
    background: #FFD966;
    color: #0B1120;
    border-bottom-right-radius: 4px;
}

.message-bubble.received .message-content {
    background: white;
    color: #111827;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-time {
    font-size: 0.65rem;
    margin-top: 0.3rem;
    opacity: 0.7;
}

.message-bubble.sent .message-time {
    text-align: right;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* Chat Input */
.chat-input-area {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 0.8rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    resize: none;
    max-height: 120px;
    transition: all 0.2s;
}

.chat-input:focus {
    outline: none;
    border-color: #FFD966;
    box-shadow: 0 0 0 3px rgba(255,217,102,0.2);
}

.chat-send-btn {
    background: #FFD966;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #FFC857;
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #9CA3AF;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Message Actions */
.message-actions {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    gap: 0.3rem;
}

.message-bubble:hover .message-actions {
    display: flex;
}

.message-action-btn {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Unread Message Badge */
.messages-link {
    position: relative;
}

.unread-badge-nav {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
}






/* ============================================
   FLOATING CURRENCY CONVERTER
   ============================================ */

.currency-widget-button {
    position: fixed;
    bottom: 230px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1000;
}

.currency-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.currency-widget-button i {
    font-size: 1.5rem;
    color: white;
}

.currency-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.currency-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.currency-modal {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    width: 90%;
    max-width: 320px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.currency-modal-overlay.active .currency-modal {
    transform: scale(1);
}

.currency-modal h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0B1120;
}

.currency-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.currency-option {
    flex: 1;
    padding: 0.8rem;
    background: #F3F4F6;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.currency-option:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
}

.currency-option.active {
    border-color: #FFD966;
    background: linear-gradient(135deg, #FFD96620, #FFB34720);
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.currency-name {
    font-size: 0.7rem;
    color: #6B7280;
    margin-top: 0.2rem;
}

.currency-rate-info {
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}









/* ============================================
   EARN EXTRA CASH SECTION
   ============================================ */

.earn-section {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.earn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E5E7EB;
}

.earn-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0B1120;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.earn-header h3 i {
    color: #10B981;
    font-size: 1.5rem;
}

.earn-balance {
    background: linear-gradient(135deg, #10B98120, #05966920);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-align: center;
}

.earn-balance-label {
    font-size: 0.7rem;
    color: #6B7280;
    letter-spacing: 0.5px;
}

.earn-balance-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10B981;
    line-height: 1;
}

/* Task Cards */
.task-card {
    background: #F9FAFB;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.task-card.completed {
    opacity: 0.6;
    background: #F3F4F6;
}

.task-card.completed .task-header {
    cursor: not-allowed;
}

.task-header {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.task-header:hover {
    background: #F3F4F6;
}

.task-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.task-title i {
    font-size: 1.3rem;
    color: #FFD966;
}

.task-title span {
    font-weight: 600;
    color: #111827;
}

.task-reward {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #10B98120;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
}

.task-reward i {
    font-size: 0.8rem;
    color: #10B981;
}

.task-reward span {
    font-weight: 700;
    color: #10B981;
    font-size: 0.9rem;
}

.task-arrow {
    transition: transform 0.3s ease;
    color: #9CA3AF;
}

.task-arrow.rotated {
    transform: rotate(180deg);
}

/* Task Content */
.task-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
    border-top: 1px solid transparent;
}

.task-content.open {
    max-height: 600px;
    transition: max-height 0.4s ease-in;
    border-top-color: #E5E7EB;
}

.task-inner {
    padding: 1.2rem;
}

.task-description {
    color: #4B5563;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.youtube-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.youtube-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #F9FAFB;
    border-radius: 12px;
}

.youtube-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.youtube-info i {
    font-size: 1.2rem;
    color: #FF0000;
}

.youtube-info span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #111827;
}

.subscribe-btn {
    background: #FF0000;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.subscribe-btn:hover {
    background: #CC0000;
    transform: scale(1.02);
}

.task-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.proof-btn {
    background: #FFD966;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.proof-btn:hover {
    background: #FFC857;
    transform: translateY(-2px);
}

.proof-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.completed-badge {
    background: #10B981;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}












/* ============================================
   CREATE TASK SECTION
   ============================================ */

.create-task-section {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.create-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E5E7EB;
}

.create-task-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0B1120;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.create-task-header h3 i {
    color: #FFD966;
    font-size: 1.5rem;
}

/* Create Task Card */
.create-task-card {
    background: #F9FAFB;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.create-task-header-click {
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.create-task-header-click:hover {
    background: #F3F4F6;
}

.create-task-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.create-task-title i {
    font-size: 1.3rem;
    color: #10B981;
}

.create-task-title span {
    font-weight: 600;
    color: #111827;
}

.create-task-arrow {
    transition: transform 0.3s ease;
    color: #9CA3AF;
}

.create-task-arrow.rotated {
    transform: rotate(180deg);
}

/* Create Task Content - Make scrollable */
.create-task-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
    border-top: 1px solid transparent;
}

.create-task-content.open {
    max-height: 800px; /* Increased to accommodate more content */
    overflow-y: auto;  /* Makes it scrollable when content exceeds max-height */
    transition: max-height 0.4s ease-in;
    border-top-color: #E5E7EB;
}

/* For better scrolling experience */
.create-task-inner {
    padding: 1.2rem;
    max-height: 600px;
    overflow-y: auto;
}

/* Custom scrollbar styling */
.create-task-inner::-webkit-scrollbar {
    width: 6px;
}

.create-task-inner::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.create-task-inner::-webkit-scrollbar-thumb {
    background: #FFD966;
    border-radius: 10px;
}

.create-task-inner::-webkit-scrollbar-thumb:hover {
    background: #FFB347;
}

/* Available Tasks Panel - Already scrollable */
.tasks-scroll-panel {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.tasks-scroll-panel::-webkit-scrollbar {
    width: 6px;
}

.tasks-scroll-panel::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.tasks-scroll-panel::-webkit-scrollbar-thumb {
    background: #FFD966;
    border-radius: 10px;
}

/* Form Styles */
.task-form-group {
    margin-bottom: 1rem;
}

.task-form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.task-form-group select,
.task-form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.task-form-group select:focus,
.task-form-group input:focus {
    outline: none;
    border-color: #FFD966;
    box-shadow: 0 0 0 3px rgba(255,217,102,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.calculator-result {
    background: linear-gradient(135deg, #FFD96620, #FFB34720);
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.result-total {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0B1120;
    border-top: 1px solid #E5E7EB;
    padding-top: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-group input {
    width: auto;
}

.create-task-btn {
    width: 100%;
    background: #10B981;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 0.5rem;
}

.create-task-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.create-task-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}

/* Available Tasks Panel */
.available-tasks {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.available-tasks h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #0B1120;
}

.tasks-scroll-panel {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.available-task-item {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.available-task-item:hover {
    background: #F3F4F6;
    border-color: #FFD966;
}

.available-task-info {
    flex: 1;
}

.available-task-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #111827;
}

.available-task-details {
    font-size: 0.7rem;
    color: #6B7280;
    margin-top: 0.2rem;
}

.available-task-reward {
    font-weight: 700;
    color: #10B981;
    font-size: 0.9rem;
}

.available-task-progress {
    min-width: 120px;
}

.progress-bar-container {
    background: #E5E7EB;
    border-radius: 10px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.progress-bar-fill {
    background: #10B981;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.65rem;
    color: #6B7280;
    text-align: center;
}

/* Task Modal */
.task-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.task-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.task-modal {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.task-modal-overlay.active .task-modal {
    transform: scale(1);
}

.task-modal-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, #0B1120, #19233C);
    color: white;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-modal-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.task-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.task-modal-body {
    padding: 1.5rem;
}

.task-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: flex-end;
}

.accept-task-btn {
    background: #10B981;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.accept-task-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}













/* Add Funds Button */
.add-funds-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.add-funds-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #059669, #047857);
}

/* Add Funds Modal */
.add-funds-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.add-funds-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.add-funds-modal {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.add-funds-modal-overlay.active .add-funds-modal {
    transform: scale(1);
}

.add-funds-modal-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, #0B1120, #19233C);
    color: white;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}

.add-funds-modal-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.add-funds-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.add-funds-modal-body {
    padding: 1.2rem;
}

.bank-details-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.bank-details-section h4 {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 0.8rem;
}

.bank-detail-row {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.bank-label {
    width: 110px;
    font-weight: 600;
    color: #6B7280;
    flex-shrink: 0;
}

.bank-value {
    color: #111827;
    word-break: break-all;
}

.bank-note {
    font-size: 0.7rem;
    color: #EF4444;
    margin-top: 0.5rem;
    padding-top: 0.3rem;
    border-top: 1px dashed #E5E7EB;
}

.payment-proof-note {
    background: #FEF3C7;
    padding: 0.8rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #92400E;
}

.payment-proof-note a {
    color: #19a46a;
    text-decoration: none;
}

















/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; padding-top: 2rem; }
    .container { padding: 0 1.2rem; }
    .toast-msg { white-space: normal; width: 80%; text-align: center; }
    .hero { min-height: 70vh; }
    
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        margin: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
    
    /* Hide desktop button on mobile */
    .desktop-btn {
        display: none;
    }
    
    /* Show mobile button in nav-links */
    .mobile-btn {
        display: block;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .videos-section {
        padding: 1px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .search-filter-bar {
        flex-direction: column;
        border-radius: 28px;
        background: transparent;
        box-shadow: none;
        gap: 0.8rem;
    }
    
    .floating-booking-btn {
        bottom: 80px;
        right: 20px;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    .project-gallery-slides,
    .property-gallery-slides,
    .innovator-gallery-slides {
        height: 250px;
    }

    .project-info-grid,
    .property-info-grid,
    .innovator-info-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-thumbnail,
    .gallery-thumbnail,
    .innovator-gallery-thumbnail {
        width: 50px;
        height: 50px;
    }



    .project-fullscreen-prev,
    .property-fullscreen-prev,
    .innovator-fullscreen-prev {
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        z-index: 20000;
    }
    
    .project-fullscreen-next,
    .property-fullscreen-next,
    .innovator-fullscreen-next {
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        z-index: 20000;
    }
    
    .project-fullscreen-close,
    .property-fullscreen-close,
    .innovator-fullscreen-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }




    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .unread-badge-nav {
        position: static;
        margin-left: 8px;
    }




    .chat-widget-button {
        bottom: 130px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .chat-widget-button i {
        font-size: 1.4rem;
    }
    
    .chat-modal {
        width: 95%;
        height: 85vh;
        max-height: 600px;
    }





    .messages-container {
        padding: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-container {
        height: calc(100vh - 140px);
    }
    
    .conversation-item {
        padding: 1rem;
    }
    
    .conversation-avatar {
        width: 45px;
        height: 45px;
    }



    .currency-widget-button {
        bottom: 185px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .currency-widget-button i {
        font-size: 1.2rem;
    }


    .earn-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .youtube-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }


    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .available-task-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .available-task-progress {
        width: 100%;
    }


    .bank-detail-row {
        flex-direction: column;
        margin-bottom: 0.8rem;
    }
    .bank-label {
        width: 100%;
        margin-bottom: 0.2rem;
    }

    .task-title {
        gap: 2px;
    }

}