@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/poppins-600.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/poppins-700.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-400.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-500.woff2') format('woff2');
    font-display: swap;
}

:root {
    --primary-color: #003d82;
    --primary-dark: #002855;
    --primary-light: #0056b3;
    --secondary-color: #1e88e5;
    --accent-color: #42a5f5;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #e8ecf1;
    --border-color: #dde3eb;
    --shadow: 0 2px 8px rgba(0, 61, 130, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 61, 130, 0.15);
    --transition: all 0.3s ease;
    --header-height: 80px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.services {
    background: #f5f7fa;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.section__subtitle {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #003d82;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.button--primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: var(--shadow);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.button--secondary:hover {
    background: hsl(18, 96%, 54%);
    color: white;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scroll-header {
    box-shadow: var(--shadow-lg);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo img {
    height: 40px;
    display: block;
}

.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav__link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #003d82;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    color: var(--secondary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 61, 130, 0.75);
    z-index: 0;
}

.hero__container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__content {
    color: white;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.hero__description {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero__scroll-link {
    color: white;
    font-size: 2rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.intro {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem 0;
    color: white;
}

.intro .section__title {
    color: white;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service__card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.15);
}

.service__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
}

.service__icon svg {
    stroke: white;
}

.service__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service__list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
    text-align: left;
}

.service__list li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    font-size: 1.0625rem;
}

.service__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat__label {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 3px;
}

.about {
    background: white;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.about__text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about__image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.certifications {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.certifications .section__title {
    color: white;
}

.certifications__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.certification__card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    min-height: 200px;
}

.certification__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.certification__logo {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.about__list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.buy-sell {
    background: var(--bg-light);
}

.buy-sell__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.buy-sell__card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.buy-sell__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.buy-sell__icon svg {
    stroke: white;
}

.buy-sell__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.buy-sell__card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.buy-sell__list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
    text-align: left;
}

.buy-sell__list li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    font-size: 1.0625rem;
}

.buy-sell__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.parts {
    background: white;
}

.parts__content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.parts__notice {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.parts__list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.parts__list li {
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
}

.parts__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.parts__contact {
    max-width: 800px;
    margin: 3rem auto 0;
}

.parts__contact-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 61, 130, 0.3);
}

.parts__contact-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.parts__contact-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.parts__contact-card .button {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.parts__contact-card .button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.towing {
    background: var(--bg-light);
}

.towing__intro {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
}

.towing__intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.125rem;
}

.towing__images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.towing__image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.towing__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.towing__services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: space-between;
}

.towing__service-box {
    background: white;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.towing__service-box::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.towing__emergency {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.towing__emergency-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 61, 130, 0.3);
}

.towing__emergency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.towing__emergency-icon svg {
    stroke: white;
}

.towing__emergency-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.towing__phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}

.towing__phone:hover {
    transform: scale(1.05);
}

.towing__emergency-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

@media screen and (max-width: 968px) {
    .towing__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .towing__emergency {
        position: static;
    }

    .towing__images {
        grid-template-columns: 1fr;
    }

    .towing__phone {
        font-size: 1.75rem;
    }
}

.contact {
    background: white;
}

.contact__logo {
    text-align: center;
    margin: 2rem auto 2rem;
}

.contact__logo img {
    max-width: 400px;
    height: auto;
}

.contact__tagline {
    text-align: center;
    margin-bottom: 3rem;
}

.contact__tagline h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 900;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: white;
}

.contact__icon svg {
    stroke: white;
}

.contact__card h4 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact__card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact__card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
    font-weight: 500;
}

.contact__card a:hover {
    color: var(--primary-color);
}

.contact__subtext {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

@media screen and (max-width: 968px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact__logo img {
        max-width: 300px;
    }
}

.legal {
    min-height: 60vh;
    padding: 6rem 0 3rem;
}

.legal__content {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
    color: var(--text-light);
}

.legal__content p {
    margin-bottom: 1.5rem;
}

.legal__content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal__content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.legal__content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal__content li {
    margin-bottom: 0.5rem;
}

.legal__content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.legal__content a:hover {
    color: var(--primary-color);
}

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__column h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer__column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer__company {
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer__column:nth-child(3) p {
    font-weight: 500;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__contact-item svg {
    stroke: var(--accent-color);
    flex-shrink: 0;
}

.footer__column ul {
    list-style: none;
}

.footer__column ul li {
    margin-bottom: 0.5rem;
}

.footer__column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer__column a:hover {
    color: var(--accent-color);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer__nav {
    display: flex;
    gap: 2rem;
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__nav a:hover {
    color: white;
}

@media screen and (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__nav {
        gap: 1.5rem;
    }
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

@media screen and (max-width: 968px) {
    .section__title {
        font-size: 2rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        padding: 4rem 2rem;
        transition: var(--transition);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .about__content {
        grid-template-columns: 1fr;
    }

    .certifications__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .buy-sell__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .stat__number {
        font-size: 3rem;
    }
}
