/* ========================================
   Contact Page Styles - Redesigned
   ======================================== */

/* Page Title */
.page-title {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #8B0000 0%, #a52a2a 100%);
    margin-bottom: 50px;
    border-radius: 10px;
}

.page-title h1 {
    font-size: 42px;
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    margin-bottom: 10px;
    font-weight: normal;
}

.page-title p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    font-family: 'Times New Roman', Times, serif;
}

/* Main Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;

}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Top Section: Contact Cards Grid */
.contact-cards-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #00275f;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00275f 0%, #004494 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,39,95,0.3);
}

.card-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.contact-card h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: bold;
    color: #00275f;
    margin: 0 0 12px 0;
}

.contact-card p {
    font-size: 15px;
    color: #555;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.card-highlight {
    font-size: 18px !important;
    font-weight: bold;
    color: #8B0000 !important;
    font-family: 'Times New Roman', Times, serif;
}

.card-detail {
    font-size: 13px;
    color: #888;
    display: block;
    margin-top: 8px;
}

/* Bottom Section: Two Columns */
.contact-bottom-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.map-box,
.quick-info-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.box-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #00275f 0%, #004494 100%);
    padding: 18px 25px;
    margin: 0;
}

.map-container {
    padding: 20px;
}

.map-container img {
    display: block;
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
}

/* Quick Info Box */
.quick-info-box {
    display: flex;
    flex-direction: column;
}

.info-content {
    padding: 25px;
    flex: 1;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.welcome-text {
    background-color: #f8f9fa;
    padding: 20px 25px;
    border-top: 1px solid #eee;
}

.welcome-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .contact-cards-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-bottom-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 40px 0;
        margin-bottom: 40px;
    }
    
    .page-title h1 {
        font-size: 32px;
    }
    

    .contact-wrapper {
        gap: 35px;
    }
    
    .contact-cards-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    
    .card-icon {
        width: 55px;
        height: 55px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .card-icon img {
        width: 24px;
        height: 24px;
    }
    
    .contact-card h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .contact-card p {
        font-size: 14px;
    }
    
    .card-highlight {
        font-size: 16px !important;
    }
    
    .box-title {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .map-container {
        padding: 15px;
    }
    
    .map-container iframe {
        height: 280px;
    }
    
    .info-content {
        padding: 20px;
    }
    
    .info-item {
        padding: 12px 0;
    }
    
    .info-label,
    .info-value {
        font-size: 14px;
    }
    
    .welcome-text {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 28px;
    }
    
    .page-title p {
        font-size: 16px;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon img {
        width: 22px;
        height: 22px;
    }
    
    .box-title {
        font-size: 18px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
        max-width: 100%;
    }
    .map-container img {height: auto;}
}
