/* courses.css - New Design Styles */

.new-courses-page {
    background-color: #fcfdfd;
    font-family: 'Outfit', sans-serif;
    color: #333;
}

.new-courses-page h1, .new-courses-page h2, .new-courses-page h3, .new-courses-page h4 {
    margin: 0;
    font-weight: 700;
}

.new-courses-page p {
    margin: 0;
    line-height: 1.5;
}

.section-padding {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.courses-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    position: relative;
    flex-wrap: wrap;
}

.hero-content-left {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-badge {
    background-color: #8b5cf6;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-headline {
    color: #db2777;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-headline span.dark {
    color: #1e293b;
}

.hero-desc {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.h-icon-item {
    text-align: center;
    width: 65px;
}

.h-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    font-size: 1.2rem;
}

.h-icon-item p {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

/* Colors */
.bg-purple-light { background: #f3e8ff; color: #7c3aed; }
.bg-red-light { background: #ffe4e6; color: #e11d48; }
.bg-yellow-light { background: #fef3c7; color: #d97706; }
.bg-green-light { background: #dcfce7; color: #16a34a; }
.bg-blue-light { background: #e0f2fe; color: #0284c7; }
.bg-orange-light { background: #ffedd5; color: #ea580c; }

.hero-image-right {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.yellow-circle-bg {
    background-color: #fde047;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.hero-boy-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
}

.floating-card-right {
    position: absolute;
    right: -20px;
    top: 20%;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-card-right .fc-icon {
    font-size: 2rem;
    color: #8b5cf6;
}

.fc-text span {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
}
.fc-text span:nth-child(1) { color: #8b5cf6; }
.fc-text span:nth-child(2) { color: #ec4899; }
.fc-text span:nth-child(3) { color: #f59e0b; }


/* Section Headers */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading h2 {
    color: #1e3a8a;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}
.section-heading h2::before, .section-heading h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    border-bottom: 2px dashed #94a3b8;
}
.section-heading h2::before { left: -60px; }
.section-heading h2::after { right: -60px; }

/* Grid Cards (What We Offer) */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.offer-card {
    background: white;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid;
    transition: transform 0.3s ease;
}
.offer-card:hover {
    transform: translateY(-5px);
}

.offer-card.purple { border-top-color: #8b5cf6; }
.offer-card.red { border-top-color: #f43f5e; }
.offer-card.orange { border-top-color: #f97316; }
.offer-card.green { border-top-color: #10b981; }
.offer-card.blue { border-top-color: #3b82f6; }
.offer-card.yellow { border-top-color: #eab308; }

.offer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.offer-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 10px;
    min-height: 40px;
}
.offer-card p {
    font-size: 0.85rem;
    color: #64748b;
}

/* Banner Bars */
.banner-bar {
    background: linear-gradient(90deg, #f3e8ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 50px;
    padding: 15px 30px;
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.banner-bar.purple-fill {
    background: linear-gradient(90deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    color: white;
}
.banner-bar h4 {
    color: #4338ca;
    font-size: 1.1rem;
    margin: 0;
}
.banner-bar.purple-fill h4 {
    color: white;
}
.banner-icon {
    color: #6366f1;
    font-size: 1.5rem;
}
.banner-bar.purple-fill .banner-icon {
    color: white;
}

/* Teaching Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    position: relative;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: white;
}
.step-item:nth-child(1) .step-icon { color: #8b5cf6; border: 2px solid #8b5cf6; }
.step-item:nth-child(2) .step-icon { color: #f43f5e; border: 2px solid #f43f5e; }
.step-item:nth-child(3) .step-icon { color: #f59e0b; border: 2px solid #f59e0b; }
.step-item:nth-child(4) .step-icon { color: #10b981; border: 2px solid #10b981; }
.step-item:nth-child(5) .step-icon { color: #3b82f6; border: 2px solid #3b82f6; }
.step-item:nth-child(6) .step-icon { color: #8b5cf6; border: 2px solid #8b5cf6; }

.step-item .step-badge {
    color: #10b981;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}

.step-item h4 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 5px;
}

.step-item p {
    font-size: 0.75rem;
    color: #64748b;
    padding: 0 10px;
}

.step-arrow {
    font-size: 1.5rem;
    color: #8b5cf6;
    margin-top: 25px;
}

/* Grooming Section */
.grooming-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.grooming-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #fef08a;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 8px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.grooming-image img {
    height: 90%;
    object-fit: cover;
}

.grooming-list {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.g-item {
    text-align: center;
    flex: 1;
    min-width: 90px;
    position: relative;
}

.g-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e2e8f0;
}

.g-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.g-item:nth-child(1) .g-icon { color: #8b5cf6; }
.g-item:nth-child(2) .g-icon { color: #eab308; }
.g-item:nth-child(3) .g-icon { color: #f59e0b; }
.g-item:nth-child(4) .g-icon { color: #10b981; }
.g-item:nth-child(5) .g-icon { color: #3b82f6; }
.g-item:nth-child(6) .g-icon { color: #eab308; }


.g-item h4 {
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 5px;
}
.g-item p {
    font-size: 0.75rem;
    color: #64748b;
}

/* CTA Bottom */
.bottom-cta {
    background-color: #fef3c7;
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.cta-left {
    flex: 1;
    min-width: 250px;
    z-index: 2;
}

.cta-left h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-left p {
    color: #475569;
    margin-bottom: 20px;
}

.btn-purple-solid {
    background-color: #8b5cf6;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}
.btn-purple-solid:hover {
    background-color: #7c3aed;
}

.cta-features {
    display: flex;
    gap: 20px;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}
.cf-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    width: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cf-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.cf-item:nth-child(1) .cf-icon { color: #a855f7; }
.cf-item:nth-child(2) .cf-icon { color: #f59e0b; }
.cf-item:nth-child(3) .cf-icon { color: #10b981; }
.cf-item:nth-child(4) .cf-icon { color: #f43f5e; }

.cf-item span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.cta-right-img {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 250px;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .courses-hero { flex-direction: column; text-align: center; }
    .hero-content-left { padding-right: 0; margin-bottom: 40px; }
    .hero-icons { justify-content: center; }
    .floating-card-right { top: 0; right: 0; }
    .yellow-circle-bg { width: 300px; height: 300px; right: auto; left: 50%; transform: translate(-50%, -50%); }
    .process-steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 10px 0; }
    .grooming-section { flex-direction: column; }
    .g-item::after { display: none; }
    .bottom-cta { padding-bottom: 250px; text-align: center; }
    .cta-features { margin-top: 20px; }
    .cta-right-img { right: 50%; transform: translateX(50%); width: 200px; }
}

/* Learning Path Section */
.learning-path-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.path-card {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    padding: 30px 20px 20px 20px;
    position: relative;
    border: 2px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.path-card.border-green { border-color: #10b981; }
.path-card.border-orange { border-color: #f59e0b; }
.path-card.border-blue { border-color: #3b82f6; }
.path-card.border-purple { border-color: #8b5cf6; }

.path-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.path-card.border-green .path-badge { color: #10b981; }
.path-card.border-orange .path-badge { color: #f59e0b; }
.path-card.border-blue .path-badge { color: #3b82f6; }
.path-card.border-purple .path-badge { color: #8b5cf6; }

.path-card h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.path-card.border-green h4 { color: #10b981; }
.path-card.border-orange h4 { color: #f59e0b; }
.path-card.border-blue h4 { color: #3b82f6; }
.path-card.border-purple h4 { color: #8b5cf6; }

.path-age {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 600;
}

.path-features {
    list-style: disc;
    text-align: left;
    padding-left: 20px;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
}
.path-features li { margin-bottom: 8px; }

.path-icon-bottom {
    font-size: 2rem;
    margin-top: auto;
}
.path-card.border-green .path-icon-bottom { color: #10b981; }
.path-card.border-orange .path-icon-bottom { color: #f59e0b; }
.path-card.border-blue .path-icon-bottom { color: #3b82f6; }
.path-card.border-purple .path-icon-bottom { color: #f59e0b; }

.path-arrow {
    color: #8b5cf6;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.completion-banner {
    background-color: #dcfce7;
    color: #166534;
    padding: 12px 20px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.grooming-list-v2 {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}
.g-item-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.g-item-v2 .g-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
