﻿:root {
    --primary-light: #C6E6EC; /* Cyan 18 - Yellow 2 */
    --primary-dark: #005BAC; /* Cyan 100 - Magenta 80 */
    --accent-orange: #F7971D; /* Magenta 55 - Yellow 100 */
    --accent-blue: #0072CE; /* Cyan 100 - Magenta 60 */
    --background: #f5f7f2;
    --text-dark: #444;
    --text-medium: #555;
    --text-white: #fff;
}

html, body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: "Arial", sans-serif;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
}

/* Ensure the main content expands */
.main-content {
    flex: 1; /* Pushes the footer down */
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
}

.navbar-brand {
    font-family: "Dancing script", cursive; /* Cursive Google Font */
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-white); /* White color for contrast */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Soft shadow for better visibility */
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    .navbar-brand:hover {
        color: var(--accent-orange); /* Warm golden-yellow hover color */
        transform: scale(1.05); /* Slight zoom effect on hover */
    }

.nav-link {
    font-size: 1.03rem;
    color: var(--text-white) !important;
    border-radius: 10px;
    position: relative;
    transition: all 0.2s ease-in-out; /* Ensures smooth transition */
    will-change: transform, background-color;
    margin-right: 5px;
}

    .nav-link:hover {
        background-color: var(--text-white);
        color: var(--primary-dark) !important;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

.nav-active {
    background-color: var(--text-white);
    color: var(--primary-dark) !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Flashing border effect for "Apply for Dealership" */
.dealer-link {
    border: 2px solid var(--text-white);
    animation: flashing-border 1s infinite alternate ease-in-out;
}

@keyframes flashing-border {
    0% {
        border-color: var(--text-white);
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    }

    100% {
        border-color: var(--accent-blue);
        box-shadow: 0 0 15px rgba(0, 114, 206, 0.9);
    }
}
.text-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    position: relative;
}

    .text-title::after {
        content: '';
        width: 100px;
        height: 4px;
        background: var(--accent-orange);
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

/* Footer styling */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-blue) 100%);
    color: var(--text-white);
    padding: 40px 0;
    font-size: 16px;
}

    .footer h5 {
        color: var(--primary-light);
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer p {
        margin: 5px 0;
    }

    .footer a {
        color: var(--accent-orange);
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }

        .footer a:hover {
            color: var(--text-white);
            text-decoration: underline;
        }

    .footer .social-icon {
        font-size: 20px;
        margin: 0 10px;
        color: var(--text-white);
        transition: color 0.3s ease-in-out;
    }

        .footer .social-icon:hover {
            color: var(--accent-orange);
        }
