/* Modern Workshop Colors inspired by hero image */


/* SMALLER BUTTONS FOR HOME PAGE */
.btn {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

/* CUSTOM CONTACT BUTTONS - Clean and Simple */
.contact-button {
    margin-top: 10px;
}

.contact-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Ford Blue button basic styling */
.btn-ford-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border: none;
    color: white;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.btn-ford-blue:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white !important;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-blue-light: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --accent-orange: #f97316;
    --accent-yellow: #fbbf24;
    --workshop-gray: #374151;
    --workshop-light: #f8fafc;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --white: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Modern Workshop Color Classes */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

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

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

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

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

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

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

.bg-ford-blue-light {
    background-color: var(--primary-blue-light) !important;
}

/* Removed - using global button styles */

.btn-ford-blue:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white !important;
    transform: none;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    animation: none;
}

/* Removed old focus/active rules - replaced with better ones below */

@keyframes pulse {
    0% { box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4); }
    100% { box-shadow: 0 8px 25px rgba(30, 58, 138, 0.6); }
}

/* Removed - using global button styles */

.btn:hover {
    transform: none;
    box-shadow: none;
}

.btn:active {
    transform: none;
}

/* Fix black text issue on click - stronger rules */
.btn-ford-blue:active,
.btn-ford-blue:focus,
.btn-ford-blue:active:focus {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue)) !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-light:active,
.btn-light:focus,
.btn-light:active:focus {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-color: #f8f9fa !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-outline-light:active,
.btn-outline-light:focus,
.btn-outline-light:active:focus {
    background-color: white !important;
    color: var(--primary-blue) !important;
    border-color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Removed - using global button styles */

/* Specific Ford blue button styles */
button.btn-ford-blue,
.btn.btn-ford-blue {
    background-color: var(--primary-blue) !important;
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border: none !important;
    
    /* Perfect text centering */
    text-align: center !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: normal !important;
    white-space: nowrap !important;
    font-size: inherit !important;
    width: auto !important;
    
    transition: all 0.2s ease-in-out !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

button.btn-ford-blue:hover,
.btn.btn-ford-blue:hover {
    background-color: var(--primary-blue-light) !important;
    background: var(--primary-blue-light) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

button.btn-ford-blue:active,
.btn.btn-ford-blue:active {
    background-color: var(--primary-blue-dark) !important;
    background: var(--primary-blue-dark) !important;
    color: #ffffff !important;
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* SPECIFIC TEXT COLOR OVERRIDES */
a.btn-light, 
a.btn-light:hover, 
a.btn-light:focus, 
a.btn-light:active {
    color: var(--primary-blue) !important;
}

/* Static button styles - no animations */
.btn-light:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--primary-blue) !important;
    transform: none;
    box-shadow: none;
    animation: none;
}

.btn-outline-light:hover {
    background-color: transparent !important;
    border-color: white !important;
    color: white !important;
    transform: none;
    box-shadow: none;
    animation: none;
}

@keyframes lightPulse {
    0% { box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4); }
    100% { box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6); }
}

.border-primary-blue-light {
    border-color: var(--primary-blue-light) !important;
}

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

.border-ford-blue-light {
    border-color: var(--primary-blue-light) !important;
}

/* Navigation - Visible Overlay on Hero Image */
.navbar {
    background: rgba(30, 58, 138, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scrolled navbar effects removed to prevent mobile jumping */

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

.navbar-logo {
    height: 45px;
    max-width: 120px;
    object-fit: contain;
    transition: none !important;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Garage Name Styling */
.garage-name {
    line-height: 1.2;
}

.garage-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.garage-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Animation removed for static text */

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ford-blue) !important;
}

/* Hero Section */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

/* Hero car icon */
.hero-car-icon {
    font-size: 10rem;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 35vh;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-section h2 {
        font-size: 1rem !important;
    }
    
    .hero-section p {
        font-size: 0.9rem !important;
    }
    
    .hero-car-icon {
        display: none !important;
    }
    
    /* All gradient blue sections mobile optimization */
    .bg-gradient-blue {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .bg-gradient-blue h1 {
        font-size: 1.5rem !important;
    }
    
    .bg-gradient-blue h2 {
        font-size: 1.1rem !important;
    }
    
    .bg-gradient-blue h3 {
        font-size: 1.1rem !important;
    }
    
    .bg-gradient-blue p,
    .bg-gradient-blue .lead {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Removed - using global button styles */
    
    /* Global mobile text optimization */
    .bg-light h2 {
        font-size: 1.2rem !important;
    }
    
    .bg-light .lead {
        font-size: 0.9rem !important;
    }
    
    .bg-light h6 {
        font-size: 0.85rem !important;
    }
    
    .bg-light small {
        font-size: 0.75rem !important;
    }
    
    /* Services section mobile optimization */
    .card-title {
        font-size: 1rem !important;
    }
    
    .card-text {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    /* Service page large icons */
    .text-ford-blue[style*="font-size: 8rem"] {
        font-size: 3.5rem !important;
    }
    
    /* Service page section titles */
    .text-ford-blue h2 {
        font-size: 1.2rem !important;
    }
    
    /* Service icons in cards */
    .fa-2x {
        font-size: 1.3em !important;
    }
    
    /* Testimonials mobile optimization */
    blockquote p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .blockquote-footer strong {
        font-size: 0.9rem !important;
    }
    
    /* General section padding reduction */
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* General text size optimization */
    h1:not(.display-1):not(.display-2):not(.display-3):not(.display-4):not(.display-5):not(.display-6) {
        font-size: 1.4rem !important;
    }
    
    h2:not(.display-1):not(.display-2):not(.display-3):not(.display-4):not(.display-5):not(.display-6) {
        font-size: 1.2rem !important;
    }
    
    h3:not(.display-1):not(.display-2):not(.display-3):not(.display-4):not(.display-5):not(.display-6) {
        font-size: 1rem !important;
    }
    
    .lead:not(.bg-gradient-blue .lead) {
        font-size: 1rem !important;
    }
    
    p:not(.lead):not(.small) {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    
    /* Form elements */
    .form-label {
        font-size: 0.85rem !important;
    }
    
    .form-control {
        font-size: 0.85rem !important;
    }
    
    /* Removed - using global button styles */
}

/* Removed - using global button styles */

/* Service Cards */
.service-card {
    transition: none !important;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card i {
    transition: transform 0.3s ease;
}

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

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-light);
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--ford-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 52, 120, 0.1);
}

.form-select {
    border-radius: 8px;
    border: 2px solid var(--border-light);
    padding: 12px 16px;
}

.form-select:focus {
    border-color: var(--ford-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 52, 120, 0.1);
}

/* Contact Items */
.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    min-width: 60px;
}

/* Cards */
.card {
    border-radius: 15px;
    transition: none !important;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Badges */
.badge {
    font-size: 0.875rem;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--ford-blue);
    padding: 3rem 0 2rem 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
}

.footer-logo {
    height: 120px;
    max-width: 350px;
    object-fit: contain;
    filter: brightness(1.3) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-email {
    font-size: 15px;
    word-break: break-word;
    line-height: 1.4;
    color: #ffffff;
}

/* Mobile responsive footer */
@media (max-width: 767.98px) {
    .footer-logo {
        height: 50px;
    }
    
    .footer-email {
        font-size: 13px;
        word-break: break-all;
    }
    
    footer .row {
        text-align: center;
    }
    
    footer h6 {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    footer .col-sm-12:first-child h6 {
        margin-top: 0;
    }
    
    .footer-tagline {
        font-size: 13px;
    }
}

/* Desktop footer text colors and sizing */
footer h6 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

footer p,
footer a:not(.btn) {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--ford-blue) 0%, var(--ford-blue-light) 50%, var(--ford-blue) 100%);
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    font-size: 24px;
    transition: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.instagram-link:hover {
    transform: translateY(-3px) scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px var(--ford-blue-light);
    color: white !important;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-3px) scale(1.1) rotate(-10deg);
    }
    40% {
        transform: translateY(-8px) scale(1.15) rotate(-10deg);
    }
    60% {
        transform: translateY(-5px) scale(1.12) rotate(-10deg);
    }
}

/* Home Link - Similar style to Instagram */
.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--ford-blue) 0%, var(--ford-blue-light) 50%, var(--ford-blue) 100%);
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    font-size: 24px;
    transition: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.home-link:hover {
    transform: translateY(-3px) scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px var(--ford-blue-light);
    color: white !important;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px var(--ford-blue-light);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 30px var(--ford-blue-light);
    }
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--ford-blue-light) !important;
}

/* Testimonials */
.blockquote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    font-weight: 500;
    color: #2c3e50;
    border: none !important;
    background: none !important;
}

.blockquote p {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

/* Customer Reviews Cards - Make text more readable */
.card-body .blockquote {
    font-size: 1.3rem;
    font-weight: 500;
}

.blockquote-footer {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e !important;
    border: none !important;
    background: none !important;
    margin-top: 15px;
}

.blockquote-footer small {
    font-size: 0.95rem;
    color: #7f8c8d !important;
}

/* Remove any background from review cards */
.card-body {
    background: white !important;
}

/* Ensure no unwanted elements appear */
.blockquote-footer::before {
    display: none !important;
}

.blockquote-footer::after {
    display: none !important;
}

/* Remove any Bootstrap blockquote styling */
.blockquote::before {
    display: none !important;
}

.blockquote::after {
    display: none !important;
}

/* Force clean blockquote footer */
.blockquote-footer {
    background-color: transparent !important;
    background-image: none !important;
    border-left: none !important;
    border-bottom: none !important;
    padding: 0 !important;
}

.blockquote-footer small a {
    transition: color 0.3s ease;
}

.blockquote-footer small a:hover {
    color: var(--ford-blue) !important;
}

/* Statistics Card Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statsPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats card styling */
.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), #0056b3);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: countUp 0.8s ease-out;
}

.stats-label {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.stats-badge {
    background: linear-gradient(45deg, var(--primary-blue), #0056b3);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    animation: statsPulse 2s infinite;
    padding: 12px 24px !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px;
    border-radius: 25px;
}

/* Animated entry */
.stats-container {
    animation: slideInFromRight 1s ease-out 0.3s both;
}

/* Blue info card specific styling - FORCE BLUE BACKGROUND */
.info-blue-card {
    background-color: #1e3a8a !important;
    background: #1e3a8a !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4) !important;
    transition: all 0.3s ease !important;
}

.info-blue-card * {
    color: #ffffff !important;
}

.info-blue-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.5) !important;
    background-color: #1e3a8a !important;
    background: #1e3a8a !important;
}

/* Override Bootstrap card styles */
.card.info-blue-card {
    background-color: #1e3a8a !important;
    background: #1e3a8a !important;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(-45deg, #1e3a8a, #3b82f6, #1e40af, #2563eb);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ensure blue card is visible on all devices */
@media (max-width: 991.98px) {
    .card[style*="background: linear-gradient"] {
        margin-top: 2rem;
        min-height: auto !important;
    }
    
    .card[style*="background: linear-gradient"] .card-body {
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    .card[style*="background: linear-gradient"] .card-body {
        padding: 1.5rem !important;
    }
    
    .card[style*="background: linear-gradient"] h4 {
        font-size: 1.3rem !important;
    }
    
    .card[style*="background: linear-gradient"] .h5 {
        font-size: 1.1rem !important;
    }
}

/* Rating Section Links */
.bg-light a {
    transition: color 0.3s ease;
}

.bg-light a:hover {
    color: var(--ford-blue) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        display: block;
        text-align: center;
        margin-bottom: 1rem;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    /* Removed - using global button styles */
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    /* About page mobile optimization */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h2 {
        font-size: 1.5rem !important;
        text-align: center;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Card adjustments for mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .card-body h5 {
        font-size: 1.1rem !important;
    }
    
    .card-body .small {
        font-size: 0.85rem !important;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.95);
    color: white;
    padding: 1rem 0;
    z-index: 1050;
    display: none;
    backdrop-filter: blur(5px);
    border-top: 2px solid var(--ford-blue);
}

.cookie-banner p {
    color: white;
    margin: 0;
}

.cookie-banner .btn-light {
    background-color: white !important;
    color: #1e3a8a !important;
    border: none !important;
    font-weight: 600 !important;
}

.cookie-banner .btn-light:hover {
    background-color: #f8f9fa !important;
    color: #1e3a8a !important;
}

.cookie-banner .btn-outline-light {
    border-color: white;
    color: white;
}

.cookie-banner .btn-outline-light:hover {
    background-color: white;
    color: var(--ford-blue);
}

@media (max-width: 768px) {
    .cookie-banner .col-md-4 {
        text-align: center !important;
        margin-top: 0.5rem;
    }
    
    .cookie-banner .btn {
        margin: 0.25rem;
        width: auto;
    }
}

/* Utility Classes */
.fa-10x {
    font-size: 10em;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Custom Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Star Ratings */
.text-warning {
    color: #ffc107 !important;
}

/* Tradition Section Styling */
.tradition-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.tradition-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 52, 120, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 52, 120, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 52, 120, 0.02) 0%, transparent 50%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.tradition-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--ford-blue), var(--ford-blue-light));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 52, 120, 0.2);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 52, 120, 0.2); }
    50% { box-shadow: 0 6px 20px rgba(0, 52, 120, 0.4); }
}

.tradition-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: none !important;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--ford-blue-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ford-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: none !important;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 52, 120, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--ford-blue-light);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ford-blue), var(--ford-blue-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: none !important;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(0, 52, 120, 0.3);
}

.feature-content {
    flex-grow: 1;
}

.feature-content h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-content small {
    color: var(--text-muted);
    line-height: 1.4;
}

.feature-arrow {
    color: var(--ford-blue);
    font-size: 1rem;
    transition: none !important;
    opacity: 0.6;
}

.feature-card:hover .feature-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Animation classes for scroll effects */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive adjustments for tradition section */
@media (max-width: 767.98px) {
    .tradition-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .tradition-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .stat-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-content h6 {
        font-size: 0.9rem;
    }
    
    .feature-content small {
        font-size: 0.75rem;
    }
}

/* Mobile Spacing Improvements */
@media (max-width: 767px) {
    /* Reduce section padding on mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    /* Compact testimonial section */
    section:has(.testimonial-item) {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Compact service cards */
    .g-4 {
        gap: 1rem !important;
    }
    
    /* Reduce testimonial padding */
    .testimonial-item {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Compact hero section */
    .bg-gradient-blue {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* Reduce card padding */
    .card {
        margin-bottom: 1.5rem !important;
    }
    
    .p-4 {
        padding: 1.5rem !important;
    }
    
    .p-3 {
        padding: 1rem !important;
    }
    
    /* Hero car image responsive */
    .hero-car-image {
        max-height: 200px !important;
        margin-top: 1rem;
    }
    
    /* Show car image on mobile */
    .col-lg-4 {
        display: block !important;
        margin-top: 1rem;
    }
    
    /* Hero with nav mobile */
    .hero-background-image {
        height: 100vh !important;
        object-fit: cover;
    }
    
    .hero-content-overlay {
        top: 60% !important;
        padding: 1rem 0 !important;
    }
    
    .hero-content-overlay h1 {
        font-size: 2rem !important;
    }
    
    .hero-content-overlay .lead {
        font-size: 1rem !important;
    }
}

/* Hero with Navigation Overlay */
.hero-with-nav {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background-image {
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), rgba(59, 130, 246, 0.2));
    z-index: 2;
}

.hero-content-overlay {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    padding: 2rem 0;
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(3px);
}

/* Desktop specific */
@media (min-width: 768px) {
    .hero-main-image {
        height: 500px;
    }
}

/* Navigation Links - White Text on Blue Background */
.navbar-nav .nav-link {
    background: none !important;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border: none;
    transition: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 700;
    border-radius: 6px;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Icon Sizes */
.fa-lg { font-size: 1.33em; }
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
.fa-4x { font-size: 4em; }
.fa-5x { font-size: 5em; }
.fa-8x { font-size: 8em; }

/* Removed - using global button styles instead */

/* ENHANCED MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    /* Navigation improvements */
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    /* Show hamburger menu on mobile */
    .navbar-toggler {
        display: block !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding: 4px 8px !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    /* Mobile navigation styling */
    .navbar-collapse {
        background: rgba(30, 58, 138, 0.95) !important;
        margin-top: 1rem !important;
        border-radius: 8px !important;
        padding: 1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        border-radius: 6px !important;
        text-align: center !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Hero section mobile optimization */
    .hero-section {
        text-align: center !important;
        padding: 0.3rem 0 !important;
        min-height: 40vh !important;
        position: relative !important;
        background-position: center top !important;
        background-size: cover !important;
    }
    
    /* Hero content container with background */
    .hero-section .container {
        position: relative !important;
        z-index: 2 !important;
        background: rgba(0, 52, 120, 0.8) !important;
        padding: 0.425rem !important;
        border-radius: 6.8px !important;
        margin-top: 60% !important;
        width: 85% !important;
        max-width: 85% !important;
    }
    
    /* Navigation background from bottom part */
    .navbar {
        background-position: center bottom !important;
        background-size: 150% auto !important;
        overflow: hidden !important;
    }
    
    /* Hero content optimization */
    .hero-section h1 {
        font-size: 0.765rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.085rem !important;
    }
    
    .hero-section h2 {
        font-size: 0.595rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.17rem !important;
    }
    
    .hero-section p {
        font-size: 0.468rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.34rem !important;
    }
    
    /* Contact form mobile */
    .form-control {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }
    
    .form-label {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
    }
    
    /* Removed - using global button styles now */
    
    /* Service cards mobile */
    .card {
        margin-bottom: 1.5rem !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Contact info mobile */
    .contact-item {
        margin-bottom: 2rem !important;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
    
    /* Footer mobile */
    .footer-section {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    /* Removed - using global button styles */
    
    /* Removed - using global button styles */
    
    /* Removed - using global button styles */
    
    /* Contact page mobile optimization */
    .bg-gradient-blue h1 {
        font-size: 1.5rem !important;
    }
    
    .bg-gradient-blue p {
        font-size: 0.85rem !important;
    }
    
    .contact-item h5 {
        font-size: 0.9rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .contact-item p {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Fix contact item alignment */
    .contact-item .d-flex {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .contact-item div:last-child {
        text-align: left !important;
        width: 100% !important;
    }
    
    .contact-item p,
    .contact-item a {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
    }
    
    .contact-icon i {
        font-size: 1.2rem !important;
    }
    
    .bg-light h5 {
        font-size: 0.9rem !important;
    }
    
    .bg-light p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    /* Öffnungszeiten table alignment */
    .bg-light .row .col-6 {
        text-align: left !important;
    }
    
    .bg-light .row .col-6 p {
        text-align: left !important;
        margin-bottom: 0.3rem !important;
    }
    
    /* Reduce contact section padding */
    .bg-gradient-blue.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .contact-item {
        margin-bottom: 1rem !important;
    }
    
    .bg-light {
        padding: 0.8rem !important;
    }
    
    /* Service cards optimization */
    .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .card-text {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Removed - using global button styles */
    
    /* About page mobile optimization */
    .lead {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
    
    p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Values section */
    .bg-white.p-4 h5 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .bg-white.p-4 p {
        font-size: 0.8rem !important;
    }
    
    /* Statistics box */
    .bg-white.p-3 h4 {
        font-size: 0.95rem !important;
    }
    
    .bg-white.p-3 p {
        font-size: 0.8rem !important;
    }
    
    .bg-white.p-3 strong {
        font-size: 1rem !important;
    }
    
    .bg-white.p-3 small {
        font-size: 0.7rem !important;
    }
    
    /* Section headers mobile */
    section h2 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* CTA section text */
    .text-center h2 {
        font-size: 1.1rem !important;
    }
    
    .text-center p {
        font-size: 0.85rem !important;
    }
    
    /* Services page mobile optimization */
    .pe-lg-4 h2, .ps-lg-4 h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .pe-lg-4 .lead, .ps-lg-4 .lead {
        font-size: 0.9rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .list-unstyled li {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Large icons in services */
    .text-ford-blue[style*="font-size: 8rem"] {
        font-size: 3rem !important;
    }
    
    /* Service sections spacing */
    .row.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    hr.my-5 {
        margin: 1.5rem 0 !important;
    }
    
    /* Service badges */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    /* CTA section on services */
    .bg-gradient-blue h2 {
        font-size: 1.2rem !important;
    }
    
    .bg-gradient-blue .lead {
        font-size: 0.85rem !important;
    }
    
    /* Removed - using global button styles */
    
    /* Touch targets for better mobile UX */
    a, button {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Spacing adjustments */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    /* Even smaller text on very small screens */
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 0.9rem !important;
    }
    
    /* Hero section even more compact */
    .hero-section {
        min-height: 50vh !important;
        padding: 0.5rem 0 !important;
    }
    
    .hero-section h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-section h2 {
        font-size: 1rem !important;
    }
    
    .hero-section p {
        font-size: 0.8rem !important;
        padding: 0 1rem !important;
    }
    
    /* Removed - using global button styles */
    
    /* Contact form - stack elements */
    .col-lg-6 {
        margin-bottom: 2rem !important;
    }
    
    /* Service grid - single column */
    .row .col-md-6,
    .row .col-lg-4 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Navigation on small screens */
    .navbar-nav {
        text-align: center !important;
        padding-top: 1rem !important;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem !important;
    }
    
    /* Container padding reduction */
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}
