/* Contact Page - Fully Responsive CSS */

/* Hero Section */
.contact-section {
    background-image: url("../Assets/contactbg.webp");
    background-size: cover;
    background-position: center;
}

/* Contact Wrapper */
.contact-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.12);
    margin: 60px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Contact Container */
.contact-container {
    padding: 30px 20px;
}

.contact-container h4 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-container h5 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-top: 1rem;
}

.contact-link {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
}

.contact-link i {
    color: var(--light-blue);
    font-size: 18px;
    min-width: 30px;
}

.contact-link a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-link a:hover {
    color: var(--light-blue);
}

.contact-link p {
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

.divide {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Social Links */
.contact-social-link {
    padding-top: 15px;
}

.contact-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--dark-blue);
    font-size: 18px;
    border: 2px solid var(--dark-blue);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-social-link a:hover {
    background-color: var(--dark-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* Form Section */
.wrapper {
    padding: 60px 0;
}

.wrapper .subhead {
    font-size: 32px;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 40px;
}

.form-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 14px 18px;
    margin: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    color: #333;
    font-weight: 400;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: var(--light-blue);
}

.form-container textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn-wrapper {
    margin-top: 20px;
}

/* Committee Section */
.committee-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.college-info {
    background: linear-gradient(135deg, #0B3C5D, #0052b3);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 62, 143, 0.2);
    position: relative;
    overflow: hidden;
}


.college-info h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.college-info p {
    margin: 8px 0;
    font-size: 15px;
}

.college-info .location {
    font-size: 18px;
    font-weight: 500;
}

.college-info .college-code {
    font-weight: 600;
    font-size: 16px;
}

/* Committee Header */
.committee-header {
    text-align: center;
    margin: 40px 0 30px;
}

.committee-header h3 {
    font-size: 32px;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.effective-date {
    color: var(--darkkpink);
    font-weight: 600;
    font-size: 16px;
}

/* Committee Table */
.committee-table-container {
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: white;
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.committee-table thead {
   background: linear-gradient(135deg, #0B3C5D, #0052b3);
}

.committee-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.committee-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.committee-table tbody tr:hover 
{
    background-color: #f5f9ff;
}

.committee-table tbody tr:last-child 
{
    border-bottom: none;
}

.committee-table td {
    padding: 16px 15px;
    font-size: 15px;
}

.committee-table td:first-child {
    font-weight: 600;
    color: var(--dark-blue);
    width: 80px;
    text-align: center;
}

.committee-table td:nth-child(2) {
    font-weight: 500;
}

.committee-table td:nth-child(3) {
    color: #555;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 32px;
    color: var(--light-blue);
}

.contact-item strong {
    display: block;
    color: #222482;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ff6768;
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid #2bafe3;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.info-box h4 {
    color: #222482;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-box p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */

/* Tablets and below (992px) */
@media (max-width: 992px) {
    .contact-wrapper {
        margin: 40px 0;
    }

    .contact-wrapper iframe {
        height: 400px;
    }

    .wrapper {
        padding: 50px 0;
    }

    .wrapper .subhead {
        font-size: 28px;
    }

    .committee-section {
        padding: 50px 0;
    }

    .contact-info {
        gap: 30px;
    }

    .contact-item {
        min-width: 220px;
    }
}

/* Mobile Landscape and below (768px) */
@media (max-width: 768px) {
    .contact-wrapper {
        margin: 30px 0;
        border-radius: 0;
    }

    .contact-wrapper iframe {
        height: 350px;
    }

    .contact-container {
        padding: 25px 15px;
    }

    .contact-container h4 {
        font-size: 1.3rem;
    }

    .contact-link {
        padding: 8px 0;
    }

    .contact-link i {
        font-size: 16px;
        min-width: 25px;
    }

    .contact-link a,
    .contact-link p {
        font-size: 14px;
    }

    .contact-social-link a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .wrapper {
        padding: 40px 0;
    }

    .wrapper .subhead {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .form-container input,
    .form-container textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-container textarea {
        min-height: 120px;
    }

    .college-info {
        padding: 25px 15px;
    }

    .college-info h2 {
        font-size: 20px;
    }

    .college-info p {
        font-size: 14px;
    }

    .college-info .location {
        font-size: 16px;
    }

    .committee-header h3 {
        font-size: 24px;
    }

    .effective-date {
        font-size: 14px;
    }

    .committee-table th,
    .committee-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .committee-table td:first-child {
        width: 60px;
    }

    .contact-info {
        gap: 20px;
    }

    .contact-item {
        padding: 20px 25px;
        min-width: 100%;
    }

    .contact-item i {
        font-size: 28px;
    }

    .contact-item p {
        font-size: 16px;
    }

    .info-box {
        padding: 20px 20px;
    }

    .info-box h4 {
        font-size: 18px;
    }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
    .contact-wrapper iframe {
        height: 300px;
    }

    .contact-container {
        padding: 20px 15px;
    }

    .contact-container h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .contact-container h5 {
        font-size: 1rem;
    }

    .contact-link {
        padding: 6px 0;
    }

    .contact-link a,
    .contact-link p {
        font-size: 13px;
    }

    .contact-social-link {
        padding-top: 10px;
    }

    .contact-social-link a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .wrapper {
        padding: 30px 0;
    }

    .wrapper .subhead {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .form-container input,
    .form-container textarea {
        padding: 10px 12px;
        font-size: 13px;
        margin: 6px 0;
    }

    .form-container textarea {
        min-height: 100px;
    }

    .custom-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .college-info {
        padding: 20px 12px;
    }

    .college-info h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .college-info p {
        font-size: 13px;
        margin: 5px 0;
    }

    .college-info .location {
        font-size: 15px;
    }

    .college-info .college-code {
        font-size: 14px;
    }

    .committee-header {
        margin: 30px 0 20px;
    }

    .committee-header h3 {
        font-size: 20px;
    }

    .effective-date {
        font-size: 13px;
    }

    .committee-table-container {
        margin: 30px 0;
        border-radius: 6px;
    }

    .committee-table th,
    .committee-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .committee-table td:first-child {
        width: 50px;
        font-size: 13px;
    }

    .contact-item {
        padding: 18px 20px;
        gap: 12px;
    }

    .contact-item i {
        font-size: 24px;
    }

    .contact-item strong {
        font-size: 12px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .info-box {
        padding: 18px 15px;
        border-left-width: 3px;
    }

    .info-box h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .info-box p {
        font-size: 14px;
    }
}

/* Extra Small Devices (360px) */
@media (max-width: 360px) {
    .contact-wrapper iframe {
        height: 250px;
    }

    .contact-container h4 {
        font-size: 1.1rem;
    }

    .wrapper .subhead {
        font-size: 18px;
    }

    .committee-table {
        min-width: 500px;
    }

    .contact-social-link a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}