body {
    background: #f5f8fa;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
}




/*.parent-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sidebar {
    flex: 1 1 300px;
    max-width: 300px;
}*/

#tc-form-section {
    flex: 2 1 600px;
}






/* Background styling with optional image */
.parent-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 3rem 1rem;
    padding-top: 80px; /* Adjust this value to your navbar height */
    max-width: 1200px;
    margin: 2rem auto;
    background-color: rgba(255, 255, 255, 0.95); /* Light transparency if image used */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Ubuntu', sans-serif;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1500&q=80');


    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(2px);
}

/* Sidebar */
.sidebar {
    flex: 1 1 300px;
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sidebar h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #222;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.4rem;
}

.resource-card {
    background: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.resource-card:hover {
    transform: translateY(-3px);
}

.resource-card h3 {
    font-size: 1.1rem;
    color: #2c3e50;
}

.download-links li {
    margin-bottom: 0.5rem;
}

.download-links a {
    text-decoration: none;
    color: #007bff;
}

.download-links a:hover {
    text-decoration: underline;
}

/* View PDF Link as a button */
.pdf-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.pdf-link:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Form Section */
.application-form {
    flex: 1;
    background: #ffffffd9;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    max-width: 650px;
    margin: 0 auto;
}

.application-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.4rem;
    color: #333;
}

/* Input Styling */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px #cce5ff;
}

/* Declaration Section (Checkbox) */
.declaration {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #444;
    margin-top: 1.5rem;
}

.declaration input[type="checkbox"] {
    margin-top: 0.3rem;
}

/* Submit Button */
.form-actions {
    text-align: right;
    margin-top: 2rem;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .parent-container {
        flex-direction: column;
        background-image: none;
        background-color: #fff;
    }

    .sidebar {
        flex: 1 1 100%;
    }

    .application-form {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .parent-container {
        flex-direction: column;
    }

    .sidebar,
    #tc-form {
        max-width: 100%;
    }
}