/* Contact Page Styles */

.page-header {
    background-color: var(--primary-color);
    padding: 130px 0 60px !important; /* Updated top padding to match new navbar height */
    text-align: center;
    color: var(--light-text);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a, .breadcrumb span {
    margin: 0 5px;
}

.breadcrumb a {
    color: var(--light-text);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.contact-page {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover .icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.contact-card .info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card .info p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card .info a {
    color: var(--text-color);
    transition: var(--transition);
}

.contact-card .info a:hover {
    color: var(--secondary-color);
}

.map-container {
    grid-column: 1 / -1;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 8px solid #fff;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.directions {
    margin-top: 60px;
}

.directions h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.directions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.direction-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.direction-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    position: relative;
}

.direction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.direction-item::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 30%;
    height: 4px;
    background-color: var(--primary-color);
}

.direction-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.direction-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.direction-item p {
    line-height: 1.8;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .directions h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-box {
        grid-template-columns: 1fr;
    }
    
    .direction-content {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-card .info h3 {
        font-size: 1.1rem;
    }
    
    .direction-item h3 {
        font-size: 1.2rem;
    }
}
