/* Apple-like Modern Styles */
:root {
    --primary-color: #007AFF;
    --primary-light: #5AC8FA;
    --secondary-color: #F2F2F7;
    --text-dark: #1D1D1F;
    --text-muted: #86868B;
    --border-color: #D2D2D7;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F2F7;
    --shadow-light: rgba(0, 0, 0, 0.04);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    --shadow-heavy: rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-large: 20px;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    background-color: var(--bg-primary) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}



.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('../images/placeholders/hero-main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 2rem 0;
}



/* Button Styles */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
}

.btn-light {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Card Styles */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    border-color: var(--primary-color);
}

.shadow-sm {
    box-shadow: 0 4px 12px var(--shadow-light) !important;
}

/* Service Cards */
.service-card {
    padding: 2rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-icon img {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

/* Info Items */
.info-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-icon img {
    border-radius: 0.5rem;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.py-5 {
    padding: 5rem 0 !important;
}

/* Typography */
.display-4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.h1, h1 {
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.h2, h2 {
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: #FFFFFF !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

/* Background Colors */
.bg-light {
    background-color: var(--bg-secondary) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.bg-white {
    background-color: var(--bg-primary) !important;
}

.bg-dark {
    background-color: var(--secondary-color) !important;
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Map Placeholder */
.map-placeholder img {
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--secondary-color) !important;
    color: var(--text-dark) !important;
}

footer .text-primary {
    color: var(--primary-color) !important;
}

footer p {
    color: var(--text-muted) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding: 3rem 0 !important;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .d-flex.gap-3 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* CTA Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Urgency Elements */
.badge.bg-danger {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.25);
    outline: none;
}

/* Hover Effects */
img {
    transition: all 0.3s ease;
}

.card img:hover,
.service-icon img:hover,
.info-icon img:hover {
    transform: scale(1.05);
}

/* CTA Hover Effects */
.btn-warning:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.btn.pulse-animation:hover {
    animation: none;
    transform: translateY(-3px) scale(1.05);
}