﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e2a3b;
    --primary-light: #2a3a50;
    --secondary: orangered;
    --secondary-light: #ff7b47;
    --accent: #34a853;
    --light: #ffffff;
    --dark: #0f1721;
    --gray: #8a94a6;
    --gray-light: #e2e8f0;
    --border: #2d3e50;
    --color: #fff;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--primary);
    color: var(--light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light);
}

    .logo img {
        width:100%;
        height:40px;
        border-radius:50%;
        object-fit:cover;
    }


nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 25px;
    }

        nav ul li a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 5px 0;
            position: relative;
            display: flex;
            align-items: center;
        }

            nav ul li a i {
                margin-right: 8px;
                font-size: 1.1rem;
            }

            nav ul li a:after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                bottom: 0;
                left: 0;
                background-color: var(--secondary);
                transition: width 0.3s ease;
            }

            nav ul li a:hover {
                color: var(--secondary);
            }

                nav ul li a:hover:after {
                    width: 100%;
                }

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

    .btn-outline:hover {
        background: var(--secondary);
        color: var(--light);
    }

.btn-primary {
    background: var(--secondary);
    color: white;
}

    .btn-primary:hover {
        background: var(--secondary-light);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255, 69, 0, 0.3);
    }

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .search-bar input {
        flex: 1;
        padding: 15px 20px;
        border: none;
        font-size: 1rem;
        background: var(--light);
    }

    .search-bar button {
        background: var(--secondary);
        color: white;
        border: none;
        padding: 0 25px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .search-bar button:hover {
            background: var(--secondary-light);
        }

/* Categories Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .section-title p {
        
        color: var(--gray);
        max-width: 600px;
        margin: 0 auto;
        
    }

.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
#future-txt{
    text-align:justify;
}
.category-card {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--gray-light);
    flex: 1;
    flex-wrap:wrap;
    min-width: 350px;
    max-width: 350px;
    
}
    .category-card img {
        min-width: 250px;
        max-width: 300px;
        object-fit: cover;
    }

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.8rem;
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary);
}

.category-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Featured Courses */
.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        
    }

.course-image {
    height: 150px;
    background: var(--primary);
    position: relative;
}
    .course-image img {
        width: 100%;
        height: 150%;
        object-fit: cover;
    }


.course-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-content {
    padding: 20px;
}

.course-category {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-title {
    font-size: 1.2rem;
    margin-top: 30px;
    line-height: 1.4;
    background-color: var(--primary-light);
    border-radius:5px;
    color: var(--color);
}

.course-info {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    
}


.course-instructor {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);

}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}
    .instructor-avatar img {
        width: 40px;
        height: 40px;
        object-fit:cover;
        border-radius:50%;
    }
.instructor-name {
    font-weight: 600;
    color: var(--primary);
}
.supportItems {
    
    padding:50px;
    font-weight: 600;
    color: var(--primary);
}
.c-description{
    text-align:justify;
    margin-left:10px;
    margin-right:10px;
    color:var(--primary);
}
/* Stats Section */
.stats {
    background: var(--primary);
    color: var(--light);
    padding: 80px 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

    .stat-item h3 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: var(--secondary);
    }

    .stat-item p {
        opacity: 0.9;
        font-weight: 500;
    }

/* Testimonials */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    color: var(--gray);
}

    .testimonial-text:before {
        content: ""; font-size: 4rem;
        color: var(--primary);
        opacity: 0.2;
        position: absolute;
        top: -20px;
        left: -10px;
    }

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-light);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Video Testimonial */
.video-testimonial {
    margin-top: 60px;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    cursor: pointer;
}
.nav-a-link {
    text-decoration: none;
    color: #fff;
}
.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

    .video-placeholder h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }



    .video-placeholder p {
        opacity: 0.8;
       
       
    }

/* CTA Section */
.cta {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 80px 0;
    border-radius: 8px;
    margin: 50px 0;
}

    .cta h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta p {
        max-width: 600px;
        margin: 0 auto 30px;
        opacity: 0.9;
    }

    .cta .btn {
        background: var(--primary);
        color: white;
        padding: 12px 30px;
        font-size: 1.1rem;
    }

        .cta .btn:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

    .footer-col h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
        color: white;
    }

        .footer-col h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--secondary);
        }

    .footer-col ul {
        list-style: none;
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            .footer-col ul li a {
                color: #9aa0a6;
                text-decoration: none;
                transition: all 0.3s ease;
            }

                .footer-col ul li a:hover {
                    color: white;
                    padding-left: 5px;
                }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }

.whatsapp-btn {
    background: #25D366 !important;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9aa0a6;
    font-size: 0.9rem;
}

/* Mobile Navigation Styles */
.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

    .mobile-nav-item i {
        margin-right: 15px;
        width: 20px;
        text-align: center;
        color: var(--secondary);
    }

    .mobile-nav-item:last-child {
        border-bottom: none;
    }

/* Mobile Auth Buttons - Hidden on Desktop */
.mobile-auth-buttons {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--primary);
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        padding: 20px;
    }

        nav.active {
            left: 0;
        }

        nav ul {
            flex-direction: column;
        }

            nav ul li {
                margin: 0;
            }

                nav ul li a {
                    color: var(--light);
                    padding: 12px 0;
                    border-bottom: 1px solid var(--border);
                    display: flex;
                    align-items: center;
                }

                    nav ul li a i {
                        margin-right: 15px;
                        width: 20px;
                        text-align: center;
                    }

                nav ul li:last-child a {
                    border-bottom: none;
                }

    .auth-buttons {
        display: none;
    }

    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

        .mobile-auth-buttons .btn {
            width: 100%;
            text-align: center;
        }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .video-placeholder {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .search-bar {
        flex-direction: column;
        border-radius: 8px;
    }

        .search-bar input {
            border-radius: 8px 8px 0 0;
        }

        .search-bar button {
            border-radius: 0 0 8px 8px;
            padding: 15px;
        }

    .video-placeholder {
        height: 250px;
    }

        .video-placeholder i {
            font-size: 3rem;
        }
}


/* Course Detail Specific Styles - Unique Classes */
.cd-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    padding: 60px 0;
}
/* Apply to entire content */
.main-detail-container {
    zoom: 0.9;
}


.cd-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cd-hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

    .cd-hero-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

.cd-hero-info {
    flex: 1;
}

.cd-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.cd-hero-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cd-hero-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.cd-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cd-stars {
    color: #ffc107;
}

/* Main Content Layout */
.cd-content {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.cd-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cd-sidebar {
    flex: 1;
}

/* Sections */
.cd-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
}

.cd-section-title {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    font-size: 1.5rem;
}

/* Learning Objectives */
.cd-learning-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cd-learning-item {
    flex: 1 1 300px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
}

    .cd-learning-item i {
        color: var(--accent);
        margin-top: 2px;
    }

/* Unique Course Outline Styles */
.cd-outline-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .cd-outline-section:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.cd-outline-header {
    display: flex;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.cd-outline-col {
    flex: 1;
    padding: 0 10px;
}

    .cd-outline-col:first-child {
        flex: 0.5;
        text-align: center;
    }

    .cd-outline-col:last-child {
        flex: 0.8;
        text-align: center;
    }

#outline-row {
    max-height: 600px;
    overflow-y: auto;
}

.cd-outline-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: white;
}

    .cd-outline-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
        transform: translateX(5px);
        border-left: 4px solid var(--secondary);
        margin-left: -4px;
    }

    .cd-outline-item:last-child {
        border-bottom: none;
    }

.cd-outline-id, .cd-outline-topic, .cd-outline-action {
    flex: 1;
    padding: 0 10px;
}

.cd-outline-id {
    flex: 0.5;
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.cd-outline-topic {
    flex: 2;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.4;
}

.cd-outline-action {
    flex: 0.8;
    text-align: center;
}

/* Preview Button Styles */
.cd-preview-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
    border: none;
    cursor: pointer;
}

    .cd-preview-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
        background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    }

    .cd-preview-btn i {
        font-size: 0.8rem;
    }

/* Locked State Styles */
.cd-locked-item {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    border: 1px solid #e9ecef;
}

    .cd-locked-item i {
        color: var(--gray);
    }

/* Scrollbar Styling */
#outline-row::-webkit-scrollbar {
    width: 6px;
}

#outline-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#outline-row::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
}

    #outline-row::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    }

/* Empty State */
#outline-row:empty::before {
    content: "No curriculum available yet";
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-style: italic;
    background: #fafbfc;
    border-radius: 0 0 12px 12px;
}

/* Alternate Row Coloring */
.cd-outline-item:nth-child(even) {
    background: #fafbfc;
}

    .cd-outline-item:nth-child(even):hover {
        background: linear-gradient(135deg, #f0f2ff 0%, #e8ebff 100%);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .cd-outline-header {
        padding: 15px 20px;
        font-size: 0.85rem;
    }

    .cd-outline-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cd-outline-id, .cd-outline-topic, .cd-outline-action {
        flex: none;
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .cd-outline-action {
        text-align: left;
    }

    .cd-outline-item:hover {
        transform: translateX(0);
        margin-left: 0;
        border-left: 4px solid var(--secondary);
    }

    .cd-preview-btn, .cd-locked-item {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Instructor */
.cd-instructor-profile {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.cd-instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cd-instructor-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.cd-stat {
    text-align: center;
}

.cd-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.cd-stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Pricing Card */
.cd-pricing-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary);
    position: sticky;
    top: 100px;
}

.cd-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.cd-original-price {
    text-decoration: none;
    color: var(--gray);
    margin-left: 10px;
    font-size: 1.2rem;
}

.cd-discount-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
}

.cd-features-list {
    list-style: none;
    margin: 25px 0;
}

    .cd-features-list li {
        padding: 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .cd-features-list li i {
            color: var(--accent);
        }

.cd-btn-enroll {
    background: var(--secondary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

    .cd-btn-enroll:hover {
        background: var(--secondary-light);
        transform: translateY(-2px);
    }

.cd-btn-demo {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

    .cd-btn-demo:hover {
        background: var(--secondary);
        color: white;
    }

/* Demo Videos */
.cd-demo-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.cd-demo-video-card {
    flex: 1 1 300px;
    background: var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .cd-demo-video-card:hover {
        transform: translateY(-5px);
    }

.cd-video-thumbnail {
    height: 160px;
    background: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cd-video-thumbnail i {
        color: white;
        font-size: 2.5rem;
        opacity: 0.8;
    }

.cd-video-info {
    padding: 15px;
    color: white;
}

/* Requirements */
.cd-requirements-list {
    list-style: none;
}

    .cd-requirements-list li {
        padding: 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .cd-requirements-list li:before {
            content: "•";
            color: var(--secondary);
            font-weight: bold;
        }

/* Responsive */
@media (max-width: 768px) {
    .cd-hero-content {
        flex-direction: column;
    }

    .cd-content {
        flex-direction: column;
    }

    .cd-hero-info h1 {
        font-size: 2rem;
    }

    .cd-instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .cd-instructor-stats {
        justify-content: center;
    }
}

/* Beta Testing Popup Styles */
.beta-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    animation: fadeIn 0.5s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.beta-popup-container {
    background: linear-gradient(135deg, #1e2a3b 0%, #2a3a50 100%);
    color: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff4400;
    position: relative;
    animation: slideUp 0.5s ease;
    margin: 20px;
    display: flex;
    flex-direction: column;
}

.beta-popup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 5px;
}

.beta-popup-icon {
    font-size: 3rem;
    color: #ff4400;
    margin-bottom: 15px;
}

.beta-popup-badge {
    background: #ff4400;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beta-popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.beta-popup-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.beta-features {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin: 12px 0;
    text-align: left;
}

.beta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

    .beta-feature-item i {
        color: #34a853;
        font-size: 1rem;
    }

.beta-support {
    background: rgba(255, 68, 0, 0.2);
    border: 1px solid #ff4400;
    border-radius: 10px;
    padding: 12px;
    margin: 12px 0;
    font-size: 0.9rem;
}

    .beta-support strong {
        color: #ff4400;
        display: block;
        margin-bottom: 6px;
        font-size: 1rem;
    }

.beta-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.beta-understand-btn {
    background: linear-gradient(135deg, #ff4400, #ff7b47);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

    .beta-understand-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    }

.beta-close-btn {
    background: transparent;
    color: #8a94a6;
    border: 1px solid #8a94a6;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .beta-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

.beta-dont-show {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #8a94a6;
}

    .beta-dont-show input {
        width: 16px;
        height: 16px;
    }

/* Scrollbar styling */
.beta-popup-content::-webkit-scrollbar {
    width: 6px;
}

.beta-popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.beta-popup-content::-webkit-scrollbar-thumb {
    background: #ff4400;
    border-radius: 3px;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .beta-popup-container {
        padding: 30px 25px;
        margin: 20px;
    }

    .beta-popup-icon {
        font-size: 3rem;
    }

    .beta-popup-content h3 {
        font-size: 1.5rem;
    }

    .beta-popup-content p {
        font-size: 1rem;
    }
}
/* Internet Status - Fixed CSS */
#internetStatusPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.internet-status-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 350px;
    margin: 20px;
    border: 2px solid #ff4400;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.status-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

    .status-icon.status-offline {
        color: #ff4400;
    }

    .status-icon.status-online {
        color: #34a853;
    }

.internet-status-content h2 {
    color: #1e2a3b;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.internet-status-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 14px;
}

.retry-btn {
    background: #ff4400;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

    .retry-btn:hover {
        background: #e63e00;
    }

#connectionIndicator {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 10000;
}

    #connectionIndicator.connection-online {
        background: #34a853;
        box-shadow: 0 0 10px #34a853;
    }

    #connectionIndicator.connection-offline {
        background: #ff4400;
        box-shadow: 0 0 10px #ff4400;
        animation: blink 1s infinite;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}




/* Secure Chat Widget Styles - Fixed Version */
#md-chat-widget {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: none;
    flex-direction: column;
    z-index: 10000;
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

/* Desktop View */
@media only screen and (min-width: 769px) {
    #md-chat-widget {
        bottom: 80px;
        right: 20px;
        width: 380px !important;
        height: 560px !important;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(30, 42, 59, 0.15);
        border: 1px solid #e8ecef;
        max-width: 380px;
        max-height: 560px;
    }
}

/* Mobile View - Full Screen */
@media only screen and (max-width: 768px) {
    #md-chat-widget {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0;
    }
}

/* Chat Toggle Button */
.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e2a3b, #2a3a50);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 42, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
}

    .chat-toggle:hover {
        transform: scale(1.1);
    }

.notification-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #ff4400;
    border-radius: 50%;
    border: 2px solid white;
}

/* Chat Header - Fixed Height */
.chat-header {
    background: linear-gradient(135deg, #1e2a3b, #2a3a50);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 70px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-info {
    flex: 1;
    min-width: 0;
}

    .chat-info h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.status {
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

    .status.online::before {
        content: "●";
        color: #34a853;
        margin-right: 6px;
    }

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .chat-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* Chat Messages - Fixed Height with Scroll */
.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    max-height: calc(100% - 140px);
}

/* Welcome Message Styling */
.welcome-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.welcome-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 12px 0;
}

.welcome-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Message Styling */
.message {
    display: flex;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.bot-message .message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1e2a3b, #2a3a50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.bot-message .message-content {
    flex: 1;
    min-width: 0;
}

    .bot-message .message-content p {
        background: white;
        padding: 12px 16px;
        border-radius: 18px 18px 18px 6px;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #e8ecef;
        line-height: 1.5;
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

.user-message {
    flex-direction: row-reverse;
}

    .user-message .message-content p {
        background: linear-gradient(135deg, #ff4400, #ff7b47);
        color: white;
        padding: 12px 16px;
        border-radius: 18px 18px 6px 18px;
        margin: 0;
        box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

/* Quick Actions - Fixed Position */
.quick-actions {
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #e8ecef;
    background: white;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
}

.quick-btn {
    background: #f8f9fa;
    border: 1px solid #e8ecef;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: calc(50% - 4px);
    box-sizing: border-box;
    text-align: center;
    font-weight: 500;
}

    .quick-btn:hover {
        background: #1e2a3b;
        color: white;
        border-color: #1e2a3b;
    }

/* Chat Input Area - Fixed Height */
.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid #e8ecef;
    display: flex;
    gap: 12px;
    background: white;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    min-height: 70px;
}

#mdChatInput {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e8ecef;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    resize: none;
    min-height: 44px;
    max-height: 100px;
}

    #mdChatInput:focus {
        border-color: #ff4400;
        background: white;
    }

.send-btn {
    background: #ff4400;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .send-btn:hover {
        background: #e63e00;
    }

/* Desktop Adjustments */
@media only screen and (min-width: 769px) {
    .chat-header {
        padding: 20px;
        min-height: 80px;
    }

    .chat-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .chat-messages {
        padding: 20px;
        gap: 16px;
        max-height: calc(100% - 150px);
    }

    .message {
        gap: 12px;
    }

    .bot-message .message-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .bot-message .message-content p,
    .user-message .message-content p {
        padding: 16px;
        font-size: 14px;
    }

    .quick-actions {
        padding: 16px 20px;
    }

    .quick-btn {
        padding: 10px 16px;
        min-width: calc(50% - 4px);
    }

    .chat-input-area {
        padding: 16px 20px;
        min-height: 80px;
    }

    #mdChatInput {
        padding: 14px 18px;
        font-size: 14px;
    }

    .send-btn {
        width: 48px;
        height: 48px;
    }
}

/* Extra Small Devices Fix */
@media only screen and (max-width: 320px) {
    #md-chat-widget {
        width: 100vw !important;
        height: 100vh !important;
    }

    .chat-messages {
        padding: 12px;
    }

    .quick-btn {
        min-width: 100%;
        font-size: 12px;
        padding: 8px 12px;
    }

    #mdChatInput {
        font-size: 14px;
        padding: 10px 14px;
    }

    .chat-header {
        padding: 12px 16px;
        min-height: 60px;
    }

    .chat-input-area {
        padding: 10px 12px;
        min-height: 60px;
    }
}

/* Landscape Mode for Mobile */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    #md-chat-widget {
        height: 100vh;
    }

    .chat-header {
        min-height: 50px;
        padding: 10px 16px;
    }

    .chat-messages {
        max-height: calc(100% - 120px);
        padding: 10px;
    }

    .quick-actions {
        display: none; /* Space save in landscape */
    }

    .chat-input-area {
        min-height: 50px;
        padding: 8px 12px;
    }
}

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

    .chat-messages::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /*SU*/
.user-signup-container {
    width: 100%;
    max-width: 480px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(30, 42, 59, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.user-signup-header {
    background: linear-gradient(135deg, #1e2a3b 0%, #2a3a50 100%);
    color: white;
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
}

    .user-signup-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: orangered;
    }

.user-signup-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.user-signup-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.user-signup-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.user-signup-form {
    padding: 40px;
}

.user-form-group {
    margin-bottom: 25px;
    position: relative;
}

.user-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e2a3b;
    font-size: 0.95rem;
}

.user-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #0f1721;
    box-sizing: border-box;
    display: block;
}

    .user-form-control:focus {
        outline: none;
        border-color: orangered;
        box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
    }

.user-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #8a94a6;
}

.user-password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    background: none;
    border: none;
    color: #8a94a6;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.user-form-row {
    display: flex;
    gap: 15px;
}

    .user-form-row .user-form-group {
        flex: 1;
        min-width: 0;
    }

.user-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    width: 100%;
    padding: 10px 0;
}

.user-checkbox-control {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: orangered;
    flex-shrink: 0;
    cursor: pointer;
}

.user-checkbox-label {
    font-size: 0.9rem;
    color: #0f1721;
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
    margin: 0;
}

    .user-checkbox-label a {
        color: orangered;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .user-checkbox-label a:hover {
            text-decoration: underline;
            color: #ff7b47;
        }

.user-btn-signup {
    width: 100%;
    background: linear-gradient(135deg, orangered 0%, #ff7b47 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    display: block;
}

    .user-btn-signup:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    }

    .user-btn-signup:focus {
        outline: 3px solid rgba(255, 69, 0, 0.3);
        outline-offset: 2px;
    }

.user-signup-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    color: #8a94a6;
    font-size: 0.9rem;
}

    .user-signup-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e2e8f0;
    }

    .user-signup-divider span {
        background: white;
        padding: 0 20px;
        position: relative;
    }

.user-social-signup {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.user-btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #1e2a3b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .user-btn-social:hover {
        border-color: orangered;
        transform: translateY(-1px);
    }

    .user-btn-social:focus {
        outline: 3px solid rgba(255, 69, 0, 0.3);
        outline-offset: 2px;
    }

.user-signup-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #8a94a6;
    font-size: 0.95rem;
}

    .user-signup-footer a {
        color: orangered;
        text-decoration: none;
        font-weight: 600;
        margin-left: 5px;
        transition: color 0.3s ease;
    }

        .user-signup-footer a:hover {
            text-decoration: underline;
            color: #ff7b47;
        }

.user-password-strength {
    margin-top: 8px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.user-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

    .user-strength-bar.weak {
        width: 33.33%;
        background: #e74c3c;
    }

    .user-strength-bar.medium {
        width: 66.66%;
        background: #f39c12;
    }

    .user-strength-bar.strong {
        width: 100%;
        background: #34a853;
    }

/* Improved focus styles for better tab navigation */
.user-form-control:focus,
.user-checkbox-control:focus,
.user-btn-signup:focus,
.user-btn-social:focus,
.user-signup-footer a:focus {
    outline: 3px solid rgba(255, 69, 0, 0.3);
    outline-offset: 2px;
}
/* Validation Styles */
.validation-summary {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #721c24;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 20px;
    }

    .validation-summary li {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

.validation-error {
    color: #dc3545;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
    font-weight: 500;
}

/* Password Strength Container */
.user-password-strength-container {
    margin-top: 10px;
}

.user-strength-text {
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .user-strength-text.weak {
        color: #dc3545;
    }

    .user-strength-text.medium {
        color: #ffc107;
    }

    .user-strength-text.strong {
        color: #28a745;
    }

/* Improved focus for validation */
.user-form-control.error {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.user-form-control.valid {
    border-color: #28a745;
}
/* Success Popup Styles */
.success-popup-overlay {
    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: 10000;
    animation: fadeIn 0.3s ease;
}

.success-popup-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
    border: 3px solid #34a853;
    position: relative;
}

.success-popup-icon {
    font-size: 4rem;
    color: #34a853;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

.success-popup-content h3 {
    color: #1e2a3b;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-popup-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-popup-timer {
    background: linear-gradient(135deg, #ff7b47, orangered);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.success-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.success-popup-btn {
    background: linear-gradient(135deg, #1e2a3b, #2a3a50);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .success-popup-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(30, 42, 59, 0.3);
    }

.success-popup-link {
    color: orangered;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

    .success-popup-link:hover {
        color: #ff7b47;
        text-decoration: underline;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .success-popup-container {
        padding: 30px 25px;
        margin: 20px;
    }

    .success-popup-icon {
        font-size: 3rem;
    }

    .success-popup-content h3 {
        font-size: 1.5rem;
    }

    .success-popup-content p {
        font-size: 1rem;
    }
}
/* Custom Button Styles - Bootstrap jaisa but apna style */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 12px 24px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.3);
    }

    .btn:active {
        transform: translateY(1px);
    }

/* Primary Button - Your Theme Colors */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
        border-color: var(--secondary-light);
    }

    .btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(255, 69, 0, 0.3);
    }

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

    .btn-outline:hover {
        background: var(--secondary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    }

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(30, 42, 59, 0.3);
}

    .btn-secondary:hover {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(30, 42, 59, 0.4);
    }

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--accent) 0%, #4caf50 100%);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

    .btn-success:hover {
        background: linear-gradient(135deg, #4caf50 0%, var(--accent) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
    }

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-color: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

    .btn-danger:hover {
        background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    }

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border-color: #f39c12;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

    .btn-warning:hover {
        background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    }

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

    .btn-info:hover {
        background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }

/* Button Sizes */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Ripple Effect (Optional) */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

    .btn-ripple::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-ripple:active::after {
        width: 300px;
        height: 300px;
    }

/* Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .btn-sm {
        padding: 6px 12px;
    }
}
/* Mobile View - Left aligned with proper spacing */
@media (max-width: 768px) {
    .user-signup-container {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        box-shadow: none;
        border: none;
    }

    .user-signup-form {
        padding: 30px 20px;
    }

    .user-form-row {
        flex-direction: column;
        gap: 0;
    }

    .user-social-signup {
        flex-direction: column;
    }

    .user-checkbox-group {
        padding: 15px 0;
    }

    .user-checkbox-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Desktop View - Centered */
@media (min-width: 769px) {
    .user-signup-container {
        margin: 50px auto;
        border-radius: 12px;
        max-width: 480px;
        height: auto;
        box-shadow: 0 20px 60px rgba(30, 42, 59, 0.15);
        border: 1px solid #e2e8f0;
    }
    a{
        text-decoration:none;
    }

}
