/* Location Pages Custom Styles */

/* Hero Section Styles */
.hero-header {
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
    contain: layout;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

/* Main Content Section */
.container-fluid.service {
    position: relative !important;
    z-index: 1002 !important;
    contain: layout;
}

/* Ensure main content containers appear above header */
.container-fluid.service .container {
    position: relative !important;
    z-index: 1002 !important;
}

.container-fluid.service .row {
    position: relative !important;
    z-index: 1002 !important;
}

/* Force content to appear above header */
.container-fluid.service .bg-light,
.container-fluid.service .bg-white,
.container-fluid.service .bg-gradient-warning {
    position: relative !important;
    z-index: 1002 !important;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #6f42c1 100%);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Icon Animations */
.icon-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Gradient */
.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%) 1;
}

/* Custom Shadows */
.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Custom Buttons */
.btn-custom {
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
    color: white;
}

/* Section Spacing */
.section-spacing {
    margin-bottom: 5rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Icon Circles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-circle i {
    font-size: 2rem;
    color: white;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-header {
        padding: 3rem 0;
    }
    
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .process-step {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #003a66 0%, #e12355 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #002a4d 0%, #c41e4a 100%);
}
