/* Shared CSS for Elite Minds Program Pages */

body {
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.logo {
    position: absolute;
    top: -60px;
    left: 30px;
    width: 200px;
    height: auto;
    z-index: 1000;
}

.header-nav {
    display: flex;
    gap: 16px;
    position: absolute;
    top: 15px;
    right: 48px;
    z-index: 1000;
}

.header-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: #b0ff64;
    border: 2px solid #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-button:hover {
    background-color: #a0e55a;
    color: #000;
    border: 2px solid #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.header-button:active {
    transform: translateY(0);
}

.menu-toggle {
    display: none;
}

.content-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 140px 48px 0px;
}

.status-pills {
    margin-top: 0;
}

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    margin-right: 12px;
    font-size: 14px;
}

.limited-seats {
    background-color: #1A3D6B;
    color: white;
}

.duration {
    background-color: #CBE1EE;
    color: #1A3D6B;
}

.try-free-message-banner {
    display: block;
    background-color: #e6ffe6;
    border: 2px dashed #32CD32;
    color: #2E8B57;
    padding: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.0em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    cursor: pointer;
}

.course-title {
    font-size: 36px;
    font-weight: 600;
    margin: 24px 0;
    max-width: 800px;
    line-height: 1.2;
}

.course-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.course-details {
    margin-top: 40px;
}

.detail-row {
    display: flex;
    margin-bottom: 30px;
    font-size: 16px;
}

.detail-label {
    width: 120px;
    font-weight: 600;
    color: #333;
}

.detail-value {
    color: #666;
    max-width: 439px;
    font-size: 16px;
    line-height: 1.5;
}

.detail-value ul {
    list-style-type: disc;
    padding-left: 15px;
    margin: 0;
}

.detail-value li {
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 10px;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.text-content, .image-container {
    margin-top: 0;
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.image-container {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.partnership-section {
    margin-top: 0;
}

.partnership-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.partner-logos {
    max-width: 100%;
}

.partner-logos img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-info {
    font-size: 15px;
    color: #666;
    margin-top: 25px;
    font-family: 'Poppins', sans-serif;
}

.contact-info a {
    color: #0066cc;
    text-decoration: underline;
}

.contact-info a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.enroll-button {
    display: inline-block;
    background-color: #00BF63;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 250px;
    margin-left: 0px;
    text-decoration: none;
}

.enroll-button:hover {
    background-color: #15325A;
}

.bottom-enroll-container {
    text-align: center;
    margin: 60px 0;
}

.bottom-enroll-button {
    display: inline-block;
    background-color: #00BF63;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 250px;
    text-decoration: none;
}

.bottom-enroll-button:hover {
    background-color: #15325A;
}

.instructor-section {
    padding: 0;
    margin-top: -70px;
    background-color: #fff;
}

.instructor-bio {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.instructor-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 40px;
}

.instructor-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}

.instructor-info {
    flex: 1;
}

.taught-by {
    font-size: 14px;
    color: #666;
}

.instructor-name {
    font-size: 24px;
    font-weight: 600;
    margin: 12px 0;
}

.instructor-description {
    font-size: 16px;
    color: #666;
}

.curriculum-section {
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.week-card {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
}

.week-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.week-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.week-card li {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
    padding-left: 0;
}

.week-card:nth-child(n+4) {
    margin-top: 20px;
}

.week-card li:before {
    content: none;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-image img {
    border-radius: 20px;
    background-color: #E1F7DB;
}

.mentors-section {
    margin-top: 60px;
}

.mentors-section h3 {
    color: #666;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Tablet Responsiveness */
@media screen and (max-width: 768px) {
    .logo {
        position: relative;
        top: 0;
        left: 0;
        width: 150px;
        margin: -25px 0;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        font-size: 30px;
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        right: 10px;
        background-color: #ffffff;
        padding: 15px 20px;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
        width: calc(100% - 40px);
        max-width: 300px;
    }

    .header-nav.open {
        display: flex;
    }

    .header-button {
        margin: 8px 0;
        padding: 10px 15px;
        background-color: transparent;
        border: none;
        box-shadow: none;
        color: #333;
        text-align: left;
        font-weight: 500;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .header-button:hover {
        background-color: #f0f0f0;
        color: #000;
        transform: none;
        box-shadow: none;
    }

    .content-container {
        padding: 20px 24px;
    }

    .main-content {
        flex-direction: column;
        gap: 30px;
    }

    .text-content, .image-container {
        max-width: 100%;
    }

    .course-title {
        font-size: 28px;
    }

    .detail-row {
        flex-direction: column;
        gap: 10px;
    }

    .detail-label {
        width: 100%;
    }

    .detail-value {
        width: 100%;
    }

    .weeks-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .week-card:nth-child(n+4) {
        margin-top: 0;
    }

    .partnership-section {
        margin-bottom: 60px;
    }

    .instructor-section {
        margin-top: 0;
        position: relative;
    }

    .instructor-bio {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 20px;
    }

    .instructor-image {
        margin: 0 auto;
    }

    .instructor-info {
        text-align: center;
    }

    .enroll-button {
        width: 100%;
        margin: 30px 0;
    }

    .bottom-enroll-button {
        width: 100%;
        max-width: 250px;
    }

    .mobile-program-top { display: block !important; margin-bottom: 20px; }
    .mobile-program-image { width: 100%; height: auto; border-radius: 20px; margin: 10px 0 10px 0; }
    .mobile-try-free { display: block; margin-bottom: 20px; }
    .mobile-course-description { margin-bottom: 30px; }
    .desktop-course-description, .desktop-try-free, .image-container { display: none !important; }
}

@media screen and (min-width: 769px) {
    .mobile-program-top { display: none !important; }
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
    .content-container {
        padding: 20px 16px;
    }

    .status-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .pill {
        margin-right: 0;
        font-size: 12px;
    }

    .course-title {
        font-size: 24px;
    }

    .partnership-section {
        margin-bottom: 0px;
    }

    .instructor-image, .instructor-image img {
        width: 150px;
        height: 150px;
    }

    .week-card {
        padding: 15px;
    }

    .week-card h3 {
        font-size: 16px;
    }

    .week-card li {
        font-size: 14px;
    }

    .bottom-enroll-container {
        margin: 40px 0;
    }
}
