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

:root {
    --primary-color: #1E40AF;
    --white-color: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Discount Banner */
.discount-banner-wrapper {
    position: fixed;
    top: 0;
    right: 140px;
    margin-top: 70px;
    z-index: 2000;
    display: none;
}

.discount-banner-wrapper.hidden {
    display: none;
}

.discount-image {
    max-width: 200px;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
}

.discount-banner-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background 0.3s;
    z-index: 2001;
}

.discount-banner-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.discount-banner-close .material-icons {
    font-size: 16px;
}

@media (max-width: 768px) {
    .discount-banner-wrapper {
        right: 10px;
        margin-top: 70px;
    }
    
    .discount-image {
        max-width: 150px;
    }
    
    .discount-banner-close {
        width: 20px;
        height: 20px;
        top: 4px;
        right: 4px;
    }
    
    .discount-banner-close .material-icons {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .discount-banner-wrapper {
        right: 5px;
        margin-top: 60px;
    }
    
    .discount-image {
        max-width: 120px;
    }
}

.container-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.top-banner.hidden {
    transform: translateY(-100%);
}

.banner-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.banner-item .material-icons {
    font-size: 18px;
}

.banner-link {
    color: var(--white-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.banner-link:hover {
    opacity: 0.8;
}

.banner-link:visited {
    color: var(--white-color);
}

/* Navbar */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    margin-top: 42.4px;
    transition: margin-top 0.3s ease-in-out;
}

.navbar.banner-hidden {
    margin-top: 0;
}

.nav-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1;
    justify-self: start;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 75px;
    width: auto;
}

.logo-text-top {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-text-bottom {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    grid-column: 2;
    justify-self: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg-home {
    background-image: url('img/cars/cars_1.jpeg');
}

.hero-bg-preturi {
    background-image: url('img/cars/cars_2.jpeg');
}

.hero-bg-despre {
    background-image: url('img/cars/cars_3.jpeg');
}

.hero-bg-contact {
    background-image: url('img/cars/cars_4.jpeg');
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.12) 0%, rgba(30, 64, 175, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    max-width: 600px;
    color: var(--white-color);
    text-align: right;
    margin-right: 9rem;
    padding: 2rem 2.5rem;
    position: relative;
}

.hero-text mark,
.hero-subtext mark,
.hero-title mark {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
        to right,
        rgba(30, 64, 175, 0.1),
        rgba(30, 64, 175, 1) 4%,
        rgba(30, 64, 175, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: var(--white-color);
}

.hero-subtext {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--white-color);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #F9FAFB;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(30, 64, 175, 0.1);
}

.feature-icon .material-icons {
    font-size: 40px;
    color: var(--primary-color);
}

.feature-icon-99 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Preturi Section */
.preturi {
    padding: 80px 0;
    background-color: var(--white-color);
}

.required-documents {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 40px;
}

.documents-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.documents-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.documents-list li {
    font-size: 18px;
    color: var(--text-dark);
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid #E5E7EB;
}

.documents-list li:last-child {
    border-bottom: none;
}

.documents-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white-color);
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-color);
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-container {
    margin-bottom: 30px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.price-original {
    font-size: 32px;
    font-weight: 600;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price-discounted {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-options {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #F9FAFB;
    border-radius: 8px;
    text-align: left;
}

.option-group {
    margin-bottom: 20px;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-dark);
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.card-content {
    margin-bottom: 30px;
}

.card-intro {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-note {
    font-size: 15px;
    color: var(--text-dark);
    margin-top: 20px;
    padding: 15px;
    background-color: #FFF7E6;
    border-left: 3px solid #FFA500;
    border-radius: 4px;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: opacity 0.3s, color 0.3s;
}

.features-list li.inactive {
    opacity: 0.4;
    color: #999;
}

.features-list li.inactive .material-icons {
    color: #999;
}

.features-list .material-icons {
    color: var(--primary-color);
    font-size: 24px;
    transition: color 0.3s;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #1E3A8A;
    transform: translateY(-2px);
}

/* Despre Noi Section */
.despre-noi {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.despre-noi .section-title {
    color: var(--white-color);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.about-card-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-card-title .material-icons {
    font-size: 32px;
}

.about-card-content {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

.about-card-content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.about-card-content li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.about-card-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3,
.contact-map h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item .material-icons {
    color: var(--primary-color);
    font-size: 28px;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-light);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-anpc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-anpc a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-anpc a:hover {
    opacity: 0.8;
}

.anpc-image {
    height: 60px;
    width: auto;
    max-width: 200px;
}

@media (max-width: 768px) {
    .anpc-image {
        height: 50px;
        max-width: 150px;
    }
    
    .footer-anpc {
        gap: 15px;
    }
}

/* Floating Contact Widgets */
.floating-widgets {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-widget {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--white-color);
    cursor: pointer;
}

.floating-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-widget-call {
    background-color: #66CC99;
}

.floating-widget-whatsapp {
    background-color: #25D366;
}

.floating-widget-close {
    background-color: #000000;
    border: none;
    color: var(--white-color);
}

.floating-widget svg {
    width: 24px;
    height: 24px;
}

.floating-widget .material-icons {
    font-size: 24px;
}

.floating-widgets.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-right {
        justify-content: center;
    }

    .nav-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo {
        grid-column: 1;
        justify-self: center;
    }

    .nav-links {
        grid-column: 1;
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 16px;
    }

    .hero {
        align-items: flex-end;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
        margin-right: 0;
        margin-left: 80px;
        padding: 1rem;
    }
    
    .hero-content {
        justify-content: center;
        padding-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    @media (max-width: 640px) {
        .features-grid {
            grid-template-columns: 1fr;
        }
    }

    .feature-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .required-documents {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .documents-title {
        font-size: 24px;
    }

    .documents-list li {
        font-size: 16px;
        padding: 10px 0;
        padding-left: 25px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 30px 20px;
    }

    .about-card-title {
        font-size: 24px;
    }

    .about-card-content {
        font-size: 16px;
    }

    .map-container {
        height: 300px;
    }

    .navbar {
        margin-top: 0;
    }

    .top-banner {
        position: relative;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.1rem;
    }

    .hero-subtext {
        font-size: 14px;
    }

    .preturi,
    .despre-noi,
    .contact {
        padding: 50px 0;
    }
}

