/* General Reset and Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f5f7;
    color: #333;
    height: 100vh;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

/* Main Container Styling */
.container {
    max-width: 1200px;
    margin: 15px auto;
}

.main-heading {
    text-align: center;
    padding-left: 30%;
    font-size: 32px;
    color: #007bff;
}

/* Internship Card Styling */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.card {
    flex: 1 1 calc(45% - 20px);
    max-width: calc(45% - 20px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card .internship-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
}
.job-title{
    color: #0e52a5;
}
.course-title{
    color:#20a60efe;
}
.card .internship-info {
    margin: 5px 0;
    font-size: 1rem;
}

.card .internship-list {
    list-style-type: square;
    padding-left: 20px;
    margin: 15px 0;
}

.card .internship-list li {
    margin-bottom: 8px;
}

/* Apply Button Styles */
.apply-button {
    display: inline-block;
    padding: 10px 25px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* Specific Colors for Each Button */
.apply-job-button {
    background-color: #0073ff;
    margin-left: 65%;
}

.apply-job-button:hover {
    background-color: #0e52a5;
    cursor: pointer;
}

.join-program-button {
    background-color: #20a60eea;
    margin-left: 60%;
}

.join-program-button:hover {
    background-color: #1c810efe;
    cursor: pointer;
}

/* Card Specific Styles */
.card-frontend {
    border-left: 5px solid #0073ff;
}

.card-course {
    border-left: 5px solid #20a60efe;
}

@media (max-width: 768px) {
    .main-heading {
        text-align: center;
        padding: 0%;
        font-size: 32px;
        color: #007bff;
    }

    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .modalContainer {
        margin-top: 10%;
    }
    .ourSite{
        font-size: 14px;
        position: relative;
        left: 39%;
        bottom: 5px;
    }
    
}

/* Modal and Background Blur Effect */
.modalContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;  /* Initially hidden */
    justify-content: center;
    align-items: center;
    
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 9999;
    backdrop-filter: blur(10px); /* Apply blur to background */
}

.contact-form {
    background: linear-gradient(90deg, #a7cfff 30%, #afffa4);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    height: 65vh;
    width: 40%;
}

.contact-form h2 {
    color: white;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 10px;
}

.contact-form label {
    color: #333;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    height: 50px;
    max-height: 70px;
}

.contact-form button {
    background-color: #261d57;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;

    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #6c9ac5;
}

.contact-form .form-group a {
    font-size: 0.9rem;
    color: #6c9ac5;
    text-decoration: none;
}

.contact-form .form-group a:hover {
    text-decoration: underline;
}
#internship_id{
    border: none;
    background-color: transparent;
}

.ourSite{
    font-size: 14px;
    position: fixed;
    left: 47%;
}
