* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #6366F1;
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --dark-color: #020617;
    --light-color: #F9FAFB;
    --text-color: #E5E7EB;
    --text-secondary: #CBD5E1;
    --border-color: #374151;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 18px 30px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 25px 50px rgba(79, 70, 229, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    background-image: url('https://img.freepik.com/free-vector/blue-background-with-white-line-middle_483537-4470.jpg?semt=ais_hybrid&w=740&q=80');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --dark-color: #020617; /* deep slate for headings / footers */
    --light-color: #020617;
    --text-color: #E5E7EB;
    --border-color: #374151;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 18px 30px rgba(0, 0, 0, 0.55);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #020617;
    background-image: radial-gradient(circle at top left, #020617 0%, #1a1a2e 30%, #0f3460 60%, #020617 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

body {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
    position: sticky;
    top: 52px;
    z-index: 90;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
    gap: 2rem;
    text-transform: uppercase;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
    gap: 2rem;
    width: 100%;
    flex-wrap: nowrap;
    text-transform: uppercase;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: auto;
}

.nav-logo {
    height: 45px;
    width: auto;
    max-width: 140px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-menu li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.btn-icon:hover {
    transform: scale(1.1);
}

#authButtons {
    display: flex;
    align-items: center;
}

/* Top Navbar for Vision / SkillHub */
.top-navbar {
    background: linear-gradient(90deg, #152269, #192b8a);
    color: #F9FAFB;
    padding: 0.4rem 0;
    border-bottom: 3px solid #FACC15;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-navbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-logo-mark {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
}

.top-navbar-right {
    display: flex;
    gap: 0.5rem;
}

.top-pill {
    border-radius: 999px;
    border: none;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #FACC15;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.top-pill:not(.active) {
    background-color: #1F2937;
    color: #E5E7EB;
}

.top-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.top-pill.active {
    background-color: #FACC15;
    color: #111827;
}

.secondary-navbar {
    margin-top: 0;
}

/* Chatbot widgets */
.chatbot-launchers {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    z-index: 80;
}

.chatbot-launcher-note {
    background: rgba(15,23,42,0.8);
    color: #F9FAFB;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.chatbot-launch-btn {
    border-radius: 999px;
    border: none;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: #F9FAFB;
    box-shadow: var(--shadow-lg);
}

.chatbot-launch-btn.vision {
    background: #4F46E5;
}

.chatbot-launch-btn.skillhub {
    background: #10B981;
}

.chatbot-panel {
    position: fixed;
    right: 1.5rem;
    bottom: 4.8rem;
    width: 320px;
    max-height: 420px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 85;
}

.chatbot-panel.hidden {
    display: none;
}

.chatbot-header {
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #F9FAFB;
    font-weight: 600;
}

.chatbot-header.vision {
    background: #4F46E5;
}

.chatbot-header.skillhub {
    background: #10B981;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
}

.chatbot-messages {
    padding: 0.75rem;
    flex: 1;
    overflow-y: auto;
    background: #F3F4F6;
}

.chatbot-bubble {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    max-width: 85%;
}

.chatbot-bubble.user {
    margin-left: auto;
    background: #4F46E5;
    color: #F9FAFB;
}

.chatbot-bubble.bot {
    margin-right: auto;
    background: #FFFFFF;
    color: #111827;
}

.chatbot-form {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid var(--border-color);
    background: white;
}

.chatbot-form input[type="text"] {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.chatbot-form button[type="submit"] {
    border-radius: 999px;
    border: none;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary-color);
    color: #F9FAFB;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 6rem 0 8rem;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
}


.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-team-strip {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-avatar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 190px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(79, 70, 229, 0.3);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}

.hero-avatar:hover {
    transform: translateY(-15px);
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.3);
    border-color: rgba(79, 70, 229, 0.6);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.8) 100%);
}

.hero-avatar:hover::before {
    top: -30%;
    right: -30%;
}

.hero-avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FBBF24;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.hero-avatar:hover img {
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    transform: scale(1.08);
}

.hero-avatar span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #E5E7EB;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

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

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: none;
    padding: 0;
}

.btn-link:hover {
    color: #6366F1;
    transform: translateX(5px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-disabled, .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Features Section */
.features {
    padding: 4rem 0;
}
.features {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #F9FAFB;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: -1.5rem auto 2.5rem auto;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(79, 70, 229, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover::before {
    top: -30%;
    right: -30%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(79, 70, 229, 0.6);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F9FAFB;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Founder Section */
.founder-section {
    padding: 4rem 0;
    background-color: white;
}
.founder-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.founder-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image-wrapper {
    display: flex;
    justify-content: center;
}

.founder-image {
    position: relative;
    width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--primary-color);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info h3 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.founder-info h3 {
    font-size: 2.2rem;
    color: #F9FAFB;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.founder-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.founder-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}
.founder-info > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E5E7EB;
    margin-bottom: 2rem;
}

.founder-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founder-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1.05rem;
    color: var(--dark-color);
    font-weight: 500;
}
.founder-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    font-size: 1.05rem;
    color: #E5E7EB;
    font-weight: 500;
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.stat-icon {
    font-size: 1.8rem;
}

.stat-details p {
    color: black;
}
/* About Section with Photo */
.about-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}
.about-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.about-logo {
    max-width: 260px;
    max-height: 260px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.about-image img:not([src]), 
.about-image img[src=""],
.about-image img[src*="team.jpg"]:not([src*="http"]) {
    display: none;
}

.about-image .image-placeholder small {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}
.about-text h3 {
    font-size: 2rem;
    color: #F9FAFB;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.about-icon {
    font-size: 1.5rem;
}

/* Core Team Section */
.team-section {
    padding: 4rem 0;
    background-color: white;
}
.team-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.5) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4F46E5 0%, #10B981 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: var(--shadow-xl);
}

.team-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FBBF24;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.4);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #F9FAFB;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 3rem 0;
}
.stats {
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.stat-number {
    font-size: 2.5rem;
    color: #FACC15;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-size: 1rem;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}
.content-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-transform: uppercase;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-select,
.search-input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.search-input {
    flex: 1;
    min-width: 250px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.content-card {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.98));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(129, 140, 248, 0.45);
}

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

.content-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.content-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Announcements page */
.announcements-list-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.announcement-card {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.98));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(129, 140, 248, 0.45);
}

.announcement-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.announcement-card p {
    margin-bottom: 0.75rem;
}

.announcement-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6B7280;
}

.content-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

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

.content-card .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
    color: var(--dark-color);
    text-transform: uppercase;
    width: 600px;
}

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

.modal-large {
    max-width: 900px;
}

.modal-small {
    max-width: 500px;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Upload Progress */
.upload-progress {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

#progressText {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-color);
}

/* Chat Styles */
.chat-section {
    padding: 2rem 0;
    min-height: calc(100vh - 150px);
}
.chat-section {
    padding: 2rem 0;
    min-height: calc(100vh - 150px);
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
}

.chat-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
}

.chat-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.chat-sidebar h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.room-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.room-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.room-item:hover {
    background-color: var(--light-color);
}
.room-item:hover {
    background-color: rgba(31, 41, 55, 0.95);
}

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

.room-icon {
    font-size: 1.25rem;
}

.chat-main {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.chat-main {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(55, 65, 81, 0.9);
}

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

.chat-header h2 {
    color: var(--dark-color);
}

.online-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}
.online-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #D1D5DB;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.message.own {
    align-self: flex-end;
}

.message.system {
    align-self: center;
    max-width: 90%;
}

.message-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.message-username {
    font-weight: 600;
    color: var(--primary-color);
}

.message-time {
    color: #9CA3AF;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background-color: var(--light-color);
    word-wrap: break-word;
}
.message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background-color: #111827;
    word-wrap: break-word;
    color: #E5E7EB;
}

.message.own .message-content {
    background-color: var(--primary-color);
    color: white;
}

.message.system .message-content {
    background-color: #FEF3C7;
    color: #92400E;
    text-align: center;
    font-style: italic;
}

.chat-input-container {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

#messageInput {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

#messageInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* ==================== HAMBURGER MENU ==================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.35rem;
    z-index: 105;
    transition: var(--transition);
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== MOBILE SIDEBAR ==================== */

.mobile-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(79, 70, 229, 0.2);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 104;
    padding-top: 130px;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-close {
    position: fixed;
    top: 90px;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 106;
    padding: 0;
    transition: var(--transition);
}

.mobile-sidebar-close:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
}

.mobile-sidebar .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.mobile-sidebar .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.mobile-sidebar .nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.mobile-sidebar .nav-menu a:hover,
.mobile-sidebar .nav-menu a.active {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Mobile Sidebar Actions */
.mobile-sidebar-actions {
    padding: 1.5rem;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    margin-top: 1rem;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.logout-item {
    color: #F87171;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex !important;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-container {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0.5rem 0;
        justify-content: space-between;
        align-items: center;
    }

    .nav-brand {
        order: 1;
        flex-shrink: 0;
    }

    .hamburger-menu {
        order: 3;
    }

    .navbar {
        padding: 1rem 1.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Adjust notification bell on mobile */
    .notification-bell {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }

    /* Hide auth buttons on navbar, show in sidebar */
    .navbar-auth {
        display: none;
    }

    /* Mobile sidebar animations */
    .mobile-sidebar {
        animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideIn {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 0;
            opacity: 1;
        }
    }

    /* Adjust modal z-index to be above sidebar */
    .modal {
        z-index: 1050;
    }

    .modal-backdrop {
        z-index: 1040;
    }

    .nav-menu {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    /* Show nav menu items inside mobile sidebar */
    .mobile-sidebar .nav-menu {
        display: flex !important;
    }

    /* Hide dark mode toggle on mobile */
    #darkModeToggle {
        display: none !important;
    }

    /* Hide profile dropdown on mobile */
    .profile-dropdown-container {
        display: none !important;
    }

    /* Hide login link on mobile */
    #loginLink {
        display: none !important;
    }

    /* Show only notification bell on mobile */
    .nav-actions {
        order: 2;
        width: auto;
        gap: 0.5rem;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .hero {
        min-height: 400px;
        padding: 4rem 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-video-bg iframe {
        width: 300vw;
        left: 50%;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .chat-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chat-sidebar {
        display: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img,
    .about-image .image-placeholder {
        height: 300px;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-image {
        width: 280px;
        height: 360px;
    }

    .founder-info h3 {
        font-size: 1.8rem;
    }

    .founder-quote {
        font-size: 1.1rem;
    }
}

/* Dark Mode */
body.dark-mode {
    --light-color: #111827;
    --text-color: #E5E7EB;
    --dark-color: #F9FAFB;
    --border-color: #374151;
    background-color: #1F2937;
}

body.dark-mode .navbar,
body.dark-mode .feature-card,
body.dark-mode .content-card,
body.dark-mode .modal-content,
body.dark-mode .chat-main,
body.dark-mode .chat-sidebar,
body.dark-mode .stats,
body.dark-mode .about-section,
body.dark-mode .founder-section,
body.dark-mode .team-section {
    background-color: #111827;
    color: #E5E7EB;
}

body.dark-mode .founder-stat {
    background-color: #374151;
}

body.dark-mode .filter-select,
body.dark-mode .search-input,
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background-color: #374151;
    color: #E5E7EB;
    border-color: #4B5563;
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #020617 0%, #0B1120 40%, #020617 100%);
    padding: 2rem;
}

.auth-box {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.98));
    padding: 3.2rem 3rem;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75);
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(22px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.4rem;
}

.auth-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-header h1 {
    color: #E5E7EB;
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.auth-header p {
    color: #CBD5F5;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
}

.auth-footer p {
    margin: 0.5rem 0;
    color: #E5E7EB;
}

.auth-footer a {
    color: #38BDF8;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Google Sign-In Styles */
.google-signin-container {
    margin-bottom: 1.5rem;
}

.google-login-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.google-login-btn:not(:disabled):hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #6B7280;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.g_id_signin {
    width: 100% !important;
}

/* Admin Badge */
.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--secondary-color);
}

.toast.error {
    border-left: 4px solid #EF4444;
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #6B7280;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(90deg, #FBBF24 0%, #F59E0B 100%);
    color: #92400E;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.announcement-banner.info {
    background: linear-gradient(90deg, #60A5FA 0%, #3B82F6 100%);
    color: white;
}

.announcement-banner.success {
    background: linear-gradient(90deg, #34D399 0%, #10B981 100%);
    color: white;
}

.announcement-banner.danger {
    background: linear-gradient(90deg, #F87171 0%, #EF4444 100%);
    color: white;
}

.announcement-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Profile Page */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.profile-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.profile-main {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: black;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

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

/* Admin Dashboard */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.admin-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.admin-section h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-transform: uppercase;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    color: var(--dark-color);
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-item {
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--light-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.announcement-item.warning {
    border-left-color: #F59E0B;
}

.announcement-item.success {
    border-left-color: var(--secondary-color);
}

.announcement-item.danger {
    border-left-color: #EF4444;
}

.announcement-content h4 {
    margin-bottom: 0.5rem;
}

.announcement-meta {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.data-table {
    overflow-x: auto;
    color: black;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-weight: 600;
    color: #111827; /* clear header text on light rows */
}

/* Doubt System */
.doubt-status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.4rem;
    color: #F9FAFB;
}

.doubt-status-badge.pending {
    background-color: #F97316;
}

.doubt-status-badge.in-progress {
    background-color: #3B82F6;
}

.doubt-status-badge.resolved {
    background-color: #10B981;
}

.doubt-status-select {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.5rem;
    font-size: 0.8rem;
    background-color: transparent;
    color: var(--text-color);
}

.doubt-reply {
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background-color: rgba(15, 23, 42, 0.6);
}

.doubt-reply-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.doubt-reply-sender {
    font-weight: 600;
}

.doubt-reply-meta {
    opacity: 0.8;
}

.doubt-reply-body {
    font-size: 0.85rem;
}

/* Comments and Ratings */
.comments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.comment-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-user {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-rating {
    color: #FBBF24;
}

.comment-text {
    margin-bottom: 0.5rem;
}

.comment-date {
    font-size: 0.875rem;
    color: #6B7280;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star {
    cursor: pointer;
    color: #D1D5DB;
    transition: color 0.2s;
}

.star.active,
.star:hover {
    color: #FBBF24;
}

/* Favorites Button */
.btn-favorite {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-favorite:hover {
    transform: scale(1.2);
}

.btn-favorite.active {
    color: #EF4444;
}

/* Icon Button */
.btn-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.btn-icon:hover {
    background-color: var(--light-color);
}

/* Notification bell and panel */
.notification-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 14px;
    height: 14px;
    border-radius: 999px;
    background-color: #F97316;
    color: #F9FAFB;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notificationBell {
    position: relative;
}

.notification-panel {
    position: fixed;
    top: 60px;
    right: 1.5rem;
    width: 320px;
    max-height: 400px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    z-index: 120;
    overflow: hidden;
}

.notification-panel-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.9);
    font-weight: 600;
    color: #F9FAFB;
}

.notification-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 0.5rem 0.5rem 0.75rem 0.5rem;
}

.notification-item {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    background-color: rgba(17, 24, 39, 0.9);
    color: #E5E7EB;
    font-size: 0.85rem;
}

.notification-item-time {
    display: block;
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 0.2rem;
}

.notification-empty {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.85rem;
    margin: 0.5rem 0.25rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Responsive Updates */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
.profile-dropdown-container {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FACC15;
}

.profile-dropdown-menu {
    position: absolute;
    top: 55px;
    right: 0;
    width: 260px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(55,65,81,0.9);
    display: none;
    z-index: 999;
}

.profile-dropdown-menu.active {
    display: block;
}

.profile-dropdown-header {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    align-items: center;
}

.dropdown-profile-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FACC15;
}

.profile-name {
    font-weight: 700;
    color: #F9FAFB;
}

.profile-role {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(55,65,81,0.9);
    margin: 0.3rem 0;
}

.dropdown-item {
    display: block;
    padding: 0.7rem 1rem;
    color: #E5E7EB;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(79, 70, 229, 0.2);
}

.logout-item {
    color: #F87171;
}
/* Top Navbar Pills (shared) */
.top-pill {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Active pill (VISION) */
.top-pill.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 117, 252, 0.35);
}

/* Skill Hub specific style */
.skill-hub-pill {
    border: 2px solid #2575fc;
    color: #2575fc;
    margin-left: 10px;
}

/* Hover effect */
.skill-hub-pill:hover {
    background: #2575fc;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.35);
    transform: translateY(-1px);
}

/* Dark mode support */
body.dark .skill-hub-pill {
    border-color: #8ab4ff;
    color: #8ab4ff;
}

body.dark .skill-hub-pill:hover {
    background: #8ab4ff;
    color: #000;
}
@media (max-width: 768px) {
    .hero {
        overflow: visible;   /* ✅ allow content */
        min-height: auto;    /* ✅ grow naturally */
    }

    .hero-team-strip {
        margin-bottom: 2rem;
    }
}
