:root {
    --main-color: #0072BA;
    --main-light-color: #D6E3E9;
    --accent-color: #C12228;
    --text-color: #121926;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --primary-color: var(--main-color);
    --primary-dark: #005d96;
    --primary-light: #e6f3ff;
    --accent-dark: #8B181C;
    --accent-light: #F9DCDD;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6e7191;
    --bg-light: #f8f9fa;
    --bg-dark: #16213e;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.8s ease;
    --font-primary: "Noto Sans", sans-serif;
    --font-secondary: "Oswald", sans-serif;
}

html,
body {
    background: #FFF;
    color: var(--text-color);
    width: 100%;
    overflow-x: hidden;
    font-family: "Noto Sans", sans-serif;
}

.container {
    max-width: 1500px !important;
}

.heading {
    font-family: 'Oswald', sans-serif;
}

.hide-in-sm {
    display: flex !important;
}

.show-in-sm {
    display: none !important;
}

.btn:focus,
a:focus,
.form-control:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.btn {
    cursor: pointer;
}

.main-bg {
    background: var(--main-color) !important;
}

.light-bg {
    background: var(--main-light-color) !important;
}

.accent-bg {
    background: var(--accent-color) !important;
}

.bg-main {
    background: var(--main-color) !important;
}

.text-main {
    color: var(--main-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-main-alt {
    background: var(--dark-gray) !important;
}

.text-main-alt {
    color: var(--dark-gray) !important;
}

.bg-black {
    background: black !important;
}

.text-black {
    color: black !important;
}

.text-gray {
    color: lightgray !important;
}

.bg-white {
    background: white !important;
}

.text-white {
    color: white !important;
}

.border-main {
    border-color: var(--main-color) !important;
}

a {
    text-decoration: none !important;
}

.rounded-top-10 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.rounded-bottom-10 {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rounded-5 {
    border-radius: 5px;
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-20 {
    border-radius: 20px;
}

.rounded-30 {
    border-radius: 30px;
}

.rounded-40 {
    border-radius: 40px;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-900 {
    font-weight: 900;
}

.font-105 {
    font-size: 105%;
}

.font-110 {
    font-size: 110%;
}

.font-95 {
    font-size: 95%;
}

.font-90 {
    font-size: 90%;
}

.font-85 {
    font-size: 85%;
}

.font-80 {
    font-size: 80%;
}

.pointer {
    cursor: pointer;
}

/* Custom styles for Washin Auto */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--main-color) !important;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-fast);
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-main i {
    transition: var(--transition-fast);
}

.btn-main:hover i {
    transform: translateX(5px);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
}

.btn-primary-custom:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary-custom:hover {
    box-shadow: 0 10px 20px rgba(0, 114, 186, 0.3);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-primary-custom:hover:before {
    opacity: 1;
}

.btn-primary-light {
    background: #FFF;
    color: var(--primary-color);
    border: none;
}

.btn-primary-light:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-primary-light:hover {
    box-shadow: 0 10px 20px rgba(0, 114, 186, 0.3);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-primary-light:hover:before {
    opacity: 1;
}

.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:hover {
    background-color: #005d96;
    border-color: #005d96;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #a01c21;
    border-color: #a01c21;
    color: white;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-fast);
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom i {
    transition: var(--transition-fast);
}

.btn-custom:hover i {
    transform: translateX(5px);
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 114, 186, 0.2);
    transform: translateY(-3px);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light-custom:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.search-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.car-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.car-img-container {
    height: 200px;
    overflow: hidden;
}

.car-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.car-card:hover .car-img-container img {
    transform: scale(1.05);
}

.car-details {
    padding: 1.5rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
}

.car-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.car-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
}

.car-spec i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--main-color);
}

section.bg-light {
    background-color: #f8f9fa !important;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--main-color);
}

.bg-main .section-title {
    color: #FFF;
}

.bg-main .section-title:after {
    background: var(--main-light-color);
}

.section-header.text-center .section-title:after {
    left: calc(50% - 50px);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: var(--main-light-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.cta-section {
    background: var(--main-light-color);
    padding: 5rem 0;
}

.footer {
    background: var(--dark-gray);
    color: white;
    padding: 4rem 0 0;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--main-color);
    transform: translateY(-3px);
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}


.page-header {
    background-color: var(--bg-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.1ecst.com/tp_ecst/Public/upload/webData/2023-06-05/1685949479_1293114790.png") repeat center;
    /*opacity: 0.1;*/
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.page-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}



/* Common Styles */
.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary-light), rgba(230, 243, 255, 0.5));
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.section-tag:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 114, 186, 0.1), transparent);
    transform: translateX(-100%);
    transition: var(--transition-medium);
}

.section-tag:hover:before {
    transform: translateX(0);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title span:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 114, 186, 0.1);
    z-index: -1;
    border-radius: 4px;
}

.section-description {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.bg-main .section-description {
    color: var(--primary-light);
}



/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.cta-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}


/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.blog-card .blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-card .blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--border-radius-md);
    text-align: center;
    line-height: 1.2;
}

.blog-card .blog-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.blog-card .blog-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.blog-card .blog-content {
    padding: 25px;
}

.blog-card .blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog-card .blog-meta span {
    font-size: 14px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card .blog-meta span i {
    color: var(--primary-color);
}

.blog-card .blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card .blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-card .blog-title a:hover {
    color: var(--primary-color);
}

.blog-card .blog-excerpt {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-card .blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.blog-card .blog-footer .blog-cat {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-card .blog-footer .blog-cat span {
    background: #f8f9fa;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.blog-card .blog-link {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-card .blog-link i {
    margin-top: 2px;
    font-size: 13px;
    transition: var(--transition-fast);
}

.blog-card .blog-link:hover {
    color: var(--primary-dark);
}

.blog-card .blog-link:hover i {
    transform: translateX(5px);
}


/* Breadcrumb */
.breadcrumb-wrapper {
    background-color: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--text-light);
    margin-top: 3px;
    font-size: 12px;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .page-title {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        justify-content: center;
        margin-top: 30px;
    }

    .cta-content {
        text-align: center;
    }

    .blog-section {
        padding: 50px 0;
    }
}

@media (max-width: 767.98px) {
    .page-section {
        padding: 60px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .cta-wrapper {
        padding: 40px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .btn-custom {
        padding: 12px 25px;
        font-size: 14px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Responsive styles */
@media only screen and (max-width:786px) {
    .hide-in-sm {
        display: none !important;
    }

    .show-in-sm {
        display: flex !important;
    }

    div.px-4 {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }

    div.pl-5.pr-5 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    div.p-5 {
        padding: 10px !important;
    }

    .hero-section {
        height: auto;
        padding: 3rem 0;
    }

    .search-box {
        margin-top: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
