/* Contact Page Specific Styles */

/* Inner Page Hero (Shared between subpages) */
.inner-hero-section {
    position: relative;
    height: 40vh;
    background: linear-gradient(135deg, rgba(7, 27, 77, 0.85), rgba(10, 25, 49, 0.85)), url('campus-day.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0 5%;
}

.inner-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 49, 0.4);
    z-index: 1;
}

.inner-hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.inner-hero-section h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.inner-hero-section p {
    font-size: clamp(14px, 1.8vw, 16px);
    opacity: 0.9;
    font-weight: 300;
}

/* Main Grid Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.contact-details-col {
    display: flex;
    flex-direction: column;
}

.section-title span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Info Cards Stack */
.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-info-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-info-card i {
    width: 50px;
    height: 50px;
    background: rgba(21, 101, 192, 0.06);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(21, 101, 192, 0.1);
}

.detail-info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.detail-info-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

/* Map */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    width: 100%;
}

.map-container iframe {
    display: block;
}

/* Contact Form Col */
.contact-form-col .form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-col .form-wrapper h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-form-col .form-wrapper p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Form Groups & Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.required {
    color: #D32F2F;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.input-icon-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--light);
}

.input-icon-wrapper input:focus {
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--light);
    resize: none;
}

.form-group textarea:focus {
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.btn-send-message {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-send-message:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.3);
}

/* Success Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 25, 49, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 450px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.success-icon {
    font-size: 55px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-modal-close {
    background: var(--primary);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.btn-modal-close:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Responsive adjust */
@media(max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-form-col .form-wrapper {
        padding: 30px 20px;
    }
}
