/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #141e30, #243b55);
    color: white;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    display: none;
}

/* Background Image */
.image-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container */
.container1 {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 30, 48, 0.8);
    border-radius: 10px;
    padding: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Internship Section */
.internship-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

/* Left Content */
.content1 {
    flex: 1;
    padding-right: 40px;
    min-width: 320px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-heading {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-list i {
    color: #00c6ff;
    margin-right: 10px;
}

/* Right Side - Form */
.form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 320px;
}

.form-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

.form-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.form-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    outline: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.form-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    border: none;
    color: white;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    transform: scale(1.05);
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .internship-container {
        flex-direction: column;
        text-align:justify;
        
    }

    .content1 {
        padding-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .info-list li {
        justify-content: center;
    }

    .form-container {
        width: 100%;
    }

    .form-box {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .container1 {
        flex-direction: column;
        padding: 15px;
    }

    .internship-container {
        padding: 30px;
    }

    .form-box {
        width: 100%;
        padding: 20px;
    }
}


.popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    color: white;
    opacity: 1;
    animation: fadeInOut 3s ease-in-out;
}

.popup.success {
    background-color: #4CAF50; /* Green for success */
}

.popup.error {
    background-color: #FF5733; /* Red for error */
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content p {
    font-size: 16px;
    font-weight: bold;
}

.modal-content button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.modal-content button:hover {
    background: #0056b3;
}

