* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.transparent {
    background-color: transparent;
}

nav.solid {
    //background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    //color: black;
}

nav.solid .logo,
nav.solid .nav-menu ul li a {
    color: black;
}

nav.solid button {
    color: black;
}

nav.solid .hamburger span {
    background: #000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    text-decoration: none;
    color: #fff;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    margin-left: 20px;
}

.nav-menu ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
}

.hamburger {
    margin-left: auto;
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 3px;
}

.how-it-works {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works .thin-bar {
    width: 50px;
    height: 4px;
    background: #0a0a0a;
    margin: 0 auto 20px;
}

.how-it-works h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.how-it-works .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.how-it-works .card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.how-it-works .card:hover {
    transform: translateY(-5px);
}

.how-it-works .card .icon {
    margin-bottom: 15px;
    height: 50px;
}

.how-it-works .card .icon img {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.how-it-works .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.how-it-works .card p {
    font-size: 16px;
    color: #666;
}

.simulation {
    margin-top: 100px;
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.simulation .container {
    margin: 0 auto;
}

.simulation h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.simulation .dropdowns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.simulation select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    transition: border-color 0.3s ease;
    appearance: none;
}

.simulation select:focus {
    border-color: #333;
    outline: none;
}

.simulation .results {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.simulation .result-card {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.simulation .result-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
}

.simulation .result-item {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.result-item.difference {
    color: green;
}

@media (max-width: 1000px) {
    .how-it-works .card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .simulation .dropdowns {
        flex-direction: column;
    }
}

.our-services {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
}

.our-services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.our-services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.service-card .icon img {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-menu ul.active {
        display: flex;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .banner-content h2 {
        font-size: 30px;
    }

    .nav-menu ul li a {
        text-decoration: none;
        font-size: 16px;
        color: #080808;
    }

    .nav-menu button {
        color: #080808;
    }
}

@media (max-width: 576px) {
    .how-it-works .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .simulation .result-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #333;
    /* gri închis */
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 300px;
    margin: 10px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 13px;
    position: relative;
}

.footer-bottom p {
    text-align: center;
    flex: 1;
}

.footer-bottom .developer {
    font-size: 11px;
    color: #ccc;
    position: absolute;
    right: 5px;
}

.footer-bottom .developer a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom .developer a:hover {
    text-decoration: underline;
}

.social-icon {
    display: inline-block;
    margin: 0 10px;
}

.social-img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        margin: 20px 0;
        text-align: center;
    }

}

.banner {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-image 0.8s ease-in-out;
    background-size: cover;
    /* Ensures the image covers the entire banner */
    background-repeat: no-repeat;
    /* Prevents the image from repeating */
    background-position: center center;
    /* Ensures the image is centered */
}


.zoom-in {
    transform: scale(1.1);
    transition: transform 0.8s ease-in-out;
}

.prices-banner {
    height: 40vh;
    background-color: #200229;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.banner-content h2 {

}

.banner-content a {

    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.banner-content a:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}

.prices-list {
    padding: 40px 20px;
    background-color: #fff;
}

.prices-list .container {
    max-width: 1200px;
    margin: 0 auto;
}

.prices-list table {
    width: 100%;
    border-collapse: collapse;
}

.prices-list th,
.prices-list td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.prices-list th {
    background-color: #f2f2f2;
    font-weight: 600;
}

.logout-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    display: inline;
}

.logout-btn:hover {
    text-decoration: underline;
}

.user-data-section {
    padding: 40px 20px;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

.user-data-section .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.user-data-section h2 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #333;
}

.user-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.user-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.user-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.save-btn {
    padding: 10px 25px;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.save-btn:hover {
    background-color: #218838;
}

.logo-img {
    width: 200px;
}

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #2c3e50;
    padding-top: 20px;
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ecf0f1;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar ul li:hover {
    background: #34495e;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    display: block;
    font-size: 18px;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Conținut principal */
.content {
    margin-left: 270px;
    padding: 20px;
}

/* Stilizare buton return */
.return-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 80%;
}

.return-btn:hover {
    background: #c0392b;
}

/* Stilizare buton de meniu pentru ecrane mici */
.menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.menu-toggle:focus {
    outline: none;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
    }

    .content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }
}

.sidebar.active {
    transform: translateX(0);
    z-index: 10;
}
.back-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
    background-color: #c82333;
    transform: scale(1.03);
}

.yellow-text {
    color: yellow;
    font-weight: bold;
}

/* Base styles */
.prices-banner {
    width: 100%;
    text-align: center;
    padding: 20px;
}

.banner-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive text */
.responsive-text {
    font-size: 2rem; /* Default for large screens */
}

/* Button styles */
.btn-warning {
    background-color: #ffc107;
    border: none;
    padding: 12px 24px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 15px;
    border-radius: 5px;
}

.btn-warning:hover {
    background-color: #e0a800;
}

/* Responsive design */
@media (max-width: 992px) {  /* Tablets and below */
    .responsive-text {
        font-size: 1.75rem;
    }
    .btn-warning {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) { /* Mobile screens */
    .responsive-text {
        font-size: 1.5rem;
    }
    .btn-warning {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) { /* Small phones */
    .responsive-text {
        font-size: 1.2rem;
    }
    .btn-warning {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}


.customer-reviews {
    padding: 50px 0;
    background: #f9f9f9;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.customer-reviews .container {
    max-width: 900px;
    margin: auto;
}

.reviews-slider {
    display: flex;
    gap: 20px;
    padding: 20px;
    white-space: nowrap;
    animation: scrollReviews 15s linear infinite;
}

.review-card {
    min-width: 350px;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    display: inline-block;
    text-align: center;
    white-space: normal;
}

.review-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.review-card p {
    font-style: italic;
    font-size: 16px;
    color: #555;
}

.review-card h4 {
    margin-top: 10px;
    font-weight: bold;
    color: #222;
}

@keyframes scrollReviews {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.faq-section {
    padding: 50px 0;
    background: url('/img/faq.jpg') no-repeat center center/cover;
    text-align: center;
    color: white;
}

.faq .faq-item {
    background: #f4f4f4;
    margin: 10px auto;
    padding: 15px;
    border-radius: 8px;
    max-width: 600px;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 10px;
    font-size: 16px;
    color: #333;
}

.service-card {
    perspective: 1000px;

    height: 250px;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 20px;
}

.card-back {
    background: #333;
    color: white;
    transform: rotateY(180deg);
}


