/**
 * Our Courses Section Block Styles
 * 
 * @package ACF Child Theme
 */

/* Section Wrapper - Full width background */
.our-courses-section {
    background-color: #f5f6f6;
    width: 100%;
    padding: 60px 0;
}

/* Content Wrapper - WordPress layout width */
.ocs-content-wrapper {
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Title */
.ocs-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 50px 0;
    line-height: 1.2;
}

/* Grid Layout */
.ocs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styles */
.ocs-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ocs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* Card Title */
.ocs-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin: 0;
    min-height: 60px;
}

/* List Styles */
.ocs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.ocs-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
}

.ocs-list li:last-child {
    margin-bottom: 0;
}

/* Orange bullet dots */
.ocs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: #d98b20;
    border-radius: 50%;
}

/* Button Styles */
.ocs-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    color: #8c47c0;
    border: 2px solid #8c47c0;
    width: fit-content;
}

.ocs-button:hover {
    color: #d98b20;
    border-color: #d98b20;
}

.ocs-button-icon {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .ocs-content-wrapper {
        padding: 0 30px;
    }

    .ocs-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .ocs-grid {
        gap: 25px;
    }

    .ocs-card {
        padding: 35px 30px;
    }

    .ocs-card-title {
        font-size: 1.375rem;
        min-height: auto;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .our-courses-section {
        padding: 50px 0;
    }

    .ocs-content-wrapper {
        padding: 0;
    }

    .ocs-title {
        font-size: 1.75rem;
        margin-bottom: 35px;
    }

    .ocs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ocs-card {
        padding: 30px 25px;
        gap: 20px;
    }

    .ocs-card-title {
        font-size: 1.25rem;
        min-height: auto;
    }

    .ocs-list li {
        font-size: 0.95rem;
        padding-left: 30px;
        margin-bottom: 15px;
    }

    .ocs-list li::before {
        top: 8px;
        width: 10px;
        height: 10px;
    }

    .ocs-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .our-courses-section {
        padding: 40px 0;
    }

    .ocs-content-wrapper {
        padding: 0;
    }

    .ocs-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .ocs-card {
        padding: 25px 20px;
    }

    .ocs-card-title {
        font-size: 1.125rem;
    }

    .ocs-list li {
        font-size: 0.9rem;
    }
}
