
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #1a1d2e;
    --card-bg: #252836;
    --text-primary: #ffffff;
    --text-secondary: #a0a3bd;
   --accent-gold: #FFD700;
    --accent-green: #4caf50;
    --success: #00d4aa;
    --warning: #ffb800;
    --danger: #ff4757;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(26, 29, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-gold );
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

 

  .logo-badge {
    width: 150px;              
    height: 150px;           
    border-radius: 50%;       
    background-color: #ffffff; 
    display: flex;             
    align-items: center;
    justify-content: center;
    overflow: hidden;          
    border: 3px solid var(--accent-gold); /* Gold border for logo */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); 
    flex-shrink: 0;   
}
.header-logo {
    width: 100%;             
    height: 100%;             
    object-fit: contain;       
    padding: 5px;             
}
   

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    font-size: 28px;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text p {
    font-size: 12px;
    color: var(--text-secondary);
}

.main-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-gold);
}

.login-btn {
    background: var(--secondary-gradient);
    color: white;
    margin-left: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #dce1e566;
}
/* Container for the signup section */
.signup-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee; 
}


.signup-btn-simple {
    width: 100%;
    background: transparent;
    color: #e1e5e9;
    border: 2px solid #2c3e50;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
}
.forgot-password{
    font-size: 14px;
    color: #f9f9fb;
    margin-bottom: 10px;
}

/* Ensure the original login button has space below it */
.login-submit {
    margin-bottom: 10px;
}

/* Hero Section */
.hero {
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar */
.sidebar {
    background: rgba(37, 40, 54, 0.8);
    border: 1px solid var(--accent-green);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-card {
    background: rgba(79, 172, 254, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid var(--accent-gold);
}

.status-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.profile-info i {
    font-size: 48px;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.profile-info span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-info small {
    color: var(--text-secondary);
    font-size: 12px;
}

.menu-section {
    margin-bottom: 25px;
}

.menu-section h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-section ul {
    list-style: none;
}

.menu-section li {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.menu-section li:hover {
    background: rgba(79, 172, 254, 0.1);
    color:var(--accent-gold);
    transform: translateX(5px);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-section {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Activity Section */
.activity-section {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.activity-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.activity-item {
    background: rgba(79, 172, 254, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-blue);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.2);
}

.activity-item i {
    font-size: 24px;
    color: var(--success);
}

.activity-details {
    flex: 1;
}

.activity-details strong {
    display: block;
    margin-bottom: 5px;
}

.activity-details p {
    color: var(--text-secondary);
    font-size: 14px;
}

.activity-actions {
    display: flex;
    gap: 10px;
}

.activity-actions button {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-review {
    background:var(--accent-green);
    color: white;
}

.btn-download {
    background: rgba(79, 172, 254, 0.2);
    color: var(--accent-gold);;
}

.activity-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

/* Alerts */
.alerts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alert-item {
    background: rgba(255, 183, 0, 0.1);
    border: 1px solid var(--warning);
    border-left: 4px solid var(--warning);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-item i {
    color: var(--warning);
    font-size: 24px;
}

.alert-item span {
    flex: 1;
    font-size: 14px;
}

.alert-actions {
    display: flex;
    gap: 10px;
}

.alert-actions button {
    padding: 8px 16px;
    border: 1px solid var(--warning);
    background: transparent;
    color: var(--warning);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-actions button:hover {
    background: var(--warning);
    color: var(--dark-bg);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
    border-color: var(--accent-blue);
}

.stat-card h4 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-change {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.stat-change.positive {
    background: rgba(0, 212, 170, 0.2);
    color: var(--success);
}

/* Chart Section */
.chart-section {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-section h3 {
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.chart-placeholder {
    height: 200px;
    border-radius: 12px;
    background: rgba(79, 172, 254, 0.05);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.chart-bars {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-end;
    height: 100%;
}

.bar {
    flex: 1;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

/* Task Timeline */
.task-timeline {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.task-timeline h3 {
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.timeline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline span {
    padding: 10px 20px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline span:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
}

/* Newsletter */
.newsletter {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 10px;
    background: rgba(37, 40, 54, 0.5);
    color: white;
    font-size: 16px;
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.newsletter-form button {
    padding: 15px 40px;
    background: var(--warning);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 183, 0, 0.4);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(37, 40, 54, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.3);
}

.stars {
    color: var(--warning);
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
}

.author strong {
    display: block;
}

.author span {
    color: var(--text-secondary);
    font-size: 14px;
}

/*<chatbot >*/


/* Chatbot Container Positioning */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* The Chat Window (Hidden by default) */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none; /* Hidden */
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Show window when active class is added via JS */
.chat-window.active {
    display: flex;
}

/* Floating Toggle Button */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #00bcd4; /* Cyan from your theme */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Chat Header Styles */
.chat-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

/* Typing Indicator (Hidden by default) */
.typing-indicator {
    display: none;
    padding: 10px;
}
.typing-indicator.active {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* Chat Footer & Input */
.chat-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 5px;
    outline: none;
}

.chat-send-btn {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.google { background: #df4b3b; color: white; }
.facebook { background: #3b5998; color: white; }

.divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    line-height: 0.1em;
    margin: 20px 0;
}
.divider span { background:#fff; padding:0 10px; color: #999; font-size: 12px; }

.direct-btn {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #2c3e50;
    color: #2c3e50;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* Chat area after login */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fdfdfd;
}

.message { padding: 10px; border-radius: 10px; max-width: 80%; font-size: 14px; }
.bot { background: #eef2f7; align-self: flex-start; color: #333; }
.user { background: #2c3e50; color: white; align-self: flex-end; }
#typingIndicator {
    display: none; /* Hidden by default */
}

#typingIndicator.active {
    display: flex; /* Shown when active */
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 5px;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

/* Floating Toggle Button */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    float: right;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Footer */
.footer {
    background: rgba(26, 29, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px 0 30px;
    border-top: 1px solid(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.footer-logo i {
    color: var(--accent-blue);
    font-size: 24px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(79, 172, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }
}