/* Biến màu */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5649c0;
    --secondary: #00CEFF;
    --dark: #2D3436;
    --light: #F5F6FA;
    --gray: #636E72;
    --light-gray: #DFE6E9;
    --accent: #FD79A8;
    --success: #00B894;
    --warning: #FDCB6E;
    --danger: #D63031;
    --glass: rgba(255, 255, 255, 0.15);
}

.float-animation {
    border-radius: 50%;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background-color: var(--dark);
    color: var(--light);
}

.glassmorphism {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    backdrop-filter: blur(6px) saturate(160%);
    -webkit-backdrop-filter: blur(6px) saturate(160%);
    background: linear-gradient(90deg, #021B79, #0575E6);
    /* Tối ưu hiệu suất */
    transform: translate3d(0, 0, 0);
    will-change: transform, backdrop-filter;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
    background-color: var(--glass);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 700;
    color: inherit;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--light-gray);
}

.dark-mode .bg-light {
    background-color: rgba(45, 52, 54, 0.7);
}

/* Welcome Modal */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.5s ease-out;
}

.dark-mode .modal-content {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 30px;
    color: var(--gray);
}

.dark-mode .modal-content p {
    color: var(--light-gray);
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.input-group button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.input-group button:hover {
    background: var(--primary-dark);
}

.modal-footer {
    margin-top: 20px;
}

.modal-footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
    padding: 15px 0;
}

.header-scrolled {
    padding: 10px 0;
    background: rgba(108, 92, 231, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode .header-scrolled {
    background: rgba(45, 52, 54, 0.9);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
    transition: transform 0.3s;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo h1 span {
    color: var(--secondary);
}

.dark-mode .logo h1 {
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.dark-mode nav ul li a {
    color: var(--light);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

.user-actions {
    display: flex;
    align-items: center;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
    transition: transform 0.3s;
}

.dark-mode #theme-toggle {
    color: var(--light);
}

#theme-toggle:hover {
    transform: rotate(30deg);
}

.user-profile {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: transform 0.3s;
}

.user-profile:hover img {
    transform: scale(1.1);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.dark-mode .user-dropdown {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.dark-mode .user-info {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.user-info img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.user-dropdown ul {
    list-style: none;
    padding: 10px 0;
}

.user-dropdown ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.dark-mode .user-dropdown ul li a {
    color: var(--light);
}

.user-dropdown ul li a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 25px;
}

.dark-mode .user-dropdown ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.dark-mode .menu-toggle {
    color: var(--light);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.dark-mode .hero::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.about-image img:hover {
    transform: scale(1.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.dark-mode .feature-item h4 {
    color: var(--light);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

.dark-mode .feature-item p {
    color: var(--light-gray);
}

/* Events Section */
.events-tabs {
    margin-top: 40px;
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.dark-mode .tab-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.tab-btn {
    padding: 10px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.dark-mode .tab-btn {
    color: var(--light-gray);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

/* Events Tab Content */
.tab-content {
    margin-top: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.dark-mode .event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-info {
    padding: 25px;
}

.event-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .event-info h3 {
    color: var(--light);
}

.event-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.dark-mode .event-meta {
    color: var(--light-gray);
}

.event-meta i {
    margin-right: 8px;
    color: var(--primary);
}

.event-meta span {
    margin-right: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Membership Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.1),
        box-shadow 0.2s ease-out;
    will-change: transform;
    backface-visibility: hidden;
}

.dark-mode .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .pricing-header h3 {
    color: var(--light);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--gray);
}

.dark-mode .price span {
    color: var(--light-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features i {
    margin-right: 10px;
    font-size: 0.9rem;
}

.pricing-features .fa-check {
    color: var(--success);
}

.pricing-features .fa-times {
    color: var(--danger);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    will-change: transform;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 0 20px;
}

.dark-mode .testimonial-slide {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
}

.dark-mode .testimonial-content {
    color: var(--light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--primary);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.dark-mode .author-info h4 {
    color: var(--light);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.dark-mode .author-info p {
    color: var(--light-gray);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .info-text h4 {
    color: var(--light);
}

.info-text p {
    color: var(--gray);
}

.dark-mode .info-text p {
    color: var(--light-gray);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--dark);
    transition: all 0.3s;
}

.dark-mode .social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #b2b2b2;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #b2b2b2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
}

.dark-mode .chatbot-container {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-container.active {
    transform: translateY(0);
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.chatbot-header h3 i {
    margin-right: 10px;
}

#close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.dark-mode .chatbot-messages {
    background: rgba(0, 0, 0, 0.2);
}

.chatbot-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: messageFadeIn 0.3s ease-out;
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message.bot {
    background: white;
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dark-mode .chatbot-message.bot {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.chatbot-message.user {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 5px;
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background: white;
}

.dark-mode .chatbot-input {
    background: var(--dark);
    border-top-color: rgba(255, 255, 255, 0.1);
}

#user-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    outline: none;
}

.dark-mode #user-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

#send-message {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

#send-message:hover {
    background: var(--primary-dark);
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.5);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.6);
}

/* Notification System */
/* .notification-wrapper {
    position: relative;
    margin-right: 20px;
}

.notification-bell {
    position: relative;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
}

.dark-mode .notification-bell {
    color: var(--light);
}

.notification-bell:hover {
    color: var(--primary);
    transform: rotate(15deg);
} */

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.dark-mode .notification-dropdown {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-wrapper.active .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.dark-mode .notification-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.notification-header h3 {
    font-size: 1.1rem;
    color: var(--dark);
}

.dark-mode .notification-header h3 {
    color: var(--light);
}

#mark-all-read {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.dark-mode .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.notification-item.unread {
    background: #f5f9ff;
}

.dark-mode .notification-item.unread {
    background: rgba(0, 110, 255, 0.1);
}

.notification-item:hover {
    background: #f5f5f5;
}

.dark-mode .notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-icon {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--primary);
}

.notification-content {
    flex: 1;
}

.notification-content p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.dark-mode .notification-content p {
    color: var(--light);
}

.notification-content small {
    font-size: 0.8rem;
    color: #999;
}

.notification-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.dark-mode .notification-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.notification-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
} */

/* Animations */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        margin-left: 0px;
        gap: 7px;

        h1 {
            line-height: 15px;
        }

        .logo {
            margin-right: 5px;
        }
    }

    .hero-content {
        margin-bottom: 150px;

        h1 {
            font-size: 2.8rem;
        }

        .hero-buttons {
            margin-bottom: 100px;
        }

    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s;
    }

    .dark-mode nav ul {
        background: var(--dark);
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        width: 90%;
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    /* .notification-dropdown {
        width: 280px;
    } */

    .chatbot-container {
        width: 100%;
        height: 70vh;
        bottom: 0;
        right: 0;
        border-radius: 15px 15px 0 0;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}

.logo_footer {
    border-radius: 50%;

}