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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.poster-container {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background-color: #f8f9fa;
    position: absolute;
    /* Changed from relative to absolute to fix layout shift */
    top: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 0;
    /* Ensure it stays behind main content */
}

/* Background Elements */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background-color: #81c784;
    top: -100px;
    right: -100px;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background-color: #4caf50;
    bottom: 200px;
    left: -100px;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #1a5e3a;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.sidebar-brand .material-icons {
    margin-right: 8px;
}

.sidebar-close {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    flex: 1;
    padding: 24px 0;
    overflow-y: auto;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.sidebar-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.sidebar-menu-item.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #4caf50;
}

.sidebar-menu-item .material-icons {
    margin-right: 16px;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    color: white;
}

.sidebar-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 12px;
}

.sidebar-profile-info {
    flex: 1;
}

.sidebar-profile-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.sidebar-profile-email {
    font-size: 14px;
    opacity: 0.8;
}

/* Overlay for sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease-in-out;
}

.main-content.shifted {
    margin-left: 280px;
}

/* Navigation Bar */
.navbar {
    background-color: #1a5e3a;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #333;
    transition: background-color 0.2s;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f1f8e9;
    color: #1a5e3a;
}

.dropdown-item .material-icons {
    margin-right: 10px;
    font-size: 18px;
    color: #555;
    transition: color 0.2s;
}

.dropdown-item:hover .material-icons {
    color: #1a5e3a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        margin-top: 15px;
    }

    to {
        opacity: 1;
        margin-top: 8px;
    }
}

.navbar-left {
    display: flex;
    align-items: center;
}

.menu-toggle {
    color: white;
    cursor: pointer;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.brand {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.brand .material-icons {
    margin-right: 8px;
}

.navbar-center {
    display: flex;
    gap: 32px;
    /* Increased gap for better breathing room */
    align-items: center;
    /* Ensure vertical center alignment */
}

.navbar-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: inline-flex;
    /* Fix for icon alignment */
    align-items: center;
    gap: 4px;
    /* Space between text and icon */
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

.navbar-link:hover,
.navbar-link.active {
    color: #ffffff;
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

/* Dropdown Container Fix */
.nav-item-dropdown {
    position: relative;
    display: flex;
    /* Make it behave like the other flex items */
    align-items: center;
    height: 100%;
}



.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.nav-btn:hover::before {
    width: 100%;
    height: 100%;
}

.login-btn {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signin-btn {
    background-color: #4caf50;
    color: white;
}

.signin-btn:hover {
    background-color: #1a5e3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    padding: 60px 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #1a5e3a;
    line-height: 1.2;
    margin-bottom: 8px;
    animation: pulse 2s infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    font-size: 20px;
    color: #1a5e3a;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 100%;
    height: 100%;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: #4caf50;
    color: white;
}

.btn-primary:hover {
    background-color: #1a5e3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 60px;
}

.slides-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.btn-secondary:hover {
    background-color: white;
    color: #1a5e3a;
}

/* Animations */
.slide-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.5s;
}

.delay-2 {
    transition-delay: 0.7s;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: white;
}

.dot.active {
    background-color: #4caf50;
    transform: scale(1.2);
}

/* Cleanup */
.hero {
    display: none;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Cards */
/* Feature Sections Layout */
.feature-sections {
    display: flex;
    flex-direction: column;
    gap: 80px;
    /* Space between sections */
    margin-bottom: 120px;
    margin-top: 40px;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

/* Feature Content */
.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
}

.feature-label .material-icons {
    font-size: 18px;
    margin-right: 8px;
}

.food-label {
    background-color: rgba(99, 102, 241, 0.1);
    color: #4caf50;
}

.travel-label {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.sub-label {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.bills-label {
    background-color: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.feature-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a5e3a;
    line-height: 1.1;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 90%;
}

.feature-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.meta-label {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

.feature-btn {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

/* Feature Media (Video) */
.feature-media {
    flex: 1;
    position: relative;
}

.media-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: #000;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.feature-section:hover .media-container {
    transform: perspective(1000px) rotateY(2deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.feature-section.reverse:hover .media-container {
    transform: perspective(1000px) rotateY(-2deg) translateY(-10px);
}

.media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 968px) {
    .feature-section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 0;
    }

    .feature-section.reverse {
        flex-direction: column;
    }

    .feature-content {
        align-items: center;
    }

    .feature-title {
        font-size: 32px;
    }

    .feature-description {
        max-width: 100%;
    }

    .feature-meta {
        justify-content: center;
        width: 100%;
        gap: 20px;
        /* Adjust gap for mobile */
    }

    .meta-item {
        align-items: center;
        /* Center the text/values */
    }

    .feature-btn {
        align-self: center;
        /* Center the button */
        width: auto;
        min-width: 200px;
        text-align: center;
    }
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.video-player {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background-color: white;
}

.video-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.05);
}

.video-tips-btn {
    padding: 6px 12px;
    background-color: #1a5e3a;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-tips-btn:hover {
    background-color: #0d4029;
    transform: translateY(-2px);
}

/* Analytics Row */
.analytics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.analytics-card {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.budget-progress {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.budget-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.budget-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a5e3a;
}

.budget-bar {
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.budget-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(to right, #4caf50, #ffeb3b, #f44336);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.budget-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.pie-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.chart-container {
    width: 160px;
    height: 160px;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.heatmap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
}

.heatmap-cell {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    transition: transform 0.2s;
}

.heatmap-cell:hover {
    transform: scale(1.2);
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.heatmap-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* Bottom Row */
.bottom-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.top-spending {
    flex: 1;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.top-spending:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.spending-title {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
}

.spending-list {
    list-style-type: none;
}

.spending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.spending-item:hover {
    transform: translateX(5px);
}

.spending-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e8f5e9;
    color: #1a5e3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.shock-mode {
    flex: 1;
    background-color: #1a5e3a;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.shock-mode::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

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

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.shock-mode:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.shock-title {
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.shock-content {
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Footer */
/* Footer - Premium Dark Theme */
.footer {
    background-color: #111;
    color: #fff;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 10;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-title.teal {
    color: #4db6ac;
}

.footer-title.orange {
    color: #ffb74d;
}

.footer-title.charcoal {
    color: #fff;
}

.footer-links {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #4db6ac;
    transform: translateX(5px);
}

.footer-divider {
    display: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.app-buttons {
    display: flex;
    gap: 16px;
}

.footer-text {
    color: #666;
    font-size: 14px;
}

.footer-pattern {
    display: none;
    /* Removing simple pattern for cleaner look */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .analytics-row {
        flex-wrap: wrap;
    }

    .analytics-card {
        flex-basis: calc(50% - 10px);
    }

    .bottom-row {
        flex-wrap: wrap;
    }

    .top-spending,
    .shock-mode {
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px;
    }

    .navbar-center {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .analytics-card {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .top-spending,
    .shock-mode {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    /* Heatmap Mobile Scaling */
    .heatmap-grid {
        gap: 2px !important;
    }

    .heatmap-cell {
        width: 10px !important;
        height: 10px !important;
    }

    .footer-section {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .footer-divider {
        display: none;
    }

    /* Mobile Improvements for Charts */
    .chart-container {
        height: 300px;
        /* Reduce height on mobile */
    }

    #barChartModal .chart-container {
        height: 300px !important;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .app-buttons {
        margin-bottom: 20px;
    }
    
    /* Dashboard Grid Mobile */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}


@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .navbar-right {
        gap: 8px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Authentication Modals */
.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: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-overlay.active {
    display: block;
    opacity: 1;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal h2 {
    color: #1a5e3a;
    margin-bottom: 20px;
    text-align: center;
    font-size: 28px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #4caf50;
    outline: none;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.modal-footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 600;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #4caf50;
}

.toast.error {
    background: #f44336;
}

/* User Profile Navbar */
#userProfile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-greeting {
    font-weight: 600;
    color: #333;
}

.nav-btn.logout-btn {
    background: transparent;
    color: #f44336;
    border: 1px solid #f44336;
    padding: 8px 16px;
}

.nav-btn.logout-btn:hover {
    background: #f44336;
    color: white;
}

/* Food Details Modal */
.large-modal {
    max-width: 900px;
    width: 95%;
    height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.food-dashboard {
    padding: 20px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.stat-card h3 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transaction-list-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    max-height: 400px;
    overflow-y: auto;
}

.transaction-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

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

.t-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #333;
}

.t-date {
    font-size: 12px;
    color: #888;
}

.t-amount {
    font-weight: 600;
    color: #e74c3c;
}

.delete-btn {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.6;
}

.delete-btn:hover {
    opacity: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Budget Header Styles */
.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-icon {
    cursor: pointer;
    font-size: 18px;
    color: #888;
    transition: color 0.3s ease, transform 0.2s;
}

.edit-icon:hover {
    color: #1a5e3a;
    transform: scale(1.1);
}

.filter-select {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #4caf50;
}

/* Contact Modal Styles */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-option-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.contact-option-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #4CAF50;
    transform: translateY(-2px);
}

/* =========================================
   DARK MODE THEME
   ========================================= */

body.dark-mode {
    background-color: #0f172a;
    /* Slate 900 */
    color: #e2e8f0;
    /* Slate 200 */
}

/* Background Posters */
body.dark-mode .poster-container {
    background-color: #0f172a;
}

body.dark-mode .bg-grid {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Navbar & Sidebar */
body.dark-mode .navbar {
    background-color: #1e293b;
    /* Slate 800 */
    border-bottom: 1px solid #1f2937;
}

body.dark-mode .sidebar {
    background-color: #1e293b;
    border-right: 1px solid #1f2937;
}

body.dark-mode .sidebar-menu-item {
    color: #94a3b8;
}

body.dark-mode .sidebar-menu-item:hover,
body.dark-mode .sidebar-menu-item.active {
    color: #4caf50;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Dropdowns */
body.dark-mode .dropdown-menu {
    background-color: #1e293b;
    /* Slate 800 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

body.dark-mode .dropdown-item {
    color: #e2e8f0;
}

body.dark-mode .dropdown-item:hover {
    background-color: #334155;
    color: #4caf50;
}

body.dark-mode .dropdown-item .material-icons {
    color: #94a3b8;
}

body.dark-mode .dropdown-item:hover .material-icons {
    color: #4caf50;
}

/* Analytics Cards */
body.dark-mode .analytics-card {
    background-color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    color: #e2e8f0;
    border: 1px solid #334155;
}

body.dark-mode .budget-title {
    color: #94a3b8;
}

body.dark-mode .budget-amount {
    color: #e2e8f0;
}

body.dark-mode .budget-bar {
    background-color: #334155;
}

/* Heatmap */
body.dark-mode .heatmap-cell[style*="background-color: #e8f5e9"] {
    background-color: #334155 !important;
}

/* Feature Sections */
body.dark-mode .feature-title {
    color: #f1f5f9;
}

body.dark-mode .feature-description {
    color: #cbd5e1;
}

body.dark-mode .feature-meta {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.dark-mode .meta-label {
    color: #94a3b8;
}

body.dark-mode .meta-value {
    color: #4caf50;
}

/* Modals */
body.dark-mode .modal {
    background-color: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
}

body.dark-mode .modal-close {
    color: #94a3b8;
}

body.dark-mode .modal-close:hover {
    color: #f1f5f9;
}

/* Transaction List */
body.dark-mode .transaction-item {
    background-color: #0f172a;
    border-bottom: 1px solid #334155;
}

body.dark-mode .trans-cat {
    color: #e2e8f0;
}

body.dark-mode .trans-date {
    color: #94a3b8;
}

body.dark-mode .trans-amount {
    color: #f87171;
}

/* Theme Toggle Button */
body.dark-mode .theme-toggle {
    color: #fbbf24;
    /* Sun Color */
    transform: rotate(180deg);
}

.theme-toggle {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 24px;
    padding: 8px;
    border-radius: 50%;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Spending Areas Fix for Dark Mode */
.spending-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

body.dark-mode .spending-title {
    color: #4caf50 !important;
    /* Force Green */
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
    font-size: 22px;
    border-bottom: 2px solid #334155;
    padding-bottom: 10px;
    display: block;
    /* Ensure block layout for border */
}

.spending-item {
    background-color: white;
    color: #333;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .spending-item {
    background-color: #1e293b;
    color: #e2e8f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.spending-number {
    background-color: #e8f5e9;
    color: #2e7d32;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

body.dark-mode .spending-number {
    background-color: #334155;
    color: #4caf50;
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(5deg);
    }

    40% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

/* Smart Track Button */
.ai-track-btn {
    background: linear-gradient(135deg, #673ab7, #512da8);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(103, 58, 183, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-track-btn:hover {
    background: linear-gradient(135deg, #7e57c2, #5e35b1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(103, 58, 183, 0.4);
}

.ai-track-btn .material-icons {
    font-size: 18px;
}

/* User Greeting Styles */
.user-greeting {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-right: 15px;
}

body.dark-mode .user-greeting {
    color: #4caf50;
    /* Bright Green for Dark Mode Visibility */
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

/* Profile Avatar Button in Navbar */
.profile-avatar-btn {
    background: transparent;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 8px;
    /* Spacing between greeting and logout */
    border: 2px solid #4caf50;
    /* Primary color border */
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    /* Clip image */
    position: relative;
}

.nav-avatar {
    width: 100%;
    height: 100%;
    background-color: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}




.profile-avatar-btn:hover {
    transform: scale(1.1);
    border-color: #69f0ae;
    /* Brighter green on hover */
    box-shadow: 0 0 0 4px rgba(105, 240, 174, 0.3), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profile-avatar-btn:hover .nav-avatar {
    background-color: #4f46e5;
}

.profile-avatar-btn span {
    pointer-events: none;
    /* Ensure click hits button */
}

/* Sidebar Logout Button Premium Styles */
.sidebar-logout-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.5);
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
}

.sidebar-logout-btn .material-icons {
    font-size: 20px;
}

/* Language Switcher */
.language-dropdown-container {
    position: relative;
    margin: 0 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.lang-btn .material-icons {
    font-size: 18px;
}

.lang-code {
    font-size: 14px;
    font-weight: 600;
}

.lang-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    min-width: 150px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideDown 0.3s ease forwards;
}

.lang-menu.active {
    display: flex;
}

.lang-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
}

.lang-item:hover {
    background: #f0f7ff;
    color: #4caf50;
}

.lang-item.active {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 700;
}

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

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .lang-code {
        display: none;
        /* Icon only on mobile */
    }

    .lang-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

/* User Profile Modal Styles */
.profile-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.profile-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    background-color: #4caf50;
    color: white;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

#profileName {
    font-size: 24px;
    color: #1a5e3a;
    margin-bottom: 4px;
}

#profileEmail {
    color: #666;
    margin-bottom: 8px;
    font-size: 15px;
}

.profile-since {
    font-size: 13px;
    color: #888;
    background-color: #f1f8e9;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 24px;
    background-color: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
}

.profile-stat-item {
    text-align: center;
    flex: 1;
}

.profile-stat-item:first-child {
    border-right: 1px solid #e0e0e0;
}

.stat-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.profile-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-danger {
    background-color: #fff;
    color: #e53935;
    border: 1px solid #e53935;
}

.btn-danger:hover {
    background-color: #ffebee;
}

/* Responsive adjustments for Profile Modal */
@media (min-width: 600px) {
    .profile-actions {
        flex-direction: row;
    }
}

/* =========================================
   FOOTER STYLES (EASY FISHY INSPIRED)
   ========================================= */

.main-footer {
    background-color: #f8fafc; /* Light gray background */
    padding: 100px 0 0 0;
    border-top: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding: 0 40px 60px 40px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Info Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .material-icons {
    color: #6366f1; /* Indigo color for logo */
    font-size: 32px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.footer-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.social-btn .material-icons {
    font-size: 18px;
}

/* Links Column */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: "•";
    color: #6366f1;
    margin-right: 8px;
    font-size: 18px;
}

.footer-links a:hover {
    color: #6366f1;
}

/* About Column */
.footer-about p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.footer-about .highlight {
    color: #0d9488; /* Teal highlight similar to screenshot */
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(13, 148, 136, 0.2);
}

/* Bottom Bar */
.footer-bottom-bar {
    background: white;
    padding: 24px 40px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-bottom-bar p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* DARK MODE OVERRIDES */
body.dark-mode .main-footer {
    background-color: #0f172a; /* Same as body for seamless look */
    border-top: 1px solid #1e293b;
}

body.dark-mode .footer-container {
    border-color: #1e293b;
}

body.dark-mode .footer-logo h2 {
    color: #f8fafc;
}

body.dark-mode .footer-col h3 {
    color: #94a3b8;
}

body.dark-mode .footer-desc, 
body.dark-mode .footer-links a, 
body.dark-mode .footer-about p {
    color: #94a3b8;
}

body.dark-mode .social-btn {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

body.dark-mode .footer-bottom-bar {
    background-color: #020617; /* Very deep blue for contrast */
    border-top: 1px solid #1e293b;
}

body.dark-mode .footer-about .highlight {
    color: #2dd4bf; /* Brighter teal for dark mode */
    text-decoration-color: rgba(45, 212, 191, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-about {
        grid-column: span 1;
    }
    .footer-logo, .footer-desc, .social-links, .footer-links a {
        justify-content: center;
    }
    .footer-desc {
        max-width: 100%;
    }
}