/* Premium Public Homepage CSS for GrowMojo Academy */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #ec4899;
    --dark: #1e293b;
    --light: #f8fafc;
    --text-muted: #64748b;
    --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Navbar */
.navbar-brand {
    font-weight: 800;
    color: var(--dark) !important;
}
.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--primary) !important;
}

/* Premium Buttons */
.btn-premium {
    background: var(--gradient-brand);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
    color: white;
}
.btn-outline-premium {
    background: white;
    color: var(--dark);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s;
}
.btn-outline-premium:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--light);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background: radial-gradient(circle at top right, rgba(79,70,229,0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(236,72,153,0.05), transparent 50%);
    overflow: hidden;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}
.hero-title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Floating Animations */
.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.float-1 { top: 10%; left: 0; animation-delay: 0s; }
.float-2 { top: 40%; right: -20px; animation-delay: 2s; }
.float-3 { bottom: 10%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trusted By */
.trusted-by {
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    padding: 40px 0;
}
.trusted-logo {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    height: 35px;
    margin: 0 20px;
}
.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Premium Cards (Features & Courses) */
.premium-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Course Image Scale */
.course-img-wrapper {
    overflow: hidden;
    height: 220px;
}
.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-card:hover .course-img {
    transform: scale(1.05);
}

/* Learning Process */
.process-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.process-step {
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}
.process-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(79,70,229,0.15);
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.process-step:hover .process-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}
@media (max-width: 768px) {
    .process-step {
        flex: 1 1 100%;
    }
}

/* Marquee Technologies */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}
.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    width: 120px;
    transition: transform 0.3s;
}
.marquee-item:hover {
    transform: translateY(-5px);
}
.marquee-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
}
.rating { color: #fbbf24; }

/* FAQ Accordion */
.accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    overflow: hidden;
}
.accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    background: white;
    color: var(--dark);
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--light);
}

/* Footer */
.premium-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
}
.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}
.premium-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.premium-footer a:hover {
    color: white;
}
.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}
.social-circle:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
