/* Landing Page Specific Styles */

/* Hero Section */
/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
    /* Airy spacing */
    overflow: hidden;
    position: relative;
    /* Refined Mesh Gradient */
    background: radial-gradient(circle at 10% 20%, rgba(106, 76, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 209, 102, 0.05) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Massive text */
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    /* Floating Animation */
    animation: float-hero 6s ease-in-out infinite;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(20px 20px 40px rgba(123, 44, 191, 0.4));
}

@keyframes float-hero {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-cta-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-cta-wrapper {
        flex-wrap: nowrap !important;
        gap: 0.5rem;
    }

    .hero-cta-btn,
    .hero-video-btn {
        padding: 0.8rem 1rem !important;
        /* Smaller padding */
        font-size: 0.9rem !important;
        white-space: nowrap;
    }
}

/* Hero CTA Button - Attractive Shadows */
.hero-cta-btn {
    box-shadow:
        0 8px 20px rgba(106, 76, 255, 0.4),
        /* Outer Soft Shadow */
        inset 0 2px 2px rgba(255, 255, 255, 0.4),
        /* Inner Top Highlight */
        inset 0 -2px 2px rgba(0, 0, 0, 0.2);
    /* Inner Bottom Shade */
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    padding: 1rem 3rem;
}

.hero-cta-btn:hover {
    box-shadow:
        0 12px 30px rgba(106, 76, 255, 0.6),
        inset 0 2px 2px rgba(255, 255, 255, 0.5),
        inset 0 -2px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Video Button: White with Shadows */
.hero-video-btn {
    background: white;
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;

    /* Shadows */
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.1),
        /* Outer Soft Shadow */
        inset 0 2px 0px rgba(255, 255, 255, 1),
        /* Inner Top Highlight */
        inset 0 -2px 5px rgba(0, 0, 0, 0.05);
    /* Inner Bottom Shade */
}

.hero-video-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.15),
        inset 0 2px 0px rgba(255, 255, 255, 1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.hero-video-btn .play-icon {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding-left: 2px;
    /* Visual optical adjustment */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Brand Strip Container */
.brand-strip {
    background: var(--primary-dark);
    padding: 2.5rem 0;
    margin-top: 0;
    color: white;
    overflow: hidden;
    /* Hide overflow for marquee */
    position: relative;
}

/* Scrolling Container */
.brand-list {
    display: flex;
    justify-content: center;
    gap: 6rem;
    /* Increased gap */
    list-style: none;
}

/* Individual Brand Item */
.brand-list li {
    color: white;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: default;
    transition: all 0.4s ease;
    /* Smooth transition for everything */
    position: relative;
    padding-right: 0;
    /* Initially no padding for text */
}

/* Icon SVG */
.brand-list li svg {
    transition: transform 0.4s ease;
}

/* Brand Name Text - Hidden by default */
.brand-list li span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    display: inline-block;
}

/* Hover Effects */
.brand-list:hover {
    animation-play-state: paused;
    /* Pause scrolling on hover */
}

.brand-list li:hover {
    opacity: 1;
    transform: translateX(-10px);
    /* Move left on hover */
}

.brand-list li:hover span {
    max-width: 150px;
    /* Reveal text */
    opacity: 1;
    margin-left: 0.5rem;
}

/* Marquee Keyframes */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half way (assuming duplicate content for infinite loop) */
    }
}

/* Search Section */
.search-section {
    padding: 4rem 0;
    text-align: center;
}

.search-bar-wrapper {
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.search-bar-wrapper input {
    border: none;
    padding: 1rem 2rem;
    flex-grow: 1;
    font-size: 1rem;
    outline: none;
    border-radius: var(--radius-pill);
}

.search-bar-wrapper button {
    background: var(--primary-dark);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: transform 0.2s;
}

.search-bar-wrapper button:hover {
    transform: scale(0.95);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.benefits-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    /* Prevent shrinking */
}

.benefit-icon img {
    width: 60px;
}

/* Course Cards */
.courses-section {
    padding: 5rem 0;
    background: var(--primary-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: white;
    font-size: 2.5rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-thumb {
    height: 200px;
    background: #ddd;
    position: relative;
}

.course-info {
    padding: 1.5rem;
}

.pill-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {

    .hero-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-image-wrapper {
        order: -1;
        /* Image on top for mobile */
    }
}

/* Blue Variation for CTA Button - White default, Blue hover */
.uiverse-cta {
    background: #ffffff !important;
    --c-color: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.uiverse-cta .wrapper span {
    color: var(--c-color) !important;
}

.uiverse-cta:hover {
    background: radial-gradient(circle, var(--primary-hover), var(--primary) 80%) !important;
    --c-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(106, 76, 255, 0.4) !important;
}