/* Contact Page Styles */
.contact-hero {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.contact-hero h1 {
    color: #800080;
    font-weight: 700;
}

.contact-hero p {
    color: #666;
    font-size: 1.1rem;
}

/* Form Styles */
.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    color: #800080;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-floating label {
    color: #999;
}

.form-control:focus {
    border-color: #800080;
    box-shadow: 0 0 0 0.25rem rgba(128, 0, 128, 0.25);
}

.btn-purple {
    background-color: #800080;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-purple:hover {
    background-color: #660066;
    color: white;
}

/* Location/Map Section */
.location-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.location-info h3 {
    color: #800080;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    color: #800080;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-item p {
    color: #666;
    margin-bottom: 0;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: #800080;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #800080, #c040c0);
    border-radius: 2px;
}

.branch-category {
    margin-bottom: 20px;
}

.category-title {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 5px solid #800080;
    letter-spacing: 0.5px;
}

.branch-card-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    cursor: pointer;
}

.branch-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(128, 0, 128, 0.2);
}

.branch-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.branch-card-modern:hover .branch-image img {
    transform: scale(1.15);
}

.branch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background 0.3s ease;
}

.branch-card-modern:hover .branch-overlay {
    background: linear-gradient(to top, rgba(128, 0, 128, 0.8) 0%, rgba(128, 0, 128, 0.4) 60%, transparent 100%);
}

.branch-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Mobile Responsiveness for Contact Page */
@media (max-width: 991px) {
    .section-title h2 {
        font-size: 2rem;
    }
}