body {
    font-size: 1.2rem;
}

/*header*/

.logo {
    width: 200px;
}
.pratishthan {
    color: #a61d37;
    margin-bottom: 0;
}

.college-name {
    color: #283f6d;
    font-size: 3vw;
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.affilated-university-name {
    color: #1a2844;
    margin-bottom: 0;
}

.pratishthan,
.affilated-university-name {
    margin: 0;
    padding: 5px;
}

.span-free {
    background-color: #1a2844;
    color: white;
    padding: 0 0.5rem;
}

.span-girl {
    background-color: #a61d37;
    color: white;
    padding: 0 0.5rem;
}

/* mission-li */
.mission > ul > li {
    list-style: none;
}
.mission > ul > li i {
    margin-right: 8px;
}

/* Responsive styles */

/* Tablet and smaller */
@media (max-width: 768px) {
    .logo {
        width: 120px; /* Adjust logo size for smaller screens */
        margin-left: 0;
    }

    .pratishthan,
    .affilated-university-name {
        font-size: 1.2rem; /* Adjust font size for tablets */
    }

    .college-name {
        font-size: 2rem; /* Adjust font size for tablets */
    }

    .mainHeader {
        flex-direction: column;
        gap: 5px !important;
        margin-left: 0;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    .logo {
        width: 100px; /* Smaller logo for mobile */
    }

    .pratishthan,
    .affilated-university-name {
        font-size: 1rem; /* Adjust font size for mobile */
    }

    .college-name {
        font-size: 1.2rem; /* Highlight college name slightly more */
    }
}

.contact-email {
    overflow: auto;
}
.mainHeader {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 0 30px 0;
}

/* contact-form validation */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-error {
    color: red;
    font-size: 0.9em;
}

/* contact form validation */
/* Basic styling for error messages */
.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Highlight invalid inputs */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: red;
}

/* To ensure a smooth transition */
.is-invalid {
    transition: border-color 0.3s ease;
}

/* Styling for the submit button in case of error */
button:disabled {
    background-color: gray;
    cursor: not-allowed;
}
