/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A child theme of Hello Elementor.
Author: Your Name
Author URI: https://yourwebsite.com
Template: hello-elementor
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../hello-elementor/style.css");


    .course-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }
    .main-content {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
    }

    .course-header {
        padding: 30px;
    }

    .course-title {
        font-size: 36px !important;
        font-weight: 600 !important;
        color: #001439 !important;
        margin-bottom: 20px !important;
    }

    .instructor-info {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .instructor-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(45deg, #667eea, #764ba2);
    }
    .instructor-avatar img{
        width: 100%;
        height: 100% !important;
        border-radius: 50%;
        object-fit: cover;
    }
    .instructor-details{
        display: flex;
        flex-direction: row;
        gap: 33px;
        align-items: center;
    }
    .instructor-details h3 {
        color: #001439 !important;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .rating {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .stars {
        color: #BDBCCB;
    }

    .rating-score {
        color: #666;
        font-size: 14px;
    }

    .course-image {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 40px;
    }
    .course-image img{
        width: 100%;
        height: 100% !important;
        border-radius: 10px;
        object-fit: contain;
    }

    .tab-navigation {
        display: flex;
        border:0;
        justify-content: space-between;
        gap: 10px;
    }

    .tab {
        padding: 16px 30px;
        background: none;
        border: none;
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        cursor: pointer;
        color: #001439 !important;
        transition: all 0.3s ease;
        width: 100%;
        border-bottom: 2px solid #EBEBEB !important;
        background: #fff !important;
        border-radius: 0 !important;
    }

    .tab.active {
        background: #316AFF !important;
        color: white !important;
        border-radius: 5px;
        border-bottom: 2px solid #316AFF !important;
    }

    .tab-content {
        padding: 30px;
    }

    .section-title {
        font-size: 20px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .description {
        color: #666;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .learning-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .point {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .point i {
        color: #4285f4;
        margin-top: 2px;
    }

    .point-text {
        color: #555;
        font-size: 14px;
    }

    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .price-card {
        background: white;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .price {
        font-size: 36px;
        font-weight: 700;
        color: #4285f4;
        margin-bottom: 5px;
    }

    .price-label {
        color: #666;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .course-details {
        text-align: left;
        margin-bottom: 25px;
    }

    .detail-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: #666;
        font-size: 14px;
    }

    .detail-item i {
        color: #4285f4;
        width: 16px;
    }

    .join-btn {
        width: 100%;
        background: #4285f4;
        color: white;
        border: none;
        padding: 15px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s ease;
        margin-bottom: 20px;
    }

    .join-btn:hover {
        background: #3367d6;
    }

    .share-section {
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .share-label {
        color: #666;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .share-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .share-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

    .share-btn:hover {
        transform: scale(1.1);
    }

    .share-btn.facebook {
        background: #1877f2;
        color: white;
    }

    .share-btn.twitter {
        background: #1da1f2;
        color: white;
    }

    .share-btn.linkedin {
        background: #0a66c2;
        color: white;
    }

    .contact-card {
        background: url('http://localhost/digital-one-academy/wp-content/uploads/2025/06/marketing-product-manager-holding-marketing-promotion-plan.jpg') no-repeat center center / cover;
        border-radius: 5px;
        padding: 25px;
        color: white;
        position: relative;
        overflow: hidden;
    }
    .contact-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background:rgba(0, 20, 57, 0.85); /* Adjust the alpha for more/less overlay */
        border-radius: 5px;
        z-index: 0;
    }
    /* .contact-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
        border-radius: 12px;
        z-index: -1;
    } */

    h3.contact-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
        position: relative !important;
        z-index: 2 !important;
        color: #fff !important;
    }

    .contact-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        opacity: 0.9;
         position: relative;
        z-index: 2;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        z-index: 2;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

    .contact-item i {
        color: #4285f4;
    }

    /* Accordion Styles */
    .accordion-item {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .accordion-header {
        background: #f8f9fa;
        padding: 15px 20px;
        cursor: pointer;
        display: flex;
        justify-content: between;
        align-items: center;
        transition: background 0.3s ease;
    }

    .accordion-header:hover {
        background: #e9ecef;
    }

    .accordion-header.active {
        background: #4285f4;
        color: white;
    }

    .accordion-title {
        font-weight: 600;
        font-size: 16px;
        flex: 1;
    }

    .accordion-icon {
        transition: transform 0.3s ease;
    }

    .accordion-header.active .accordion-icon {
        transform: rotate(180deg);
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .accordion-content.active {
        max-height: 200px;
    }

    .accordion-body {
        padding: 20px;
        color: #666;
        line-height: 1.6;
    }

    /* Mentor Tab Styles */
    .mentor-section {
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
    }

    .mentor-image {
        width: 280px;
        height: 350px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mentor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mentor-info {
        flex: 1;
    }

    .mentor-label {
        color: #999;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .mentor-name {
        font-size: 24px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .mentor-social {
        display: flex;
        gap: 10px;
        margin-bottom: 25px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        color: white;
    }

    .social-btn:hover {
        transform: scale(1.1);
    }

    .social-btn.facebook {
        background: #1877f2;
    }

    .social-btn.twitter {
        background: #1da1f2;
    }

    .social-btn.instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .skills-section {
        margin-top: 30px;
    }

    .skill-item {
        margin-bottom: 20px;
    }

    .skill-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .skill-name {
        font-weight: 600;
        color: #2c3e50;
    }

    .skill-percentage {
        color: #666;
        font-size: 14px;
    }

    .skill-bar {
        height: 8px;
        background: #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }

    .skill-progress {
        height: 100%;
        background: #4285f4;
        border-radius: 4px;
        transition: width 0.8s ease;
    }

    .tab-content {
        padding: 30px;
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    @media (max-width: 768px) {
        .container {
            grid-template-columns: 1fr;
            padding: 10px;
        }
        
        .learning-points {
            grid-template-columns: 1fr;
        }
        
        .course-title {
            font-size: 24px;
        }
        
        .tab {
            padding: 12px 20px;
            font-size: 14px;
        }

        .mentor-section {
            flex-direction: column;
        }

        .mentor-image {
            width: 100%;
            height: 300px;
        }
    }