body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #f8f9fa, #e3f2fd);
    color: #333;
    margin: 0;
    padding: 0;
}

.sticky-header {
    background: linear-gradient(90deg, #1D2671, #C33764);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 10px 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

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

.logo img {
    height: 100px;
    width: auto;
    max-height: 100px;
}

.animated-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.animated-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.animated-menu ul li {
    margin: 0 15px;
}

.animated-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.animated-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: url('hero.webp') no-repeat center center/cover;
    color: white;
}

.hero-section h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section button {
    padding: 15px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2em;
}

.hero-section button:hover {
    background: #0056b3;
}

.about {
    padding: 50px;
    text-align: center;
}

.footer-modern {
    background: linear-gradient(90deg, #1D2671, #C33764);
    color: white;
    text-align: center;
    padding: 20px;
}

/* Specialties Section Fix */
.specialties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.medical-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

.medical-card:hover {
    transform: scale(1.1);
    background: #f1f1f1;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 30px;
}

.doctor {
    width: 200px;
    height: 260px;
    perspective: 1000px;
    cursor: pointer;
}

.doctor-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.doctor.flipped .doctor-inner {
    transform: rotateY(180deg);
}

.doctor-front, .doctor-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.doctor-front {
    background: white;
}

.doctor-back {
    background: #007bff;
    color: white;
    transform: rotateY(180deg);
}

.doctor img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.doctor h3 {
    font-family: 'Poppins', sans-serif; /* Poți schimba fontul */
    font-size: 22px; /* Mărește sau micșorează mărimea textului */
    font-weight: bold;
    color: #007bff; /* Poți schimba și culoarea */
    text-align: center;
}


/* Contact Page Fix */
.map-container {
    max-width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    gap: 40px;
}

.form-container {
    flex: 1;
    max-width: 550px;
}

.contact-info {
    flex: 1;
    max-width: 350px;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 16px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

form input, form select, form button {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #007bff;
    color: white;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}
.service-details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
}

.details-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

.details-box strong {
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: background-image 1s ease-in-out;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-section button {
    padding: 15px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    font-size: 1.2em;
}

.hero-section button:hover {
    background: #0056b3;
}
.details-box {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* Fundal alb ușor transparent */
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.1em;
    width: 350px; /* Mărește cardurile */
    margin: auto;
    transition: all 0.5s ease-in-out;
}

/* Fundal dinamic */
.details-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Face imaginea de fundal semi-transparentă */
    border-radius: 15px;
    z-index: -1;
}

.stiati-ca-container {
    display: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.stiati-ca-btn {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    font-size: 1.2em;
}

.stiati-ca-btn:hover {
    background: #0056b3;
}

.stiati-ca-container.visible {
    display: block;
}

.stiati-ca-container {
    display: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.stiati-ca-btn {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    font-size: 1.2em;
}

.stiati-ca-btn:hover {
    background: #0056b3;
}

.stiati-ca-container.visible {
    display: block;
}

.stiati-ca-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.stiati-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
}

.stiati-box:hover {
    transform: scale(1.05);
}

.emoji {
    font-family: 'Noto Color Emoji', sans-serif;
}

.emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.about-clinic {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.about-clinic h2 {
    font-size: 2em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 20px;
}

.about-text {
    max-width: 800px;
    margin: auto;
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
}

.about-text strong {
    color: #007bff;
}

.zen-intro {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(120deg, #f8f9fa, #e3f2fd);
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.zen-intro h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0056b3;
}

.zen-intro p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: #333;
}

.zen-benefits {
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.zen-benefits p {
    font-size: 1.1em;
    padding: 8px 0;
    font-weight: 500;
}

.zen-benefits strong {
    color: #007bff;
}

.block-7 {
    position: relative;
    overflow: hidden; /* Ascunde părțile care ies din div */
    background: white;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Umbră inițială */
}

.block-7:hover {
    transform: translateY(-10px); /* Ridică cardul */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Umbră mai pronunțată */
}

.block-7:before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.1); /* Un efect subtil de iluminare */
    transition: top 0.3s ease-in-out;
}

.block-7:hover:before {
    top: 0; /* Apare efectul de highlight */
}

.pricing-text li {
    transition: transform 0.3s ease-in-out;
}

.pricing-text li:hover {
    transform: scale(1.1); /* Mărește ușor textul la hover */
    color: #007bff; /* Schimbă culoarea la albastru medical */
}

.prices {
    max-height: 0;
    overflow: visible;
    transition: max-height 0.4s ease-in-out;
}

.prices.hidden {
    max-height: 0;
}

.prices.visible {
    max-height: 350px; /* Ajustează în funcție de conținut */
}

.block-7 {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.block-7:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.block-7 {
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 20px;
}

.block-7:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.excerpt {
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.excerpt .emoji {
    font-size: 1.5em;
}

.pricing-text {
    transition: opacity 0.3s ease-in-out;
    opacity: 0.9;
}

.hidden {
    display: none;
}

.excerpt {
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.excerpt i {
    font-size: 1.5em;
    color: #007bff; /* Albastru medical */
    transition: transform 0.3s ease-in-out;
}

.block-7:hover .excerpt i {
    transform: scale(1.2);
}

.block-7 {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 20px;
}

.block-7:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}
