/* Base Styles */
:root {
    --primary-color: #8e00e3;
    --secondary-color: #86b7fe;
    --dark-color: #1d1d1f;
    --light-color: #f5f5f7;
    --grey-color: #86868b;
    --success-color: #34c759;
    --danger-color: #ff3b30;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-size: 16px;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 16px;
    color: var(--grey-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 10px;
}

/* Buttons */
.btn-primary, 
.btn-secondary, 
.btn-outline {
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 113, 227, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Modal Styles */
.login-modal,
.signup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 400px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
    margin: 40px auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    margin-bottom: 0;
}

.close-modal {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    cursor: pointer;
    color: var(--grey-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.alternate-signin {
    margin-top: 24px;
    text-align: center;
}

.alternate-signin p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--grey-color);
}

.social-signin {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f7;
    color: var(--dark-color);
    transition: var(--transition);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-google:hover {
    color: #ea4335;
}

.btn-apple:hover {
    color: #000;
}

.btn-facebook:hover {
    color: #1877f2;
}

.modal-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
}

.modal-footer a {
    font-weight: 500;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.terms a {
    text-decoration: underline;
}

/* Header Styles */
.main-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
  font-weight: 700;
  color: #8e00e3;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
}

.feature-card:after {
    content: 'Click to Sign Up';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    font-weight: bold;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.feature-card:hover:after {
    transform: translateY(0);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.course-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-image {
    position: relative;
}

.course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.premium-badge i {
    font-size: 14px;
    margin-right: 6px;
}

.course-card:hover .premium-badge {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.course-content {
    padding: 24px;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--grey-color);
}

.course-meta span {
    display: flex;
    align-items: center;
    color: var(--grey-color);
    font-size: 14px;
}

.course-meta i {
    margin-right: 8px;
}

.course-premium {
    color: #FFD700 !important;
    font-weight: 500;
}

.course-premium i {
    color: #FFD700;
}

.courses-cta {
    text-align: center;
    margin-top: 48px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background-color: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 350px;
    flex: 1;
}

.testimonial-content {
    border-left: 3px solid var(--primary-color);
    padding-left: 16px;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 4px;
    font-size: 16px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-content h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 500;
}

.blog-link i {
    transition: var(--transition);
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat h3 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 8px;
}

.stat p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-info i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .feature-grid,
    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, 
.course-card, 
.blog-card, 
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.animate, 
.course-card.animate, 
.blog-card.animate, 
.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.feature-card:nth-child(2),
.course-card:nth-child(2),
.blog-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3),
.course-card:nth-child(3),
.blog-card:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* Mobile Menu Active States */
@media (max-width: 768px) {
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 90;
        animation: fadeIn 0.3s ease;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav.active li {
        margin: 10px 0;
        text-align: center;
    }
    
    .header-actions.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 0 20px 20px;
        position: absolute;
        top: 180px;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 90;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Additional hover effects */
.btn-primary, .btn-secondary, .btn-outline, .btn-social {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-secondary::after, .btn-outline::after, .btn-social::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after, .btn-secondary:hover::after, .btn-outline:hover::after, .btn-social:hover::after {
    width: 400px;
    height: 400px;
}

/* Hero section animations */
.hero h1 {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero h2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero p {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.hero-image {
    animation: fadeIn 0.8s ease-out 1s both;
}

/* Image hover effects */
.course-image img,
.blog-image img,
.about-image img {
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img,
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Course badge animation */
.course-badge {
    transition: transform 0.3s ease;
}

.course-card:hover .course-badge {
    transform: translateY(-3px);
}

/* Logo hover effect */
.logo {
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}


.logo:hover::after {
    width: 100%;
}


#lun {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.course-card .btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.course-card .btn-outline:hover::before {
    content: 'Sign up to access';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    z-index: 2;
}

/* For tablets and smaller screens */
@media (max-width: 1024px) {
    .slogo {
        width: 12% !important;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .slogo {
        width: 15% !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .slogo {
        width: 20% !important;
    }
}







/* Alert Styles */
.alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert ul {
    margin: 5px 0 5px 20px;
    padding: 0;
}

.alert li {
    margin-bottom: 3px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}


/* Default size */
.slogo {
    width: 8%;
}


