:root {
    --primary-color: #4e73df;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.contact-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-details h5 {
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link:hover {
    color: #3a5ccc;
    text-decoration: underline;
}

.contact-note {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 300px;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(78, 115, 223, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.open-maps-btn {
    background: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.2s;
}

.open-maps-btn:hover {
    transform: translateY(-2px);
}

/* Form Styles */
.contact-form .form-control {
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #3a5ccc;
    border-color: #3a5ccc;
}

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .contact-header {
        padding: 2rem 0;
    }

    .contact-item {
        padding: 0.75rem;
    }
}

.navbar-brand {
    perspective: 1000px;
    display: inline-block;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.navbar-brand:hover img {
    animation: dramaticSpin 1.5s ease-out;
}

@keyframes dramaticSpin {
    0% {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
    }
    25% {
        transform: rotateY(180deg) rotateX(10deg) scale(1.3);
    }
    50% {
        transform: rotateY(360deg) rotateX(-10deg) scale(0.9);
    }
    75% {
        transform: rotateY(540deg) rotateX(5deg) scale(1.1);
    }
    100% {
        transform: rotateY(720deg) rotateX(0deg) scale(1);
    }
}