/* ===================================
    Index Page Dark Theme - Dashboard Mentor Style
====================================== */

/* Using blue color scheme inspired by dashboard-mentor */

/* ===================================
    Mentor Showcase Section (bg-tranquil)
    Leaving hero section untouched
====================================== */
section.bg-tranquil {
    background-color: #1F2937 !important;
    background-image: linear-gradient(135deg, #29521f 0%, #111827 100%) !important;
}

/* Section heading styles */
section.bg-tranquil h2 {
    color: #E2E8F0 !important;
}

/* Mentor cards - matching dashboard card style */
section.bg-tranquil .services-box-style-06 {
    background-color: #111827 !important;
    border: 1px solid rgb(148 163 184 / 48%) !important;
    box-shadow: 0 -1px 10px rgb(255 255 255 / 25%), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

section.bg-tranquil .services-box-style-06:hover {
    border-color: #4F46E5 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 70, 229, 0.2) !important;
    transform: translateY(-3px);
}

section.bg-tranquil .services-box-style-06:hover .fs-20.text-white {
    color: #93C5FD !important; /* Lighter bright blue on hover */
}

section.bg-tranquil .services-box-style-06:hover .image {
    border-bottom-color: #6366F1;
}

/* Mentor card image container */
section.bg-tranquil .services-box-style-06 .image {
    background-color: #0F172A !important;
    border-bottom: 2px solid #4F46E5;
}

/* Mentor card content background */
section.bg-tranquil .services-box-style-06 .bg-black {
    background: linear-gradient(135deg, #1E293B 0%, #111827 100%) !important;
    border-top: none !important;
}

/* Text colors in mentor cards */
section.bg-tranquil .services-box-style-06 .text-white {
    color: #E2E8F0 !important;
}

section.bg-tranquil .services-box-style-06 .fs-20.text-white {
    color: #60A5FA !important; /* Bright blue */
    font-weight: 600;
    letter-spacing: -0.5px;
}

section.bg-tranquil .services-box-style-06 .text-light-gray {
    color: #94A3B8 !important;
}

section.bg-tranquil .services-box-style-06 .fw-600.fs-15 {
    color: #E2E8F0 !important;
    opacity: 0.9;
}

section.bg-tranquil .services-box-style-06 .fw-500.fs-12 {
    color: #94A3B8 !important;
    opacity: 0.8;
}

/* Degree icon styling - keeping original colors */
section.bg-tranquil .degree-icon {
    /* Keep original white background and styling */
    background-color: #ffffff !important;
    border-radius: 50%;
    padding: 3px;
}

section.bg-tranquil .degree-icon::after {
    background-color: #111827 !important;
    color: #4F46E5 !important;
    border: 1px solid #4F46E5;
    font-weight: 600;
}

/* Bottom CTA section */
section.bg-tranquil .text-dark-gray {
    color: #E2E8F0 !important;
}

section.bg-tranquil .btn-dark-gray {
    background-color: #4F46E5 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 600;
}

section.bg-tranquil .btn-dark-gray:hover {
    background-color: #6366F1 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

section.bg-tranquil a.text-decoration-line-bottom {
    color: #10B981 !important;
    text-decoration-color: #4F46E5 !important;
}

section.bg-tranquil a.text-decoration-line-bottom:hover {
    color: #6366F1 !important;
    text-decoration-color: #6366F1 !important;
}

/* ===================================
    Premium Mentorship Section
====================================== */
section.overflow-hidden:not(.bg-tranquil):not(.p-0) {
    background-color: #111827 !important;
    background-image: linear-gradient(135deg, #111827 0%, #0F172A 100%) !important;
}

/* Section headings */
section.overflow-hidden h2 {
    color: #E2E8F0 !important;
}

section.overflow-hidden .text-dark-gray {
    color: #94A3B8 !important;
}

/* Icon box with accent color */
.feature-box-icon.bg-yellow {
    background-color: #4F46E5 !important;
}

.feature-box-icon i {
    color: #FFFFFF !important;
}

/* Accordion styles matching dashboard */
.accordion-style-06 {
    background-color: transparent !important;
}

.accordion-style-06 .accordion-item {
    background-color: #1E293B !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    margin-bottom: 12px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-style-06 .accordion-header {
    background-color: transparent !important;
}

.accordion-style-06 .accordion-header a {
    background-color: transparent !important;
    padding: 18px 24px;
    display: block;
}

.accordion-style-06 .accordion-title {
    color: #E2E8F0 !important;
}

.accordion-style-06 .accordion-item.active-accordion {
    border-color: #4F46E5 !important;
}

.accordion-style-06 .accordion-item.active-accordion .accordion-header a {
    background-color: rgba(79, 70, 229, 0.1) !important;
}

.accordion-style-06 .accordion-body {
    background-color: #111827 !important;
    color: #94A3B8 !important;
    padding: 18px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.accordion-style-06 .accordion-body p {
    color: #94A3B8 !important;
    margin-bottom: 0;
}

.accordion-style-06 .accordion-body i {
    color: #4F46E5 !important;
    opacity: 0.3;
}

/* CTA button */
section.overflow-hidden .btn-dark-gray {
    background-color: #4F46E5 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 600;
}

section.overflow-hidden .btn-dark-gray:hover {
    background-color: #6366F1 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* ===================================
    Marquee Section
====================================== */
.container-fluid.bg-tranquil {
    background-color: #1F2937 !important;
}

.swiper.feather-shadow {
    background-color: #111827 !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4) !important;
}

.custom-slider-text {
    color: #4F46E5 !important;
    opacity: 0.6 !important;
}

.container-fluid h4 {
    color: #E2E8F0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* ===================================
    Footer Section
====================================== */
footer.bg-gradient-aztec-green {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
}

/* Footer overlap section */
footer .bg-base-color {
    background-color: #4F46E5 !important;
}

footer .bg-base-color h6,
footer .bg-base-color span,
footer .bg-base-color a {
    color: #FFFFFF !important;
}

footer .bg-base-color .btn-dark-gray {
    background-color: #111827 !important;
    color: #FFFFFF !important;
}

footer .bg-base-color .btn-dark-gray:hover {
    background-color: #0F172A !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Footer content */
footer.footer-dark {
    background-color: transparent !important;
}

footer span,
footer p {
    color: #94A3B8 !important;
}

footer h6,
footer .fw-500 {
    color: #E2E8F0 !important;
}

/* Footer links */
footer a {
    color: #94A3B8 !important;
}

footer a:hover {
    color: #4F46E5 !important;
}

footer .footer-navbar a {
    color: #94A3B8 !important;
}

footer .footer-navbar a:hover {
    color: #4F46E5 !important;
}

footer .footer-navbar .active a {
    color: #4F46E5 !important;
}

/* Footer border */
footer .border-color-transparent-white-light {
    border-color: rgba(148, 163, 184, 0.1) !important;
}

/* Footer newsletter input */
footer .form-control {
    background-color: #111827 !important;
    border-color: rgba(148, 163, 184, 0.1) !important;
    color: #E2E8F0 !important;
}

footer .form-control::placeholder {
    color: #64748B !important;
}

footer .form-control:focus {
    border-color: #4F46E5 !important;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Footer submit button */
footer .submit {
    color: #4F46E5 !important;
}

/* Footer logo and social icons */
footer .footer-logo {
    opacity: 0.9;
}

/* ===================================
    Additional Enhancements
====================================== */

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Image overlays for better contrast */
section.bg-tranquil .image {
    position: relative;
    overflow: hidden;
}

section.bg-tranquil .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

section.bg-tranquil .services-box-style-06:hover .image::after {
    opacity: 0;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #4F46E5;
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

/* Custom scrollbar for dark theme sections */
section.bg-tranquil::-webkit-scrollbar,
section.overflow-hidden::-webkit-scrollbar,
footer::-webkit-scrollbar {
    width: 8px;
}

section.bg-tranquil::-webkit-scrollbar-track,
section.overflow-hidden::-webkit-scrollbar-track,
footer::-webkit-scrollbar-track {
    background: #111827;
}

section.bg-tranquil::-webkit-scrollbar-thumb,
section.overflow-hidden::-webkit-scrollbar-thumb,
footer::-webkit-scrollbar-thumb {
    background: #4F46E5;
    border-radius: 4px;
}

section.bg-tranquil::-webkit-scrollbar-thumb:hover,
section.overflow-hidden::-webkit-scrollbar-thumb:hover,
footer::-webkit-scrollbar-thumb:hover {
    background: #6366F1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .accordion-style-06 .accordion-item {
        margin-bottom: 8px;
    }
    
    .accordion-style-06 .accordion-header a {
        padding: 15px 20px;
    }
    
    .accordion-style-06 .accordion-body {
        padding: 15px 20px;
    }
}

/* ===================================
    Featured Programs Section
====================================== */
#featured-programs-container .portfolio-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Override program card styles for dark theme */
#featured-programs-container .program-card {
    background: #111827 !important;
    border: 1px solid rgb(148 163 184 / 48%) !important;
    box-shadow: 0 -1px 10px rgb(255 255 255 / 25%), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
}

#featured-programs-container .program-content {
    background-color: #111827 !important;
}

#featured-programs-container .program-title {
    color: #E5E7EB !important;
}

#featured-programs-container .program-description {
    color: #9CA3AF !important;
}

#featured-programs-container .mentor-name {
    color: #60A5FA !important;
}

#featured-programs-container .mentor-name:hover {
    color: #93BBFC !important;
}

#featured-programs-container .discounted-price {
    color: #FFFFFF !important;
}

#featured-programs-container .regular-price {
    color: #9CA3AF !important;
}

#featured-programs-container .review-count {
    color: #9CA3AF !important;
}

#featured-programs-container .btn-view-book {
    background-color: #d5a52b !important;
    color: #000000 !important;
    max-width: 50%;
}

#featured-programs-container .btn-view-book:hover {
    background-color: #EA580C !important;
    color: #FFFFFF !important;
}

#featured-programs-container .header-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding-bottom: 8px;
}

#featured-programs-container .rating-container {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

#featured-programs-container .program-actions {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (min-width: 1200px) {
    #featured-programs-container .portfolio-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Browse All Programs Card */
.browse-all-programs-card {
    background: #111827 !important;
    border: 2px dashed rgb(148 163 184 / 48%) !important;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.browse-all-programs-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.browse-all-programs-card:hover {
    border-color: #F97316 !important;
    background: rgba(249, 115, 22, 0.05) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

.browse-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 40px;
}

.browse-all-content {
    text-align: center;
}

.browse-all-content i.icon-feather-grid {
    font-size: 48px;
    color: #F97316;
    margin-bottom: 20px;
    display: block;
}

.browse-all-content h4 {
    color: #E5E7EB !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.browse-all-content p {
    color: #9CA3AF !important;
    font-size: 14px;
    margin-bottom: 20px;
}

.browse-all-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F97316;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.browse-all-arrow i {
    color: #FFFFFF;
    font-size: 18px;
}

.browse-all-programs-card:hover .browse-all-arrow {
    background: #EA580C;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .browse-all-programs-card {
        min-height: 400px;
    }
    
    .browse-all-content i.icon-feather-grid {
        font-size: 40px;
    }
    
    .browse-all-content h4 {
        font-size: 18px;
    }
}

/* ===================================
    Mentors Section - Bootstrap Grid
====================================== */
/* Using Bootstrap's flexbox grid system for proper layout */
#index-mentors-container {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

#index-mentors-container > .col-lg-4 {
    padding-right: 15px;
    padding-left: 15px;
}

/* ===================================
    Browse All Mentors Card
====================================== */
.browse-all-mentors-card {
    background: transparent !important;
}

.browse-all-mentors-card .services-box-style-06 {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    border: 2px solid #4F46E5 !important;
    transition: all 0.3s ease;
}

.browse-all-mentors-card .services-box-style-06:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3) !important;
    border-color: #6366F1 !important;
}

.browse-all-mentors-card .browse-all-content i.icon-feather-users {
    font-size: 48px;
    color: #60A5FA !important;
    margin-bottom: 20px;
    display: block;
}

.browse-all-mentors-card .browse-all-arrow {
    background: #4F46E5 !important;
}

.browse-all-mentors-card:hover .browse-all-arrow {
    background: #6366F1 !important;
    transform: translateX(5px);
}