/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #245EE2;
    --primary-dark: #1e40af;
    --success-color: #16a34a;
    --warning-color: #ea580c;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-gray: #f9fafb;
    --bg-white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #245EE2;
    border-bottom: none;
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-user {
    color: white;
    font-weight: 500;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.75rem; /* wider button */
    min-width: 140px;         /* enforce minimum width */
    text-align: center;       /* center label */
    white-space: nowrap;      /* keep each button on one line */
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Prevent overflow on smaller screens */
@media (max-width: 768px) {
    .nav-link {
        min-width: 120px;
        padding: 0.7rem 1.25rem;
    }
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.alert-success {
    background-color: #dcfce7;
    border-color: var(--success-color);
    color: #166534;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-warning {
    background-color: #ffedd5;
    border-color: var(--warning-color);
    color: #9a3412;
}

.alert-info {
    background-color: #cffafe;
    border-color: var(--info-color);
    color: #155e75;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.auth-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.auth-card h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #245EE2;
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 94, 226, 0.4);
}

.btn-secondary {
    background-color: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--text-dark);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #15803d;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-gray);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.btn-info {
    background-color: var(--info-color);
    color: white;
}

.btn-info:hover {
    background-color: #0e7490;
}

/* Application Form */
.form-container {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 2rem auto;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.form-header {
    margin-bottom: 2.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin: -1rem -1rem 2rem -1rem;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-notice {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    color: #1e40af;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3:before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-actions .form-notice {
    margin-top: 1rem;
    display: inline-block;
}

/* Message Page */
.message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
}

.message-card {
    background: var(--bg-white);
    padding: 4rem 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.message-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.message-success .message-icon {
    color: var(--success-color);
    filter: drop-shadow(0 4px 8px rgba(22, 163, 74, 0.3));
}

.message-warning .message-icon {
    color: var(--warning-color);
    filter: drop-shadow(0 4px 8px rgba(234, 88, 12, 0.3));
}

.message-info .message-icon {
    color: var(--info-color);
    filter: drop-shadow(0 4px 8px rgba(8, 145, 178, 0.3));
}

.message-card h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.message-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.message-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Admin Dashboard */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.admin-header {
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-right: 4px solid var(--primary-color);
}

.admin-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.admin-header p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(249, 250, 251, 1) 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.stat-card h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Form Status Styling */
.form-status h3.status-open {
    background: linear-gradient(135deg, var(--success-color) 0%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-status h3.status-closed {
    background: linear-gradient(135deg, var(--danger-color) 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-status small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.875rem;
}

.form-controls {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

/* Settings page status styling */
.status-open {
    color: var(--success-color);
    font-weight: bold;
}

.status-closed {
    color: var(--danger-color);
    font-weight: bold;
}

.closed-message {
    font-style: italic;
    color: var(--text-light);
    background: var(--bg-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.25rem;
}

.stat-card p {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.admin-filters {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    flex: 1;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.filter-group input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.admin-table-container {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table-container h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
}

.admin-table tbody tr:hover {
    background-color: var(--bg-gray);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.details-row {
    background-color: var(--bg-gray);
}

.details-content {
    padding: 1.5rem;
}

.details-content h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.details-section {
    margin-bottom: 1.5rem;
}

.details-section strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.details-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* My Applications Page */
.application-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.application-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.application-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.application-details {
    margin-top: 1.5rem;
}

.detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-grid div {
    padding: 0.5rem 0;
}

.detail-grid strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.detail-list p,
.detail-text p {
    margin-bottom: 0.75rem;
}

.text-content {
    background-color: var(--bg-gray);
    padding: 1rem;
    border-radius: 6px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.detail-files {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-badge {
    display: inline-block;
    background-color: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.file-badge-empty {
    display: inline-block;
    background-color: var(--bg-gray);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.no-applications {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.no-applications p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Admin Settings Page */
.settings-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.settings-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.settings-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.settings-info {
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #dbeafe;
    border-radius: 6px;
    border-right: 4px solid var(--primary-color);
}

.settings-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.settings-preview {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.settings-preview h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.preview-info {
    margin-bottom: 2rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.preview-item strong {
    color: var(--text-dark);
}

.preview-item span {
    color: var(--text-light);
}

.example-text {
    color: var(--primary-color);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.settings-note {
    background-color: var(--bg-gray);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
}

.settings-note h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.settings-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-note li {
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.settings-note li:before {
    content: "←";
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #245EE2;
    border-top: none;
    padding: 2.5rem 0;
    margin-top: auto;
    text-align: center;
    color: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-card,
    .form-container {
        padding: 1.5rem;
    }

    .admin-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-form {
        flex-direction: column;
    }

    .admin-table {
        font-size: 0.875rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .settings-container {
        grid-template-columns: 1fr;
    }

    .settings-preview {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Instructions Section */
.instructions-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.instructions-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.video-container {
    text-align: center;
}

.video-container p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 8px;
}

.video-link {
    margin-top: 1rem;
}

.video-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-link a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive video */
@media (max-width: 768px) {
    .instructions-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
    
    .video-wrapper iframe {
        height: 250px;
    }
    
    .video-link a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .instructions-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .instructions-section h3 {
        font-size: 1.25rem;
    }
    
    .video-wrapper iframe {
        height: 200px;
    }
}

/* Hide red asterisks for specific elements */
.no-asterisk::after,
.no-asterisk::before {
    display: none !important;
}

.no-asterisk {
    position: relative;
}

.no-asterisk::after {
    content: none !important;
}

/* Ensure checkbox and radio labels don't show asterisks */
.checkbox .no-asterisk,
.radio .no-asterisk {
    color: inherit !important;
    font-weight: inherit !important;
}

.checkbox .no-asterisk::after,
.radio .no-asterisk::after,
.checkbox .no-asterisk::before,
.radio .no-asterisk::before {
    display: none !important;
    content: none !important;
}

/* Scholarship page styles */
.scholarship-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background: #245EE2;
    color: white;
    border-radius: 10px;
}

.scholarship-header h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.scholarship-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.scholarship-content .intro-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-right: 4px solid #245EE2;
}

.scholarship-content .section {
    margin-bottom: 2.5rem;
}

.scholarship-content .section h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.scholarship-content .section h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.guidelines {
    margin-top: 1.5rem;
}

.guideline-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guideline-item h3 {
    color: #245EE2;
    margin-top: 0;
    margin-bottom: 1rem;
}

.benefits-list, .tips-list {
    list-style: none;
    padding: 0;
}

.benefits-list li, .tips-list li {
    background: #f7fafc;
    margin-bottom: 0.8rem;
    padding: 1rem;
    border-radius: 6px;
    border-right: 4px solid #245EE2;
}

.conclusion-section {
    background: linear-gradient(135deg, #245EE2 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    margin: 2rem 0;
}

.video-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.video-container h3 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-link {
    text-align: center;
}

.video-link a {
    color: #245EE2;
    text-decoration: none;
    font-weight: bold;
}

.video-link a:hover {
    text-decoration: underline;
}

.action-buttons {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.action-buttons .btn {
    margin: 0 1rem 1rem 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #718096;
    color: white;
}

.btn-secondary:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* Coursera Platform Styling */
.coursera-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.highlight-item h3 {
    color: #245EE2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.subject-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-right: 4px solid #889fbb;
    transition: transform 0.3s ease;
}

.subject-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subject-category h3 {
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.subject-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-category li {
    background: #ffffff;
    margin-bottom: 0.5rem;
    padding: 0.8rem;
    border-radius: 6px;
    border-right: 3px solid #245EE2;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.subject-category li:hover {
    background: #e6fffa;
}

.program-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-type {
    background: linear-gradient(135deg, #245EE2 0%, #1e40af 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.program-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(36, 94, 226, 0.3);
}

.scholarship-content .program-type h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

.program-type p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

/* Google Button Styling */
.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    max-width: 100%;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
    color: #3c4043;
}

.google-btn:active {
    background: #f1f3f4;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-icon {
    flex-shrink: 0;
}

.google-btn span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.25px;
}

/* Responsive design for scholarship page */
@media (max-width: 768px) {
    .scholarship-header h1 {
        font-size: 2rem;
    }
    
    .scholarship-content .section h2 {
        font-size: 1.5rem;
    }
    
    .action-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
    }
    
    .guideline-item {
        padding: 1rem;
    }
    
    .google-btn {
        min-width: 200px;
        padding: 10px 20px;
    }
    
    .google-btn span {
        font-size: 14px;
    }
    
    .coursera-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-types {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item,
    .subject-category,
    .program-type {
        padding: 1rem;
    }
}

/* Make all asterisks in form labels red */
form label {
    color: inherit;
}

/* Override default form-notice left border for declaration notices */
.form-group .form-notice {
    border-left: none !important;
}
