/*
 Theme Name:   Edplus Child Theme
 Theme URI:    https://themesvila.com/themes-wp/edplus/
 Description:  This is edplus Child Theme
 Author:       themesvila
 Author URI:   https://www.templatemonster.com/authors/themesvila/
 Template:     edplus
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:  two-columns, right-sidebar
 Text Domain:  edplus-child
*/

/* Affiliated With Section */
.affiliated-with-section {
    background: #fdfdfd;
    padding: 40px 0;
    /* border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0; */
}

.affiliated-with-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.affiliated-label {
    flex: 0 0 auto;
    margin-right: 40px;
}

.affiliated-label h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #222;
    white-space: nowrap;
}

.affiliated-logos {
    flex: 1 1 auto;
    overflow: hidden;
}

.affiliated-logos .owl-item img {
    max-height: 130px;
    width: auto !important;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.affiliated-logos .owl-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991px) {
    .affiliated-with-inner {
        flex-direction: column;
        text-align: center;
    }

    .affiliated-label {
        margin-right: 0;
        margin-bottom: 25px;
    }
}

/* Tools Section */
.tools-section {
    padding: 70px 0;
    background: #fdfdfd;
    /* border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0; */
}

.tools-header {
    text-align: left;
    margin-bottom: 50px;
}

.tools-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.tools-header p {
    font-size: 16px;
    color: #666;
    max-width: 1100px;
    margin: 0;
    line-height: 1.8;
    font-weight: 400;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px 20px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tool-placeholder {
    font-size: 12px;
    font-weight: 600;
    color: #777;
    background: #fff;
    padding: 15px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1199px) {
    .tools-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 15px;
    }

    .tools-header h2 {
        font-size: 28px;
    }

    .tools-section {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
    }

    .tools-header p {
        font-size: 15px;
    }

    .tools-header {
        margin-bottom: 30px;
    }
}

/* Improve 'What Will You Learn?' Section */
.tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    padding: 0;
    margin-top: 25px !important;
    list-style: none !important;
}

.tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list li {
    background: #fdfdfd;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin: 0 !important;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
}

.tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list li:hover {
    background: #fff;
    border-color: var(--tutor-color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list li span.tutor-icon-bullet-point {
    color: var(--tutor-color-primary) !important;
    /* Brand Green */
    font-size: 16px !important;
    margin-right: 14px !important;
    margin-top: 4px !important;
}

.tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list li span:not(.tutor-icon-bullet-point) {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

/* Responsive adjustment for Mobile */
@media (max-width: 991px) {
    .tutor-course-details-widget.tutor-course-details-widget-col-2 .tutor-course-details-widget-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Course Schedule Sidebar Widget */
.course-schedule-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px 25px;
    margin-bottom: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.course-schedule-widget .cs-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.4;
}

.cs-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.cs-block {
    position: relative;
    border: 1px dashed rgba(62, 180, 71, 0.3);
    padding: 20px 15px 15px;
    border-radius: 6px;
}

.cs-header {
    display: inline-flex;
    align-items: center;
    background: #000;
    border-radius: 20px;
    padding: 2px;
    padding-right: 15px;
    gap: 8px;
    position: absolute;
    top: -18px;
    left: 12px;
}

.cs-header i {
    width: 30px;
    height: 30px;
    background: transparent;
    color: #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.cs-header span {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.cs-content {
    margin-top: 5px;
}

.cs-content strong {
    display: block;
    font-size: 17px;
    color: #222;
    margin-bottom: 5px;
    font-weight: 700;
}

.cs-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cs-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-orange {
    background: #fff9e6;
    color: #b37400;
    border: 1px solid #ffeeba;
    border-radius: 4px;
}

.badge-green {
    background: #00ff00;
    color: #000;
    font-weight: 800;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
}

.apply-btn {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    width: 100%;
    /* color: #000;
    font-size: 19px;
    font-weight: 800;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important; */
    
    background: var(--blue);
    border: 1px solid var(--blue);
    padding: 0 30px;
    color: var(--white);
    display: inline-block;
    height: 50px;
    line-height: 48px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    transition: .5s;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.apply-btn:hover {
    /* background: #00d900; */
    transform: scale(1.02);
    /* box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3); */
    color: var(--white);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: var(--blue);
    border: 1px solid var(--blue);
    padding: 0 30px;
    color: var(--white);
    display: inline-block;
    height: 50px;
    line-height: 48px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    transition: .5s;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sidebar-contact-form input, .sidebar-contact-form textarea {
    width: 100%;
    margin-bottom: 25px;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid var(--dd);
    padding: 10px 0px;
    background: transparent;
    transition: .5s;
}

.sidebar-contact-form input:focus, .sidebar-contact-form textarea:focus {
    outline: inherit;
    border-bottom: 1px solid var(--blue);
}