body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#call-now{
    z-index: 300;
    display: block;
    padding: 12px;
    position: fixed;
    right: 20px!important;
    bottom: 20px;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    background-color: rgb(211, 21, 21);
}
#call-now:hover{
    background-color: rgb(211, 21, 21, 0.9);
    cursor: pointer;
}
#call-now img{
    height: 50px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #202020;
    padding: 10px 20px;
    color: #fff;
    width: 100%; /* Ensure header covers full width */
    box-sizing: border-box;
    position: relative;
}
.header-right{
    display: flex;
}

header nav {
    display: flex;
    align-items: center;
}

header .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header .nav-links li {
    margin: 0 15px;
}

header .nav-links li a {
    color: #fff;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}
#nav-tel{
    display: none;
}

@media (max-width: 768px) {
    header .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #202020;
        height: 30vh;
        width: 0; /* Start with width 0 */
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        transition: width 0.3s ease-in-out; /* Animate width instead of transform */
        z-index: 3;
        padding-top: 50px;
    }
    #nav-tel{
        display: flex;
        align-items: center;

    }
    #nav-tel img{
        height: 40px;
        margin-right: 10px;
    }
    .nav-links li{
        margin-top: 15px!important;
    }
    .nav-links li a{
        font-size: 1.5rem;
    }

    header .nav-links.active {
        width: 100%; /* Change the width on active */
    }

    header .hamburger {
        display: flex;
    }

    .header-contact-info {
        display: none!important;
    }
}

header .logo {
    display: flex;
    align-items: center;
    height: 60px;
    width: min(80%, 400px);
}

.logo img{
    width: 100%;
}



.header-contact-info {
    display: flex;
    align-items: center;

}

#header-tel{
    padding: 10px;
    border-radius: 15px;
    background-color: #c28f44;
    color: #000;
    display: flex;
    align-items: center;
}
#header-tel img{
    margin-right: 5px;
    height: 20px;
}

.header-contact-info a {
    color: #fff;
    text-decoration: none;
}

.hero {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden; /* Prevent any overflow issues */
}

.carousel-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box; /* Make sure padding, borders don't affect width */
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item:not(.active) {
    opacity: 0;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 70%;
    padding: 0 20px; /* Ensure text is centered and has padding */
    box-sizing: border-box;
}

.hero-text h1 {
    font-size: 4em;
    margin: 0 0 10px;
}

.hero-text p {
    font-size: 2em;
    margin: 0 0 20px;
}

.cta-button {
    display: inline-block;
    padding: 20px 30px;
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.features-section {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    padding: 0 10%;
}
#about{
    margin: 120px 0;
}
#fs2{
    margin-bottom: 120px;
}

.feature-card {
    background-color: #e0dede;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    width: 30%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card .icon {
    margin-bottom: 20px;
}

.feature-card img {
    width: 50px;
    height: 50px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1em;
    margin-bottom: 20px;
}

.feature-card .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.brands-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
}

.brands-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.brand-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background-color: #f9f9f9; /* Alb minimalist */
}

.contact-info {
    background: url(cafea6.jpg);
    background-size: cover  ;
    background-position: 60%;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    width: 40%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
}

.contact-card {
    width: 50%;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #664326; /* Maro inchis */
}

.contact-card p, .contact-card a {
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
}

.contact-card a:hover {
    color: #d3b8ae; /* Maro inchis */
    text-decoration: underline;
}

.map-container {
    width: 55%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #202020; /* Negru */
    color: #fff;
    padding: 30px 0;
    padding-bottom: 0px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
    margin: 15px;
    padding-bottom: 0px!important;
    width: 22%;
}

#footer-logo{
    width: 100%;
}
.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #c28f44; /* Maro inchis */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a, .footer-section p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d3b8ae; /* Maro inchis */
}

.social-icons a {
    margin-right: 10px;
    color: #d3b8ae; /* Maro inchis */
    font-size: 1.2em;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #444; /* Negru închis */
}

.footer-bottom p {
    font-size: 0.9em;
}

#netreach{
    text-decoration: none;
    margin-left: 3px;
    color: #c28f44;
}

.footer-link {
    color: #d3b8ae; /* Maro inchis */
    text-decoration: underline;
    font-weight: bold;
}

.footer-link:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        width: 100%;
        margin-bottom: 20px;
        background: none;
        background-color:#bbbbbb;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-card{
        background: none;
        width: 100%;
    }
    .contact-card h3{
        color: #b4944e;
    }

    .map-container {
        width: 100%;
        height: 500px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }
}


@media (max-width: 768px) {
    .features-section {
        flex-direction: column;
        align-items: center;
    }
    #fs2{
        margin-top: 0px!important;
    }
    #about{
        margin-bottom: 0px!important;
    }
    .feature-card {
        width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-text{
        width: 90%;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2em;
    }
    
    .hero-text p {
        font-size: 1.2em;
    }

    .cta-button {
        padding: 15px 20px!important;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 15px 20px!important; 
        font-size: 1em;
    }
}

.repair-content {
    padding: 100px 5%; /* Adăugăm margini pe partea dreaptă și stângă */
    background-color: #f9f9f9;
}

.repair-block {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0; /* Ascundem inițial elementele */
    transform: translateY(50px); /* Le mișcăm inițial în jos */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Tranziție mai lungă și mai fluidă */
}

.repair-text {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.repair-image {
    flex: 1;
    text-align: center;
    padding: 20px;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.repair-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
}

.repair-block:nth-child(even) .repair-image {
    order: -1;
}

.repair-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    transition: text-decoration 0.3s ease; /* Adăugăm tranziție pentru subliniere */
}

.repair-subtitle {
    font-size: 1.75em;
    margin-bottom: 15px;
    color: #555;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    transition: text-decoration 0.3s ease; /* Adăugăm tranziție pentru subliniere */
}

.repair-text p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    transition: color 0.3s ease; /* Tranziție pentru schimbarea culorii la hover */
}

.repair-text p:hover {
    color: #333; /* Schimbăm culoarea textului la hover */
}

.repair-text p:hover ~ h2,
.repair-text p:hover ~ h3 {
    text-decoration: underline; /* Subliniem titlul secțiunii când se hoverază un paragraf */
}

.repair-block.show {
    opacity: 1; /* Afișăm elementele treptat */
    transform: translateY(0); /* Resetăm poziția lor */
}

.repair-image img:hover {
    transform: scale(1.05); /* Mărește imaginea ușor, cu 5% */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adaugă o umbră pentru a evidenția imaginea */
}

@media (max-width: 768px) {
    .repair-block {
        flex-direction: column;
    }

    .repair-image {
        padding: 0;
    }

    .repair-text {
        padding: 10px;
    }
    #rb2 .repair-image{
        order: 2;
    }
    #rb2 .repair-text{
        order: 1;
    }
    #rb4 .repair-image{
        order: 2;
    }
    #rb4 .repair-text{
        order: 1;
    }
    #rb6 .repair-image{
        order: 2;
    }
    #rb6 .repair-text{
        order: 1;
    }
}

/* Adaugăm clase pentru sublinierea animată */
/* Adaugăm clase pentru sublinierea animată */
.underline-animation {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.underline-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px; /* Bara este acum mult mai groasă */
    background-color: #333;
    bottom: -3px; /* Bara este cu 3px mai jos sub text */
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.underline-animation.underline-active::before {
    transform: scaleX(1);
}


.testimonials-section {
    margin: 10px auto;
    width: 90%;
    background-color: #fff;
    overflow: hidden;
}

.testimonial-section-title {
    font-size: 2.5em;
    margin: 40px auto;
    color: #333;
    text-align: center;
}

.swiper-wrapper {
    margin-top: 30px;
    display: flex;
}

.swiper-slide {
    display: flex!important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5eada;
    border-radius: 10px;
    overflow: hidden!important;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    height: 450px!important; /* Fixed height for all slides */
}



.swiper-button-next,
.swiper-button-prev {
    color: #333!important;
    position: relative!important;
}

.testimonial.active {
    opacity: 1;
    transform: scale(1.05);
}

.stars {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: clamp(0.875rem, 0.25rem + 1.4vw, 1.5rem);
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: center;
    padding: 0 20px;
}

.testimonial h5 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #555;
}

.testimonial span {
    font-size: 1em;
    color: #888;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: space-between;
    margin: 60px auto;
    width: 150px;
    z-index: 10;
}

.slider-nav button {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    position: relative;
    z-index: 10;
}
.terms-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #cccccc;
}

/* Styling for the h3 elements */
.terms-subheading {
    margin-left: 1.5rem;
    font-size: 1.75rem;
    font-weight: bold;
    color: #555555;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Styling for the p elements */
.terms-paragraph {
    margin-left: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #666666;
    margin-bottom: 1rem;
}

/* Styling for the ul and li elements */
.terms-list {
    margin-left: 1.5rem;
}

.terms-list li {
    font-size: 1.125rem;
    color: #444444;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}
