/* dual-enrollment.css - Custom Stylesheet */
:root {
    --primary-green: #1b5e20;
    --secondary-green: #2e7d32;
    --accent-green: #66bb6a;
    --light-green: #e8f5e9;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-green);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--accent-green);
}

/* Main Navigation */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    min-height: 70px;
}

.brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    padding: 15px 0;
}

.brand:hover {
    color: var(--secondary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.nav-menu li a {
    display: block;
    padding: 25px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: var(--secondary-green);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-enroll {
    background-color: var(--secondary-green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-enroll:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-timesheets {
    background-color: white;
    color: var(--secondary-green);
    border: 2px solid var(--secondary-green);
    padding: 8px 22px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-timesheets:hover {
    background-color: var(--secondary-green);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--secondary-green);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-green);
    margin: 5px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    background-color: white;
    color: var(--secondary-green);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--secondary-green);
}

.hero-note {
    margin-top: 20px;
    font-size: 16px;
    font-style: italic;
}

/* Main Content Wrapper */
.main-wrapper {
    padding: 60px 0;
    background-color: var(--bg-light);
}

/* Main Content */
.main-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hero-note .inline-link {
    color: var(--light-green);  /* Done only for hero-note because of green background */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-green);
}

.hero-note .inline-link:hover {
    color: var(--light-green);  /* Done only for hero-note because of green background */
}

/* Dual Enrollment Page Styles */
.page-header {
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
}

.resource-section {
    margin-bottom: 45px;
}

.resource-section:last-child {
    margin-bottom: 0;
}

.resource-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    background-color: transparent;
}

.resource-link:hover {
    background-color: var(--bg-light);
    padding-left: 30px;
    color: var(--secondary-green);
}

.resource-text {
    font-size: 16px;
    font-weight: 500;
}

.link-indicator {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 300;
    transition: transform 0.2s ease;
}

.resource-link:hover .link-indicator {
    transform: translateX(5px);
    color: var(--secondary-green);
}

.doc-badge {
    display: inline-block;
    background-color: var(--secondary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.resource-link:hover .doc-badge {
    background-color: var(--primary-green);
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Info Card */
.info-card {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    padding: 30px;
}

.info-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card a {
    color: var(--secondary-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-green);
}

.info-card a:hover {
    color: var(--primary-green);
}

/* Footer */
.site-footer {
    background-color: var(--primary-green);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu li a {
        padding: 25px 12px;
        font-size: 14px;
    }

    .btn-enroll,
    .btn-timesheets {
        padding: 8px 16px;
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        order: 2;
    }

    .main-content {
        padding: 30px 20px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-top: 1px solid #e9ecef;
    }

    .nav-menu li a {
        padding: 15px 20px;
    }

    .nav-actions {
        width: 100%;
        padding: 15px 0;
        border-top: 1px solid #e9ecef;
        justify-content: center;
    }

    .btn-enroll,
    .btn-timesheets {
        flex: 1;
        text-align: center;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 30px 0;
    }

    .hero-cta {
        font-size: 18px;
        padding: 12px 30px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-description {
        font-size: 16px;
    }

    .resource-section h2 {
        font-size: 20px;
    }

    .resource-link {
        padding: 15px;
    }

    .resource-link:hover {
        padding-left: 20px;
    }

    .resource-text {
        font-size: 15px;
        padding-right: 10px;
    }

    .doc-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
}
