body {
    font-family: 'Poppins', sans-serif;
    color: #1E3A5F;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Culori personalizate */
.bg-primary-custom { background-color: #FF4F5A !important; }
.text-primary-custom { color: #FF4F5A !important; }
.bg-dark-custom { background-color: #1E3A5F !important; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
}
.logo-resize { max-height: 50px; }
.navbar-nav .nav-link {
    color: #1E3A5F;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover { color: #FF4F5A; }

/* Ajustare pentru scroll sub meniu */
section {
    padding-top: 80px;
}

/* Hero */
.hero {
    height: 100vh;
    background: url('img/Point-Of-sale.png') no-repeat center/cover;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 58, 95, 0.7), rgba(255, 79, 90, 0.5));
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}
.hero p {
    font-size: 1.75rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .hero h1 { font-size: 5rem; }
    .hero p { font-size: 2rem; }
}
#dynamic-word {
    display: inline-block;
    min-width: 300px;
    text-align: left;
}

/* Carduri (Benefits) - Stil original */
.benefit-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 79, 90, 0.3);
}
.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.benefit-card p {
    font-size: 1rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* About */
.about-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 79, 90, 0.3);
}
.about-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1E3A5F;
    margin: 0;
}

/* Carduri (Products) - Imagini de sus, rotunjite */
.product-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 0 2rem 2rem 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 79, 90, 0.3);
}
.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.product-card p {
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 0; /* Eliminat spațiul suplimentar rezervat pentru buton */
}
.product-img {
    height: 300px;
    object-fit: contain;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 1rem;
}

/* Secțiuni */
h2 {
    font-size: 1.75rem;
    font-weight: 700;
}
@media (min-width: 768px) {
    h2 { font-size: 2.25rem; }
}
.products h2 {
    font-size: 1.5rem;
}
@media (min-width: 768px) {
    .products h2 { font-size: 2rem; }
}

/* Container pentru carduri egale */
.row .product-item {
    display: flex;
}

/* Formular și Footer */
.form-control { font-size: 1rem; }
footer p { font-size: 1rem; }
.contact .text-lg { font-size: 1rem; }

/* Testimoniale */
.testimonials blockquote p { font-size: 1rem; }
.testimonials .blockquote-footer { font-size: 0.875rem; }

/* Footer */
footer { background: linear-gradient(45deg, #1E3A5F, #2A5478); }
footer a { transition: color 0.3s; }
footer a:hover { color: #FFFFFF; }

/* Pop-up */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}
.modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0;
}
.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1E3A5F;
    text-align: center;
    width: 100%;
}
.modal-body {
    padding: 0 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    color: #333;
}
.modal-body strong {
    color: #FF4F5A;
}
.modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
    justify-content: center;
    gap: 1rem;
}
.btn-primary-custom {
    background-color: #FF4F5A;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}
.btn-primary-custom:hover {
    background-color: #e64550;
    transform: scale(1.05);
}
.btn-close-custom {
    background-color: #1E3A5F;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}
.btn-close-custom:hover {
    background-color: #2A5478;
    transform: scale(1.05);
}

/* Buton nou în Navbar */
.btn-secondary-custom {
    background-color: #1E3A5F;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: transform 0.2s, background-color 0.2s;
}
.btn-secondary-custom:hover {
    background-color: #2A5478;
    transform: scale(1.05);
}
.offer {
    padding-top: 100px; /* Spațiu sub navbar fix */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.offer-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: #1E3A5F;
}

.form-select, .form-control {
    border: 1px solid #1E3A5F;
    padding: 0.75rem;
}

.form-select:focus, .form-control:focus {
    border-color: #FF4F5A;
    box-shadow: 0 0 5px rgba(255, 79, 90, 0.5);
}
#progress-text {
    font-weight: 600;
    color: #F5A623;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}