/* Highlight active navbar item */
.navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: #0d6efd !important;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(13,110,253,0.10);
}
/* Real Estate Theme Styles for FFive Properties */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Map Wrapper */
.map-wrapper {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
}

.map-wrapper .hero-map {
    border-radius: 16px;
}

/* Cards */
.card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 15px;
}

/* Buttons */
.btn-google {
    background-color: #4285f4;
    border-color: #4285f4;
    color: white;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 500;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Property Type Cards */
.bg-primary.bg-opacity-10 {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-success.bg-opacity-10 {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-info.bg-opacity-10 {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

/* Feature Icons */
.feature-icon {
    width: 70px;
    height: 70px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    .hero-section .container {
        padding-top: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-top: 1rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .map-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 2rem;
    }
    
    .map-wrapper:hover {
        border-radius: 20px;
    }
    
    .map-wrapper .hero-map {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 2rem;
        min-height: 65vh;
    }
    
    .hero-section .container {
        padding-top: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-top: 0.75rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .map-wrapper {
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1.5rem;
    }
    
    .map-wrapper:hover {
        border-radius: 16px;
    }
    
    .map-wrapper .hero-map {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 3.5rem;
        padding-bottom: 1.5rem;
        min-height: 60vh;
    }
    
    .hero-section .container {
        padding-top: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-top: 0.5rem;
        line-height: 1.1;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .map-wrapper {
        padding: 0.75rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .map-wrapper:hover {
        border-radius: 12px;
    }
    
    .map-wrapper .hero-map {
        border-radius: 8px;
    }
}

/* Utility Classes */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Property Cards Enhancement */
.property-card {
    overflow: hidden;
}

/* Aerial View 3D Maps Styles */
[id$="-aerial"] {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, #667eea, #764ba2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Rotation control buttons and indicators */
[id$="-aerial"] button {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Rotation indicator styling */
[id$="-aerial"] .bg-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }
    50% { 
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
    }
}

/* Loading animation for aerial views */
[id$="-aerial"] .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #ffffff;
}

/* 3D Map container positioning */
[id$="-aerial"] > div {
    border-radius: 15px;
}

/* Responsive adjustments for aerial views */
@media (max-width: 768px) {
    [id$="-aerial"] {
        height: 300px !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    [id$="-aerial"] {
        height: 250px !important;
    }
}

/* Add subtle pulse animation while loading */
[id$="-aerial"]:empty::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #667eea, #764ba2);
    animation: pulse 2s infinite;
    border-radius: 15px;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

/* Professional commentary styling */
#commentaryContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1000;
}

.commentary-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.completion-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.commentary-content {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.completion-content {
    border: 1px solid rgba(255, 193, 7, 0.2);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.1);
}

.commentary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.commentary-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.completion-title {
    color: #856404;
}

.commentary-time {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

.commentary-body {
    margin-bottom: 12px;
}

.commentary-text {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #495057;
}

.investment-insight {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

.investment-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 6px;
}

.investment-text {
    font-size: 12px;
    line-height: 1.4;
    color: #37474f;
    margin: 0;
}

.tour-summary {
    background: linear-gradient(135deg, #fff3cd, #fefefe);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
}

.summary-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #856404;
    margin-bottom: 6px;
}

.summary-text {
    font-size: 12px;
    line-height: 1.4;
    color: #6c4e00;
    margin: 0;
}

.commentary-footer {
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.click-indicator {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #007bff;
    font-weight: 500;
    cursor: pointer;
}

.restart-indicator {
    color: #ffc107;
}

.messageDiv {
    cursor: pointer;
}

/* Custom Styles for Landing Page Redesign */

/* Hero Section Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Feature Card Enhancements */
.feature-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.feature-card .feature-icon {
    margin: 0 auto 1.5rem auto;
}

.feature-card .feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card .feature-list .d-flex {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 12px;
    padding: 0.3rem 0.7rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0d6efd;
    transition: all 0.2s ease;
    flex: 0 0 calc(50% - 0.25rem);
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.2;
    height: 28px;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
}

.feature-card .feature-list .d-flex:hover {
    background: rgba(13, 110, 253, 0.15);
    transform: translateY(-1px);
}

.feature-card .feature-list .d-flex .bi-check-circle-fill {
    color: #198754 !important;
    font-size: 0.7rem;
    margin-right: 0.3rem !important;
}

.feature-card h5 {
    text-align: center;
}

.feature-card p {
    text-align: center;
}

/* Island Card Styles */
.island-card {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.island-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.island-map {
    position: relative;
    overflow: hidden;
}

.island-content {
    position: relative;
    z-index: 2;
}

/* Stats Animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

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

/* Loading Animation for Maps */
.map-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .island-card .island-map {
        height: 200px !important;
    }
    
    .island-content {
        padding: 1rem !important;
    }
    
    .badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .floating-card {
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 1.8rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .island-card {
        margin-bottom: 1.5rem;
    }
    
    .floating-card .card-body {
        padding: 1rem !important;
    }
    
    .why-abu-dhabi {
        font-size: 0.85rem;
    }
}

/* Why Abu Dhabi Section */
.why-abu-dhabi small {
    display: block;
    line-height: 1.4;
    font-size: 0.8rem;
}

.advantage-item {
    padding: 0.25rem 0;
}

.market-data-section {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.market-data-section .small {
    font-size: 0.75rem;
}

.market-data-section tiny {
    font-size: 0.65rem;
    display: block;
    margin-top: 2px;
}

/* Professional Footer Styles */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    margin-top: 0;
}

.footer-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 40% 40%, rgba(25, 135, 84, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
}

.footer-brand {
    position: relative;
}

.footer-brand::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: #ffc107 !important;
    transform: translateX(5px);
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 10px;
}

/* Footer Stats */
.footer-stats .stat-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-stats .stat-item:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

/* Footer Badges */
.footer-badges .badge-item {
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 -12px;
}

.footer-badges .badge-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-badges-inline .badge {
    font-size: 0.7rem;
    padding: 6px 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Text utilities for footer */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem 0 !important;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 3rem !important;
    }
    
    .footer-brand::before {
        display: none;
    }
    
    .footer-brand h4 {
        font-size: 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        max-width: 300px;
        margin: 0 auto 1rem auto;
    }
    
    .footer-stats .row {
        margin-bottom: 0;
        justify-content: center;
    }
    
    .footer-stats .stat-item {
        padding: 10px;
        margin-bottom: 0;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .footer-bottom {
        padding: 1.5rem 0 !important;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:first-child {
        margin-bottom: 0.5rem;
    }
    
    .footer-badges-inline {
        justify-content: center !important;
        margin-top: 0.5rem;
    }
    
    /* Mobile-specific footer sections */
    .footer-main .row > .col-lg-8 .row {
        justify-content: center;
    }
    
    .footer-main .row > .col-lg-8 .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-main .row > .col-lg-8 .row > div:last-child {
        margin-bottom: 0;
    }
    
    /* Keep Legal and Data Sources side by side on mobile */
    .footer-main .row > .col-lg-8 .row > .col-6 {
        margin-bottom: 2rem;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-badges {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-badges .badge-item {
        margin: 0;
        padding: 8px 16px;
        width: fit-content;
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 2rem 0 1.5rem 0 !important;
    }
    
    .footer-brand {
        margin-bottom: 2rem !important;
    }
    
    .footer-brand h4 {
        font-size: 1.3rem;
    }
    
    .footer-brand svg {
        width: 24px;
        height: 24px;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-stats .stat-item {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .footer-stats .stat-item .h6 {
        font-size: 1rem;
    }
    
    .footer-main .row > .col-lg-8 .row > div {
        margin-bottom: 1.5rem;
    }
    
    /* Keep Legal and Data Sources side by side even on small mobile */
    .footer-main .row > .col-lg-8 .row > .col-6 {
        margin-bottom: 1.5rem;
        text-align: center;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-main h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
        padding: 0.2rem 0;
        display: block;
    }
    
    .footer-badges .badge-item {
        padding: 6px 12px;
        margin-bottom: 0.5rem;
    }
    
    .footer-badges .badge-item span {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 1rem 0 !important;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-bottom .small {
        font-size: 0.75rem !important;
    }
    
    /* Stack footer sections vertically on mobile */
    .footer-main .row > .col-lg-8 .row {
        justify-content: space-between;
    }
    
    .footer-main .row > .col-lg-8 .row > div {
        max-width: 100%;
        flex: none;
    }
    
    /* Ensure Legal and Data Sources stay side by side */
    .footer-main .row > .col-lg-8 .row > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    .footer-main {
        padding: 1.5rem 0 1rem 0 !important;
    }
    
    .footer-brand {
        margin-bottom: 1.5rem !important;
    }
    
    .footer-stats .row {
        gap: 0.5rem;
    }
    
    .footer-stats .col-6 {
        flex: 0 0 auto;
        width: auto;
        min-width: 120px;
    }
    
    .footer-main .row > .col-lg-8 .row > div {
        margin-bottom: 1rem;
    }
}

/* Feature Card Mobile Responsive Pills */
@media (max-width: 768px) {
    .feature-card .feature-list {
        gap: 0.3rem;
        justify-content: center;
        align-items: center;
        max-width: 240px;
    }
    
    .feature-card .feature-list .d-flex {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 10px;
        flex: 0 0 calc(50% - 0.15rem);
        white-space: nowrap;
        min-width: 100px;
        max-width: none;
        height: 26px;
        justify-content: center;
        text-align: center;
    }
    
    .feature-card .feature-list .d-flex .bi-check-circle-fill {
        font-size: 0.65rem;
        margin-right: 0.25rem !important;
    }
}

@media (max-width: 576px) {
    .feature-card .feature-list {
        gap: 0.25rem;
        margin-top: 0.75rem;
        justify-content: center;
        align-items: center;
        max-width: 200px;
    }
    
    .feature-card .feature-list .d-flex {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 8px;
        flex: 0 0 calc(50% - 0.125rem);
        white-space: nowrap;
        min-width: 80px;
        max-width: none;
        height: 24px;
        justify-content: center;
        text-align: center;
    }
    
    .feature-card .feature-list .d-flex .bi-check-circle-fill {
        font-size: 0.6rem;
        margin-right: 0.2rem !important;
    }
}

@media (max-width: 480px) {
    .feature-card .feature-list {
        gap: 0.2rem;
        flex-direction: row;
        justify-content: center;
        max-width: 180px;
    }
    
    .feature-card .feature-list .d-flex {
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
        border-radius: 6px;
        flex: 0 0 calc(50% - 0.1rem);
        min-width: 70px;
        height: 22px;
        justify-content: center;
        text-align: center;
    }
    
    .feature-card .feature-list .d-flex .bi-check-circle-fill {
        font-size: 0.55rem;
        margin-right: 0.15rem !important;
    }
}

/* Footer animation effects */
.footer-section .container > * {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Hover effects for footer sections */
.footer-main .row > div:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Professional Market Card Styles */
.professional-market-card {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.professional-market-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Market Metrics Grid */
.market-metrics-grid .metric-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.market-metrics-grid .metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.market-metrics-grid .metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.market-metrics-grid .metric-card:hover::before {
    left: 100%;
}

.metric-trend {
    margin-top: 4px;
}

.metric-trend small {
    font-size: 0.7rem;
    font-weight: 600;
}

/* Market Insights */
.market-insights {
    position: relative;
}

.insight-item {
    padding: 8px 0;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 -8px;
    padding: 8px;
}

.insight-item:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateX(4px);
}

.insight-icon {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Professional Typography */
.professional-market-card .fw-bold {
    letter-spacing: -0.02em;
}

.professional-market-card .text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

.professional-market-card .h4 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .professional-market-card {
        border-radius: 16px;
        margin: 1rem 0.5rem;
    }
    
    .professional-market-card .card-body {
        padding: 1.5rem !important;
    }
    
    .market-metrics-grid .metric-card {
        padding: 0.75rem !important;
        margin-bottom: 0.5rem;
        border-radius: 12px;
    }
    
    .market-metrics-grid .h4 {
        font-size: 1.2rem !important;
    }
    
    .insight-item {
        padding: 6px;
        margin: 0 -6px;
    }
    
    .professional-market-card .market-insights .fw-bold {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .professional-market-card .fs-5 {
        font-size: 1.1rem !important;
    }
    
    .market-metrics-grid .row {
        gap: 0.5rem !important;
    }
    
    .market-metrics-grid .col-6 {
        flex: 0 0 calc(50% - 0.25rem);
    }
    
    .market-metrics-grid .metric-card {
        border-radius: 10px;
    }
    
    .professional-market-card .market-insights .fw-bold {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .professional-market-card .card-body {
        padding: 1rem !important;
    }
    
    .professional-market-card .market-insights .fw-bold {
        text-align: center !important;
    }
}

/* Icon wrapper professional styling */
.professional-market-card .icon-wrapper {
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    transition: all 0.3s ease;
}

.professional-market-card .icon-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* Badge enhancement */
.professional-market-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.icon-wrapper {
    flex-shrink: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    border: none;
    color: #000;
    font-weight: 600;
    text-shadow: none;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffca2c, #ffa000);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
    color: #000;
}

/* Professional Navigation Styles */
.navbar {
    background: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.navbar-brand svg {
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, #0d6efd, #0056b3) !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
}

/* Responsive Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(33, 37, 41, 0.98);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-item .btn {
        margin-top: 1rem;
        width: 100%;
    }
}
