    .container {
        margin-top: 70px;
        width: 100%;
        max-width: 1200px;
        box-sizing: border-box;
    }

    .main-title {
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 2rem;
        color: #1f2937;
    }

    .stream-section {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
        padding: 2rem;
        margin-bottom: 2rem;
        border: 1px solid #e0e0e0;
    }

    .stream-title {
        font-size: 1.5rem;
        font-weight: 600;
        border-bottom: 3px solid #3b82f6;
        padding-bottom: 8px;
        display: inline-block;
        margin-bottom: 1.5rem;
        overflow-wrap: break-word;
    }
    .stream-title.science { color: #1d4ed8; }
    .stream-title.management { color: #047857; }
    .stream-title.arts-humanities { color: #7e22ce; }
    .stream-title.entrance { color: #dc2626; }

    .course-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        background: #f8f8f8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        border: 1px solid #eee;
        padding: 1rem;
        transition: transform 0.2s, box-shadow 0.2s;
        overflow-wrap: break-word;
    }
    .course-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .course-name {
        font-size: 1.2rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

    .university-name {
        color: #2563eb;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .course-description {
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .section-heading {
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

    .job-skills ul, .course-structure ul {
        list-style: disc;
        padding-left: 20px;
    }
    .job-skills li, .course-structure li {
        margin-bottom: 4px;
        color: #555;
    }

    .note {
        font-style: italic;
        color: #666;
        margin: 10px 0 0.75rem 0;
        padding-left: 5px;
        border-left: 3px solid #0073ff;
        font-size: 0.875rem;
    }

    .price-info-container {
        margin-top: 1rem;
        font-size: 0.875rem;
        color: #6b7280;
    }
    .price-info {
        font-weight: 600;
        color: #dc2626;
    }
    .price-disclaimer {
        font-size: 0.85rem;
        color: #777;
        margin-top: 8px;
    }

    .footer-disclaimer {
        text-align: center;
        color: #4b5563;
        margin-top: 2rem;
    }
    .explore-button {
        gap: 1rem;
        margin: 4px;
    }

    /* Responsive */
    @media (max-width: 599px) {
        .container {
            padding: 0 0.5rem;
            margin-top: 70px;
        }
        .main-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }
        .stream-section {
            padding: 0.75rem;
            margin-bottom: 1rem;
        }
        .stream-title {
            font-size: 1rem;
            margin-bottom: 1rem;
        }
        .course-card {
            padding: 0.5rem;
        }
        .course-name {
            font-size: 1rem;
        }
        .course-description {
            font-size: 0.95rem;
        }
        .footer-disclaimer {
            font-size: 0.9rem;
        }
    }

    @media (min-width: 600px) and (max-width: 1199px) {
        .course-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .container {
            padding: 2rem;
        }
    }

    @media (min-width: 1200px) {
        .course-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .container {
            margin: 70px auto 0 auto;
            padding: 2rem 0;
        }
    }

    /* form  */
/* --- Modal (Popup) Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px; /* Add some padding around the modal */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Centers the modal vertically and horizontally */
    padding: 30px;
    border: 1px solid #888;
    width: 90%; /* Responsive width */
    max-width: 600px; /* Maximum width for larger screens */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeInModal 0.3s ease-out; /* Simple fade in animation */
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}

.modal-content h2 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8em;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content textarea {
    width: calc(100% - 20px); /* Account for padding */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width calculation */
}

.modal-content select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fafafa;
    box-sizing: border-box;
    appearance: none;
    outline: none;
    transition: border-color 0.2s;
}

.modal-content select:focus {
    border-color: #3498db;
    background-color: #fff;
}
.modal-content textarea {
    resize: vertical; /* Allow vertical resizing */
}

.modal-content button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%; /* Take more width on smaller screens */
        padding: 20px;
    }
    .modal-content h2 {
        font-size: 1.5em;
    }
    .close-button {
        font-size: 28px;
        top: 5px;
        right: 10px;
    }
}

/* Add or adjust these styles for the apply button in college cards */
.apply-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
  background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #1f0fb4;
}