:root {
    --primary-color: #4158D0;
    --primary-dark: #3447B0;
    --primary-light: #C850C0;
    --accent-color: #FFCC70;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

section {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--dark-gray);
}

/* Navbar Styles */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.navbar-scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    color: var(--primary-light);
}

.nav-link {
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-scrolled .nav-link {
    color: var(--dark-gray);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
    color: var(--primary-color);
}

.btn-nav-contact {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white !important;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-nav-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-nav-contact:hover::before {
    transform: translateX(0);
}

.btn-nav-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 991.98px) {
    .navbar:not(.navbar-scrolled) {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-link {
        color: var(--dark-gray);
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-nav-contact {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(43deg, var(--primary-color) 0%, var(--primary-light) 46%, var(--accent-color) 100%);
    min-height: 100vh;
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" fill-opacity="0.1"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.2;
    animation: floatBackground 30s linear infinite;
}

@keyframes floatBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0.9;
}

.hero-buttons .btn {
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-buttons .btn:hover::before {
    transform: translateX(0);
}

.hero-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 30px;
    transform: perspective(1000px) rotateY(-5deg);
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(65,88,208,0.3), rgba(200,80,192,0.3));
    border-radius: 30px;
    z-index: 1;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.hero-section .col-lg-6:last-child {
    display: flex;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    position: relative;
}

.hero-section .position-relative {
    position: relative;
}

.hero-section .position-absolute {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .fa-play-circle {
    font-size: 4rem;
    opacity: 0.8;
}

.hero-section .fa-play-circle:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* About Section */
.about-section {
    position: relative;
    background: linear-gradient(135deg, rgba(65,88,208,0.05) 0%, rgba(200,80,192,0.05) 100%);
    overflow: hidden;
}

.instructor-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.instructor-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.instructor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(65,88,208,0.2), rgba(200,80,192,0.2));
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-5px);
    color: white;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-link:hover::before {
    transform: translateX(0);
}

/* Courses Section */
.courses-section {
    background: linear-gradient(135deg, rgba(65,88,208,0.03) 0%, rgba(200,80,192,0.03) 100%);
    position: relative;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-light);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.course-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.course-card .badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
}

.course-content span {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
}

.course-content span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.course-card .btn {
    width: 50%;
    height: 48px;
    padding: 0;
    margin-top: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card .btn:hover {
    opacity: 0.9;
}

.course-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-content {
    padding: 2rem;
    position: relative;
    background: white;
}

.course-content h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.course-content .btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.course-content .btn:hover::before {
    transform: translateX(0);
}

/* App Section */
.app-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(65,88,208,0.05) 0%, rgba(200,80,192,0.05) 100%);
    overflow: hidden;
}

.app-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-section .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.app-mockup-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    z-index: 2;
}

.app-mockup {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.feature-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-bubble.top-left {
    top: -20px;
    left: -180px;
}

.feature-bubble.top-right {
    top: 50px;
    right: -150px;
}

.feature-bubble.bottom-left {
    bottom: 100px;
    left: -120px;
}

.feature-bubble.bottom-right {
    bottom: 30px;
    right: -180px;
}

.feature-bubble .highlight {
    color: #FF6B6B;
    font-weight: 600;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.app-store-button {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-button:hover {
    transform: translateY(-5px);
}

.app-store-button img {
    height: 50px;
    width: auto;
}

@media (max-width: 991.98px) {
    .feature-bubble {
        position: static;
        display: inline-block;
        margin: 10px;
    }
    
    .features-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 30px 0;
    }
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-author h5 {
    margin: 0;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WhatsApp Community Section */
.newsletter-section {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" fill-opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.1;
    animation: floatBackground 20s linear infinite;
}

/* Contact Section */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, rgba(65,88,208,0.05) 0%, rgba(200,80,192,0.05) 100%);
}

.contact-form .form-control {
    border: none;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-form .btn-submit:hover::before {
    transform: translateX(0);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.footer .brand-text {
    font-size: 1.2rem;
    color: #ffffff;
}

.footer .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer .social-link {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer .social-link:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .footer .col-md-4 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer .social-links {
        justify-content: center;
    }
}

/* Brand-specific Button Styles */
.btn-youtube {
    background-color: #FF0000;
    border-color: #FF0000;
    color: white;
}

.btn-youtube:hover {
    background-color: #CC0000;
    border-color: #CC0000;
    color: white;
    transform: translateY(-2px);
}

.btn-playstore {
    background-color: #01875F;
    border-color: #01875F;
    color: white;
}

.btn-playstore:hover {
    background-color: #016D4E;
    border-color: #016D4E;
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Override any btn-primary colors for these specific buttons */
.btn-youtube.btn-outline-primary {
    background-color: transparent;
    border-color: #FF0000;
    color: #FF0000;
}

.btn-youtube.btn-outline-primary:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    color: white;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .download-btn {
        margin-top: 1rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-section .social-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-features {
        gap: 1.5rem;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.stats-container {
    margin-left: 2.5rem;
}