/* Course Template Styles */
.course-page {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
    margin-top: 0;
}

/* Course Sidebar */
.course-sidebar {
    width: 228px;
    background-color: #E1E2E2;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.course-sidebar-header {
    padding: 24px 20px 0px 20px;
    border-bottom: none;
    background-color: #E1E2E2;
    cursor: pointer;
    margin-bottom: 36px;
}

.course-logo {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 6px;
}

.course-logo img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.course-title {
    font-size: 15px;
    font-weight: 500;
    color: #434343;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 15px;
    vertical-align: middle;
    white-space: nowrap;
}

/* Navigation */
.course-navigation {
    padding: 0;
}

.course-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    border-bottom: none;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    margin: 0 8px;
    color: #434343;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: 15px;
    letter-spacing: -0.4px;
    vertical-align: middle;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background-color: #CFCFCF;
    color: #111827;
    box-shadow: 0 0 20px rgba(207, 207, 207, 0.6);
    transform: translateX(4px);
}


.nav-item.active .nav-link {
    background-color: #CFCFCF;
    color: #111827;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(207, 207, 207, 0.4);
}

.coming-soon-badge {
    background-color: #4D9BFF;
    color: white;
    font-family: SF Pro Display, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -4%;
    vertical-align: middle;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: none;
    margin-left: 8px;
}

/* Sections */
.sections-header {
    padding: 24px 20px 0px 20px;
}

.sections-header h3 {
    color: #A2A2A2;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 15px;
    padding-bottom:10px;
    letter-spacing: -0.5px;
    vertical-align: middle;
    margin: 0;
}

.sections-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-item {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.section-item.active {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
}

.section-link {
    display: block;
    padding: 8px 12px;
    color: #434343;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: 15px;
    letter-spacing: -0.4px;
    vertical-align: middle;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    margin: 0 8px;
}

.section-link:hover {
    background-color: #CFCFCF;
    color: #111827;
    box-shadow: 0 0 20px rgba(207, 207, 207, 0.6);
    transform: translateX(4px);
}

.section-item.active .section-link {
    background-color: #CFCFCF;
    color: #111827;
    font-weight: 500;
    margin: 0 8px;
    border-radius: 8px;
    padding: 8px 12px;
}

.section-item.active .section-link:hover {
    background-color: #CFCFCF;
    color: #111827;
}

/* Current lesson styling */
.section-link.current-lesson {
    font-weight: 600;
    color: #111827;
    background-color: #CFCFCF;
    text-decoration: none;
    margin: 0 8px;
    border-radius: 8px;
    padding: 8px 12px;
}

.section-link.current-lesson:hover {
    background-color: #e5e7eb;
    color: #111827;
    text-decoration: none;
}

/* Topics List - nested under lessons */
.topics-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
}

.topic-item {
    border-bottom: 1px solid #e5e7eb;
}

.topic-link {
    display: block;
    padding: 12px 20px 12px 40px; /* Indented with left padding */
    color: #6b7280;
    text-decoration: none;
    font-family: var(--font-inter, sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s ease;
    position: relative;
}

.topic-link:before {
    content: "•";
    position: absolute;
    left: 28px;
    color: #9ca3af;
    font-size: 16px;
}

.topic-link:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Main Content */
.course-main-content {
    flex: 1;
    margin-left: 228px;
    padding: 0px 20px 0px 20px;
    background-color: #ffffff;
}

.course-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.course-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.course-main-title {
    font-family: var(--font-inter, sans-serif);
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.course-description {
    font-family: var(--font-inter, sans-serif);
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Course Content */
.course-content-inner {
    margin-bottom: 48px;
}

.course-content-inner p {
    font-family: var(--font-inter, sans-serif);
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
}

/* Lessons Overview */
.course-lessons-overview {
    margin-top: 48px;
}

.course-lessons-overview h2 {
    font-family: var(--font-inter, sans-serif);
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 32px;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.lesson-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}

.lesson-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.lesson-card h3 {
    margin: 0 0 12px 0;
    font-family: var(--font-inter, sans-serif);
    font-size: 18px;
    font-weight: 600;
}

.lesson-card h3 a {
    color: #111827;
    text-decoration: none;
}

.lesson-card h3 a:hover {
    color: #3b82f6;
}

.lesson-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.lesson-status {
    margin-top: 16px;
}

.status-completed {
    color: #059669;
    font-weight: 600;
    font-size: 14px;
}

.status-pending {
    color: #d97706;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .course-sidebar {
        display: none;
    }
    
    .course-main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .course-main-title {
        font-size: 28px;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .course-page {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .course-main-content {
        padding: 0px 8px 16px 8px;
    }
    
    .course-main-title {
        font-size: 24px;
    }
    
    .course-description {
        font-size: 16px;
    }
}

/* Custom Course Header */
.course-custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.course-header-container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    max-width: 100%;
}


.course-header-logo img {
    width: 28px;
    height: 28px;
}

.course-header-logo {
    cursor: default;
}

.course-header-logo:hover {
    background: none;
    opacity: 1;
    transform: none;
    transition: none;
}

.course-header-logo img:hover {
    opacity: 1;
    transform: none;
    transition: none;
}

.course-header-title {
    justify-self: center;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Ensure the clickable title looks like plain text */
.course-header-title a {
    color: #111827;
    text-decoration: none;
}

.course-header-title a:hover,
.course-header-title a:focus {
    color: #111827;
    text-decoration: none;
}

.course-header-toggle {
    justify-self: end;
    cursor: pointer;
    padding: 8px 0 8px 8px;
}

.course-header-toggle .hamburger-icon {
    width: 14px;
    position: relative;
    display: inline-block;
}

.course-header-toggle .hamburger-icon .line {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #374151;
    border-radius: 1px;
    left: 0;
    transition: all 0.3s ease;
}

.course-header-toggle .hamburger-icon .line1 {
    top: 2px;
}

.course-header-toggle .hamburger-icon .line2 {
    top: 8px;
}

/* Premium Hamburger Animation for Course Header */
.course-header-toggle.active .hamburger-icon .line1 {
    transform: translateY(3px) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.course-header-toggle.active .hamburger-icon .line2 {
    transform: translateY(-3px) rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.course-header-toggle .hamburger-icon .line1,
.course-header-toggle .hamburger-icon .line2 {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom Mobile Menu - Premium Animation */
.course-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
}

.course-mobile-menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.course-mobile-navigation {
    padding: 20px;
    background-color: white;
    height: calc(100vh - 104px); /* Full height minus header */
    display: flex;
    flex-direction: column;
}

.course-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
    background-color: white;
    transform: translateX(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered animation for menu items */
.course-mobile-menu.show .mobile-nav-item {
    transform: translateX(0);
    opacity: 1;
}

.course-mobile-menu.show .mobile-nav-item:nth-child(1) { transition-delay: 0.15s; }
.course-mobile-menu.show .mobile-nav-item:nth-child(2) { transition-delay: 0.25s; }
.course-mobile-menu.show .mobile-nav-item:nth-child(3) { transition-delay: 0.35s; }
.course-mobile-menu.show .mobile-nav-item:nth-child(4) { transition-delay: 0.45s; }
.course-mobile-menu.show .mobile-nav-item:nth-child(5) { transition-delay: 0.55s; }
.course-mobile-menu.show .mobile-nav-item:nth-child(6) { transition-delay: 0.65s; }

/* Sections header styling */
.mobile-nav-header {
    padding: 16px 20px 8px 0;
    border-bottom: none;
    background-color: transparent;
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.mobile-nav-header span {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Logout button sticks to bottom */
.mobile-nav-item.logout-nav-item {
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    border-bottom: none;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #374151;
    text-decoration: none;
    font-family: var(--font-inter, sans-serif);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    background-color: white;
}

.mobile-nav-link:hover {
    color: #111827;
}

.mobile-nav-item.active .mobile-nav-link {
    color: #111827;
    font-weight: 600;
}

.mobile-coming-soon-badge {
    background-color: #4D9BFF;
    color: white;
    font-family: SF Pro Display, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -4%;
    vertical-align: middle;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: none;
    margin-left: 8px;
}

/* Mobile navigation button styling */
.mobile-nav-button {
    background-color: #374151 !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    margin: 16px 0 8px 0 !important;
    text-align: center !important;
    font-weight: 600 !important;
    border: none !important;
    border-bottom: none !important;
    justify-content: center !important;
}

/* Add top margin to first button to separate from nav items */
.course-mobile-nav-list .mobile-nav-item:nth-child(3) .mobile-nav-button {
    margin-top: 24px !important;
}

.mobile-nav-join {
    background-color: #4D9BFF !important;
}

.mobile-nav-signin {
    background-color: transparent !important;
    border: 2px solid #374151 !important;
    color: #374151 !important;
}

.mobile-nav-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile Sections */
.mobile-sections-header {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-sections-header h3 {
    color: #A2A2A2;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 15px;
    letter-spacing: -4%;
    vertical-align: middle;
    margin: 0;
}

.mobile-sections-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-section-item {
    border-bottom: 1px solid #f9fafb;
}

.mobile-section-link {
    display: block;
    padding: 12px 0;
    color: #374151;
    text-decoration: none;
    font-family: var(--font-inter, sans-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.mobile-section-link:hover {
    color: #111827;
}

.single-sfwd-lessons main
{
    display:none;
}

/* Hide default header on desktop course pages */
@media (min-width: 1025px) {
    body.single-sfwd-courses .mainheader,
    body.single-sfwd-lessons .mainheader {
        display: none;
    }
    
    .course-custom-header {
        display: none;
    }
    
    body.single-sfwd-courses .course-page,
    body.single-sfwd-lessons .course-page {
        margin-top: 0;
    }
    
    body.admin-bar .course-sidebar {
        top: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    body.single-sfwd-courses .mainheader,
    body.single-sfwd-lessons .mainheader {
        display: none;
    }
    

    
    .course-sidebar {
        display: none;
    }
    
    .course-main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .course-main-title {
        font-size: 28px;
    }
    
    .lessons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .course-main-content {
        padding: 0 8px 16px 8px;
    }
    
    .course-main-title {
        font-size: 24px;
    }
    
    .course-description {
        font-size: 16px;
    }
}

/* Hide footer only on course pages */
body.single-sfwd-courses .footer_area,
body.single-sfwd-lessons .footer_area {
    display: none;
}

/* Section Hero Styles - Full Width Edge to Edge */
.section-hero {
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: 48px;
}

.section-hero-content {
    position: relative;
    overflow: hidden;
    height: 700px;
    width: 100%;
}

/* Hero Section Responsive Heights - Same as Course Sections */
@media (min-width: 1512px) {
    .section-hero-content {
        height: 700px;
    }
}

@media (max-width: 1511px) and (min-width: 1200px) {
    .section-hero-content {
        height: 650px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .section-hero-content {
        height: 600px;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .section-hero-content {
        height: 550px;
    }
}

.section-hero-content img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.section-hero-overlay {
    position: absolute;
    bottom: 50px;
    left: 60px;
    width: calc(100% - 40px);
    padding: 0;
    background: none;
    color: #fff;
    box-sizing: border-box;
}

.section-hero-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 37px;
    letter-spacing: -1.5px;
    vertical-align: middle;
    margin: 0 0 12px 0;
    text-shadow: none;
}

.section-hero-subtitle {
    font-family: SF Pro Display, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0px;
    vertical-align: middle;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
}

/* Mobile responsiveness for section hero */
@media (max-width: 1024px) {
    .section-hero {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .section-hero-overlay {
        left: 40px;
        width: calc(100% - 40px);
        padding: 0;
    }
}

@media (max-width: 768px) {
    .section-hero {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
        margin-bottom: 15px;
    }
    
    .section-hero-content {
        height: 595px;
    }
    
    /* Hide desktop hero image on mobile */
    .section-hero-content img {
        display: none;
    }
    
    /* Use mobile-specific hero background */
    .section-hero-content {
        background-image: url('../images/hero-course-mobile.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .section-hero-overlay {
        left: 20px;
        width: calc(100% - 20px);
        padding: 0;
    }
    
    .section-hero-title {
        font-size: 36px;
    }
    
    .section-hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-hero-content {
        height: 595px;
        /* Ensure mobile background on small screens too */
        background-image: url('../images/hero-course-mobile.jpg');
        background-size: cover;
        background-position: center;
    }
    
    /* Hide desktop hero image on small mobile */
    .section-hero-content img {
        display: none;
    }
    
    .section-hero-overlay {
        left: 30px;
        width: calc(100% - 30px);
        padding: 0;
    }
    
    .section-hero-title {
        font-size: 36px;
    }
    
    .section-hero-subtitle {
        font-size: 15px;
    }
}

/* Beta Cohort Section Styles */
.beta-cohort-section {
    background-color: #f8f9fa;
    padding: 80px 40px;
    margin: 0 0 48px 0;
    border-radius: 12px;
    text-align: center;
}

.beta-cohort-content {
    max-width: 600px;
    margin: 0 auto;
}

.beta-cohort-icon {
    margin-bottom: 32px;
    text-align: center;
}

.beta-cohort-icon img {
    width: 120px;
    height: 120px;
    opacity: 0.9;
}

.beta-cohort-title {
    font-family: var(--font-inter, sans-serif);
    font-size: 26px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 36px;
    letter-spacing: -1.5px;
    vertical-align: middle;
}

.beta-cohort-subtitle {
    font-family: var(--font-inter, sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.beta-cohort-button {
    display: inline-block;
    background-color: white;
    color: black;
    font-family: SF Pro Display, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 48px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0px;
    line-height: 42px;
    vertical-align: middle;
    border: 1px solid #e5e7eb;
}

.beta-cohort-button:hover {
    background-color: #f8f9fa;
    color: black;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile responsiveness for Beta Cohort */
@media (max-width: 1024px) {
    .beta-cohort-section {
        padding: 60px 40px;
        text-align: left;
    }
    
    .beta-cohort-content {
        max-width: none;
        margin: 0;
    }
    
    .beta-cohort-icon {
        margin-bottom: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .beta-cohort-section {
        padding: 50px 20px;
    }
    
    .beta-cohort-icon img {
        width: 100px;
        height: 100px;
    }
    
    .beta-cohort-title {
        font-size: 36px;
    }
    
    .beta-cohort-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .beta-cohort-section {
        padding: 40px 15px;
    }
    
    .beta-cohort-icon img {
        width: 80px;
        height: 80px;
    }
    
    .beta-cohort-title {
        font-size: 32px;
    }
    
    .beta-cohort-subtitle {
        font-size: 15px;
    }
    
    .beta-cohort-button {
        font-size: 15px;
        padding: 10px 20px;
    }
}

/* Course Sections Grid Styles */
.course-sections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.course-section-item {
    position: relative;
    width: 100%;
}

.course-section-content {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 700px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

/* Course Section Content at 1512px and above */
@media (min-width: 1512px) {
    .course-section-content {
        height: 700px;
    }
}

/* Course Section Content for smaller desktops */
@media (max-width: 1511px) and (min-width: 1200px) {
    .course-section-content {
        height: 650px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .course-section-content {
        height: 600px;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .course-section-content {
        height: 550px;
    }
}

.course-section-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-section-content img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.course-section-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), rgba(0,0,0,0));
    color: #fff;
}

.course-section-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 37px;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1.5px;
    vertical-align: middle;
}

.course-section-subtitle {
    font-family: SF Pro Display, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 21px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    letter-spacing: 0px;
    vertical-align: middle;
}

/* Desktop only - larger subtitle to match hero paragraph text */
@media (min-width: 769px) {
    .course-section-subtitle {
        font-size: 18px;
        line-height: 28px;
    }
}

.course-section-button {
    display: inline-block;
    background-color: white;
    color: black;
    font-family: SF Pro Display, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 40px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0px;
    line-height: 42px;
    vertical-align: middle;
}

.course-section-button:hover {
    background-color: #f8f9fa;
    color: black;
    text-decoration: none;
    transform: translateY(-1px);
}

.course-section-button.coming-soon {
    background-color: white;
    color: black;
    border: 1px solid #e5e7eb;
}

.course-section-button.coming-soon:hover {
    background-color: #f8f9fa;
    color: black;
}

/* Mobile responsiveness for Course Sections */
@media (max-width: 768px) {
    .course-sections-grid {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .course-section-content {
        height: 554px;
    }
    
    .course-section-overlay {
        padding: 24px 20px;
    }
    
    .course-section-title {
        font-size: 36px;
    }
    
    .course-section-subtitle {
        font-size: 15px;
    }
    
    .course-section-button {
        font-size: 13px;
        padding: 6px 24px;
    }
}

/* Mobile background images for course sections */
@media (max-width: 768px) {
    /* Hide desktop images on mobile */
    .course-section-content img {
        display: none;
    }
    
    /* Use mobile-specific background images */
    .course-section-item:nth-child(1) .course-section-content {
        background-image: url('../images/beta-cohort-mobile.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .course-section-item:nth-child(2) .course-section-content {
        background-image: url('../images/section-2-system-mobile.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .course-section-item:nth-child(3) .course-section-content {
        background-image: url('../images/section-3-skills-mobile.jpg');
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .course-section-content {
        height: 554px;
    }
    
    .course-section-overlay {
        padding: 20px 16px;
    }
    
    .course-section-title {
        font-size: 36px;
    }
    
    .course-section-subtitle {
        font-size: 14px;
    }
}

/* FAQ Accordion Section Styles - Base */
.faq-accordion-section {
    background-color: white;
    color: #333333;
    padding: 80px 40px;
    margin: 48px -40px 0 -40px;
    display: none;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-heading {
    font-family: SF Pro Display, var(--font-inter, sans-serif);
    font-size: 72px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 48px 0;
    line-height: 53px;
    letter-spacing: -0.05em;
    text-align: center;
    vertical-align: middle;
}

.faq-accordion {
    max-width: 100%;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #333333;
    font-family: var(--font-inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
    padding: 32px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Desktop FAQ Question - No bottom padding, 10px bottom margin */
@media (min-width: 1025px) {
    .faq-question {
        padding: 32px 0 0 0;
        margin-bottom: 10px;
    }
}

.faq-question:hover {
    color: #111827;
}

.faq-question span {
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: block;
    width: 100%;
    padding: 0 0 32px 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    box-sizing: border-box;
}

.faq-answer.expanded {
    max-height: 200px;
    opacity: 1;
}

.faq-answer p {
    font-family: var(--font-inter, sans-serif);
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Mobile FAQ Accordion - White theme */
@media (max-width: 1024px) {
    .faq-accordion-section {
        background-color: white;
        color: #333333;
        margin-left: -20px;
        margin-right: -20px;
        padding: 60px 80px;
    }
    
    .faq-heading {
        color: #333333;
        font-family: SF Pro Display, var(--font-inter, sans-serif);
        font-weight: 700;
        font-size: 30px;
        line-height: 53px;
        letter-spacing: -0.05em;
    }
    
    .faq-item {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .faq-question {
        color: #333333;
        font-family: SF Pro Display, var(--font-inter, sans-serif);
        font-weight: 600;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: 0px;
        padding: 24px 0;
    }
    
    .faq-question:hover {
        color: #111827;
    }
    
    .faq-answer {
        padding: 0 0 24px 0;
    }
    
    .faq-answer p {
        color: #6b7280;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .faq-accordion-section {
        padding: 50px 40px;
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .faq-heading {
        font-size: 30px;
        line-height: 53px;
        letter-spacing: -0.05em;
        margin-bottom: 32px;
    }
    
    .faq-question {
        font-family: SF Pro Display, var(--font-inter, sans-serif);
        font-weight: 600;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: 0px;
        padding: 20px 0;
    }
    
    .faq-answer {
        padding: 0 0 20px 0;
    }
}

@media (max-width: 480px) {
    .faq-accordion-section {
        padding: 40px 30px;
    }
    
    .faq-heading {
        font-size: 30px;
        line-height: 53px;
        letter-spacing: -0.05em;
        margin-bottom: 24px;
    }
    
    .faq-question {
        font-family: SF Pro Display, var(--font-inter, sans-serif);
        font-weight: 600;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: 0px;
        padding: 16px 0;
    }
    
    .faq-question span {
        margin-right: 12px;
    }
}

/* Ontraport Form Section */
.ontraport-form-section {
    margin: 80px 0;
    padding: 60px;
    background: #f4f1ed;
}

@media (max-width: 768px) {
    .ontraport-form-section {
        margin: 40px 0;
        padding: 40px 20px;
    }
}

/* Support Link Styling - positioned above logout */
.support-section {
    margin-top: 20px;
}

.support-nav-item .nav-link {
    color: #434343;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-nav-item .nav-link:hover {
    color: #111827;
}

/* Logout Link Styling - positioned lower with normal colors */
.logout-nav-item {
    margin-top: 12px;
}

/* Contact Form Section - Aligned with content above */
.contact-form-section {
    background-color: #F9F2E8;
    padding: 40px;
    margin-top: 60px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact-left h2 {
    font-family: SF Pro Display, sans-serif;
    font-size: 53px;
    font-weight: 700;
    line-height: 53px;
    letter-spacing: -5%;
    color: #000000;
    margin: 0;
    vertical-align: middle;
}



.contact-right {
    text-align: right;
}

.contact-right h3 {
    font-family: SF Pro Display, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 53px;
    letter-spacing: -5%;
    color: #000000;
    margin: 0 0 24px 0;
    vertical-align: middle;
    text-align: right;
}

.contact-form {
    position: relative;
    width: 100%;
}

.contact-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 2px solid #787878;
    background: transparent;
    border-radius: 12px;
    font-family: SF Pro Display, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 53px;
    letter-spacing: -6%;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    vertical-align: middle;
}

.contact-form textarea:focus {
    border-color: #374151;
}

.contact-form textarea::placeholder {
    color: #9ca3af;
    font-family: SF Pro Display, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 53px;
    letter-spacing: -6%;
    vertical-align: middle;
}

/* Character count removed for simplified design */

.form-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
}

/* Form description removed for simplified design */

.submit-btn {
    background-color: #374151;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-family: SF Pro Display, sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #6b7280;
}

/* Contact Success State */
.contact-success {
    width: 100%;
    text-align: right;
    padding: 40px 0;
}

.contact-success h3 {
    font-family: SF Pro Display, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 53px;
    letter-spacing: -5%;
    color: #000000;
    margin: 0 0 16px 0;
    text-align: right;
    vertical-align: middle;
}

.contact-success p {
    font-family: SF Pro Display, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 53px;
    letter-spacing: -6%;
    color: #6b7280;
    margin: 0 0 24px 0;
    text-align: right;
    vertical-align: middle;
}

.new-message-btn {
    display: inline-block;
    background-color: #374151;
    color: white;
    text-decoration: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-family: SF Pro Display, sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.new-message-btn:hover {
    background-color: #1f2937;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 25px;
        padding: 0 40px;
    }
    
    .contact-left h2 {
        font-size: 60px;
        line-height: 48px;
    }
    
    .contact-right h3 {
        font-size: 28px;
        line-height: 34px;
    }
    
    .form-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .submit-btn {
        align-self: flex-end;
    }
}

        @media (max-width: 480px) {
            .contact-form-section {
                padding: 60px 0;
            }
            
            .contact-container {
                padding: 0 20px;
            }
            
            .contact-left h2 {
                font-size: 48px;
                line-height: 40px;
            }
        }

        /* Lesson Inquiry Form Styles */
        .lesson-inquiry-header h2 {
            font-family: SF Pro Display, sans-serif;
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            letter-spacing: 0px;
            vertical-align: middle;
            color: #000000;
            margin: 0 0 0px 0;
            text-align: left;
        }



        /* Lesson page form overrides */
        .lesson-inquiry-header ~ .contact-form textarea {
            background: white;
            border: 2px solid transparent;
            padding: 10px;
            color: #2A2A2A;
            font-family: SF Pro Display, var(--font-inter, sans-serif);
            font-weight: 400;
            font-style: regular;
            font-size: 15px;
            line-height: 28px;
            letter-spacing: -0.75px;
        }
        
        .lesson-inquiry-header ~ .contact-form textarea::placeholder {
            color: #2A2A2A;
            font-family: SF Pro Display, var(--font-inter, sans-serif);
            font-weight: 400;
            font-style: regular;
            font-size: 15px;
            line-height: 28px;
            letter-spacing: -0.75px;
        }
        
        /* Form styling for dropdowns */
        .contact-form .form-row {
            margin-bottom: 16px;
        }
        
        .contact-form .form-row label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            color: #374151;
            font-size: 14px;
            font-family: SF Pro Display, var(--font-inter, sans-serif);
        }
        
        .contact-form .form-row .required {
            color: #dc2626;
        }
        
        .contact-form .form-row select {
            width: 100%;
            padding: 10px;
            border: 2px solid transparent;
            border-radius: 12px;
            font-family: SF Pro Display, var(--font-inter, sans-serif);
            font-weight: 400;
            font-style: regular;
            font-size: 15px;
            line-height: 28px;
            letter-spacing: -0.75px;
            background: white;
            color: #2A2A2A;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        
        /* Transparent background for course page dropdowns */
        body.single-sfwd-courses .contact-form .form-row select {
            background: transparent;
            border: 2px solid black;
        }
        
        .contact-form .form-row select:focus {
            outline: none;
            box-shadow: none;
        }
        
        .contact-form .support-reason-row {
            display: none;
            transition: all 0.3s ease;
        }

        /* Lesson inquiry section background override */
        #lesson-inquiry-section.contact-form-section {
            background-color: #F4F4F4;
        }

        .lesson-inquiry-header + form.contact-form .submit-btn {
            background-color: #000000;
            color: white;
            display: block;
            margin: 16px auto 0 auto;
        }

        .lesson-inquiry-header + form.contact-form .submit-btn:hover {
            background-color: #333333;
        }

        .lesson-inquiry-header + form.contact-form .submit-btn:disabled {
            background-color: #000000 !important;
            opacity: 0.6;
        }

        .lesson-inquiry-header + form.contact-form .form-bottom {
            justify-content: center;
            text-align: center;
        }

/* Contact Form Section Mobile Responsiveness - Full Width */
@media (max-width: 1024px) {
    .contact-form-section {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .contact-container {
        padding: 0 40px;
    }
    
    .contact-left h2 {
        font-size: 38px;
    }
    
    .contact-right h3 {
        font-size: 21px;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-container {
        padding: 0 30px;
    }
    
    .contact-left h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .contact-right h3 {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.3;
    }
    
    .contact-form textarea {
        font-size: 16px;
        line-height: 1.4;
        min-height: 150px;
    }
    
    .contact-form textarea::placeholder {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Beta Cohort Calls Button Styling */
.beta-cohort-calls-button {
    font-family: SF Pro Display, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 36px;
    letter-spacing: 0px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Mobile: Align Beta Cohort Calls to the left */
@media (max-width: 768px) {
    .beta-cohort-calls-button {
        justify-content: flex-start;
        font-size:17px;
        text-align: left;
        margin-left:10px;
    }
}


 