@font-face {
    font-family: 'RevauxGO0d';
    src: url('../fonts/Revaux-GO0d.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Import fonturi optimized */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Noto+Sans:wght@700&family=GFS+Didot&display=swap');

/* Optimized CSS variables */
:root {
    --primary-color: #5999ee;
    --secondary-color: #f2fafc;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 2px 15px rgba(74, 144, 226, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    font-display: swap;
}

/* Optimized font loading */
body[data-lang="ru"] {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    min-height: 35px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.1rem;
    padding-right: 8px;
    margin: 0 auto;
    min-height: 35px;
    gap: 16px;
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: "Great Vibes", cursive !important;
    margin-left: 0;
    padding-left: 5px;
    flex-shrink: 0;
}

.logo-li.nav {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo img {
    height: 90px;
    width: auto;
}

.logo span {
    font-family: 'RevauxGO0d', serif !important;
    font-size: 3.6rem;
    font-weight: 400;
    padding-left: 35px;

    background: linear-gradient(to bottom, #658698, #13283c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo h1 {
    font-family: "Great Vibes", cursive;
    font-size: 4.5rem;
    margin: 0;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav {
    margin-left: auto;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
}

.nav-links li, .nav-links a {
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-style: normal;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover a i {
    transform: rotate(180deg);
}

/* Dropdown Styles */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.5rem 0;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0.5rem 1rem;
}

.dropdown a {
    padding: 0.5rem;
    display: block;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 700;
    font-style: normal;
}

.dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Language Selector Styles */
.language-selector .dropdown {
    right: 0;
    min-width: 80px;
    padding: 0.25rem 0;
}

.language-selector .dropdown li {
    padding: 0.25rem 0.5rem;
}

.language-selector .dropdown a {
    padding: 0.25rem 0.5rem;
    text-align: center;
}

.language-selector > a i {
    transition: transform 0.3s ease;
}

.language-selector:hover > a i {
    transform: rotate(180deg);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 5%;
    z-index: 1000;
    align-self: center;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 480px) {
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }
}

body.menu-open {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
        margin-top: 0;
        align-self: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links > li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links > li > a {
        padding: 10px 20px;
        display: block;
        font-size: 1.1rem;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: var(--light-gray);
        padding: 0;
        margin-top: 5px;
    }

    .dropdown li a {
        padding: 10px 20px;
    }

    .has-dropdown.active .dropdown {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-links {
        padding: 8px 10px 6px 10px;
    }
}

.hero-section {
    padding-top: 80px;
    padding-bottom: 0;
}

/* Responsive Mega Menu */
@media screen and (max-width: 992px) {
    .has-mega-menu .dropdown {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: #f8f8f8;
        border-top: 1px solid #eee;
    }

    .has-mega-menu.active .dropdown {
        display: block;
    }

    .mega-menu-wrapper {
        flex-direction: column;
        padding: 10px 20px;
    }

    .mega-menu-column {
        width: 100%;
        padding: 10px 0;
    }

    .mega-menu-column h4 {
        padding-bottom: 5px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
color: var(--white);
padding: 60px 0 20px;
font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
font-weight: 300 !important;
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 300;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

.footer a:hover {
    opacity: 0.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

.address p {
    margin: 5px 0;
    font-size: 0.9rem;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

.social-links, .messenger-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a, .messenger-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

.social-links a:hover, .messenger-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
        align-items: center;
    }

    .contact-info {
        align-items: center;
    }

    .social-links, .messenger-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

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

    .hero::after {
        width: 50%;
        right: 5%;
        height: 90%;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.35rem;
    }

    .hero::after {
        width: 80%;
        height: 80%;
        opacity: 0.3;
        background-position: center;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    .hero::after {
        width: 90%;
        height: 70%;
        right: 5%;
    }
}

/* About Section */
.about-section {
    min-height: 100vh;
    background-color: var(--white);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

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

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    display: none;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.services-grid {
    position: relative;
    z-index: 2;
}

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

.services-subtitle {
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(89, 153, 238, 0.4);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.service-content .details-button {
    margin-top: auto;
}

.service-card.last-row {
    margin-bottom: 0;
}

.service-title {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.service-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

.service-button:hover {
    background-color: #4785d9;
}

/* Responsive Design for Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 2rem;
    }

    .service-image {
        height: 220px;
    }
}

.details-button {
    display: inline-block;
    padding: 10px 20px !important;
    background: #2666c0 !important;
    color: #ffffff !important;
    border: 0px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    text-align: center !important;
    margin-top: auto !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(89,153,238,0.07) !important;
    backdrop-filter: blur(1.5px) !important;
}

.details-button:hover {
    background: #133a6c !important;
    color: #ffffff !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-text {
    flex: 1;
}

.modal-text h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.modal-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.modal-button:hover {
    background-color: #4a8ad8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-image {
    width: calc(100% + 60px);
    height: 300px;
    object-fit: cover;
    margin-left: -30px;
    margin-right: -30px;
    margin-top: -30px;
    margin-bottom: 20px;
    border-radius: 15px 15px 0 0;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-text h2 {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.2rem;
    }

    .modal-image {
        max-height: 200px;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -20px;
    }
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(89, 153, 238, 0.1), rgba(242, 250, 252, 0.9));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(89, 153, 238, 0.4) 0%,
        rgba(89, 153, 238, 0.35) 20%,
        rgba(89, 153, 238, 0.2) 40%,
        rgba(89, 153, 238, 0.1) 60%,
        rgba(89, 153, 238, 0.05) 80%,
        transparent 100%
    );
    z-index: 2;
    opacity: 0.9;
    transition: all 1s ease;
}

.hero.scrolled::before {
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(89, 153, 238, 0.5) 0%,
        rgba(89, 153, 238, 0.45) 15%,
        rgba(89, 153, 238, 0.4) 30%,
        rgba(89, 153, 238, 0.35) 45%,
        rgba(89, 153, 238, 0.3) 60%,
        rgba(89, 153, 238, 0.2) 75%,
        rgba(89, 153, 238, 0.1) 85%,
        rgba(89, 153, 238, 0.05) 95%,
        transparent 100%
    );
    opacity: 1;
}

.hero-content {
    max-width: 1350px !important;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content h1 {
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 40px 10px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 25px 4px;
    }
}


.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    max-width: 500px;
    min-height: 1.6em;
    font-family:'Open Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    max-width: 500px;
    min-height: 2.4em;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    max-width: 500px;
    min-height: 3.2em;
    font-family:'Open Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.hero::after {
    content: '';
    position: absolute;
    right: 5%;
    left: auto;
    bottom: 0;
    top: auto;
    transform: none;
    width: 60%;
    height: 100%;
    background-image: url('../images/ea2-Photoroom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(45deg, #5999ee, #3d7fd9);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05em;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(89, 153, 238, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: linear-gradient(45deg, #3d7fd9, #2666c0);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(89, 153, 238, 0.4);
}

@media (max-width: 768px) {
    .cta-button {
        padding: 11px 18px;
        font-size: 0.95em;
        min-width: 120px;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-subtitle {
        font-size: 1.08rem;
    }
    .hero-description {
        font-size: 1.02rem;
    }
    header .container .logo .logo-link span {
        font-size: 1.2rem !important;
    }
    .mobile-menu-btn {
        right: 10px;
        top: 10px;
        position: absolute;
        width: 32px;
        height: 32px;
        z-index: 1100;
        padding: 0;
        display: block;
    }
    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        margin: 5px auto;
        border-radius: 2px;
        background: #333;
        display: block;
        transition: 0.3s;
    }
}

@media (max-width: 1024px) {
    .hero::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 80%;
        height: 100%;
        background-position: bottom center;
    }
}
@media (max-width: 768px) {
    .hero::after {
        width: 100%;
        height: 90%;
    }
}
@media (max-width: 480px) {
    .hero::after {
        width: 110%;
        height: 80%;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 1000px;
        padding: 0 16px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .footer-content {
        max-width: 1000px;
        gap: 20px;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .header .container {
        gap: 12px;
    }
    .logo span {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 800px;
        padding: 0 12px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 600px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .header .container {
        padding: 0.1rem 2px;
        gap: 12px;
    }
    .logo {
        padding-left: 8px;
    }
    .logo img {
        height: 40px;
    }
    .logo span {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 98vw;
        padding: 0 8px;
    }
    .header .container {
        padding: 0.1rem 1px;
        gap: 8px;
    }
    .logo {
        padding-left: 6px;
    }
    .logo img {
        height: 35px;
    }
    .logo span {
        font-size: 1.2rem;
    }
    .nav-links {
        gap: 0.7rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 98vw;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .footer {
        padding: 40px 0 10px;
    }
    .footer-logo img {
        height: 35px;
    }
    .footer-logo span {
        font-size: 1rem;
    }
    .footer h3 {
        font-size: 1rem;
    }
    .footer-bottom {
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-subtitle {
        font-size: 1.08rem;
    }
    .hero-description {
        font-size: 1.02rem;
    }
    .cta-button {
        padding: 11px 18px;
        font-size: 0.95em;
        min-width: 120px;
    }
    .mobile-menu-btn {
        right: 10px;
        top: 10px;
        position: absolute;
        width: 32px;
        height: 32px;
        z-index: 1100;
        padding: 0;
        display: block;
    }
    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
        margin: 5px auto;
        border-radius: 2px;
        background: #333;
        display: block;
        transition: 0.3s;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100vw;
        padding: 0 4px;
    }
    .logo {
        padding-left: 4px;
    }
    .logo img {
        height: 35px;
    }
    header .container .logo .logo-link span {
        font-size: 1rem !important;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-description {
        font-size: 1.15rem;
    }
    .cta-button {
        padding: 9px 10px;
        font-size: 0.9em;
        min-width: 90px;
    }
    .header, .header .container {
        min-height: 28px;
    }
    .logo {
        padding-left: 2px;
    }
    .mobile-menu-btn {
        right: 6px;
        top: 8px;
        width: 28px;
        height: 28px;
    }
    .mobile-menu-btn span {
        width: 18px;
        height: 2.5px;
        margin: 4px auto;
    }
}

@media (max-width: 992px) {
    .header, .header .container {
        min-height: 33px;
    }
    .nav-links {
        margin-right: 18px;
    }
}
@media (max-width: 768px) {
    .header, .header .container {
        min-height: 30px;
    }
    .logo {
        padding-left: 8px;
    }
    .logo img {
        height: 45px;
    }
}
@media (max-width: 480px) {
    .header, .header .container {
        min-height: 28px;
    }
    .logo {
        padding-left: 2px;
    }
    .logo img {
        height: 35px;
    }
    .mobile-menu-btn {
        right: 6px;
        top: 8px;
        width: 28px;
        height: 28px;
    }
    .mobile-menu-btn span {
        width: 18px;
        height: 2.5px;
        margin: 4px auto;
    }
}

.gallery-section,
.reviews-section {
    padding: 120px 0 80px;
}

/* Gallery Page Styles */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}
.gallery-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}
.gallery-subtitle {
    font-size: 1.2em;
    color: #666;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}
.gallery-category {
    margin-bottom: 60px;
}
.category-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:not(.before-after-container):hover img {
    transform: scale(1.05);
}
.before-after {
    position: relative;
}
.before-after::before {
    content: 'Before';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 1;
}
.before-after::after {
    content: 'After';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 1;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow: auto;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.lightbox-content {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    width: auto;
    height: auto;
    padding: 0;
}
.lightbox-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    padding: 0;
}
.close-lightbox {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

/* Ajustări responsive pentru lightbox */
@media (max-width: 768px) {
    .lightbox {
        padding: 5px;
    }

    .close-lightbox {
        top: 10px;
        right: 10px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}

/* Stil pentru a ascunde scrollbar-ul pe body cand lightbox-ul e deschis */
body.lightbox-open {
    overflow: hidden;
}

/* Reviews Page Styles */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}
.reviews-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}
.reviews-subtitle {
    font-size: 1.2em;
    color: #666;
}
.feedback-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-style: normal;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.star-rating {
    display: flex;
    gap: 10px;
    font-size: 24px;
}
.star-rating i {
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}
.star-rating i.active {
    color: #ffd700;
}
.submit-button {
    background: #4a90e2;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.submit-button:hover {
    background: #357abd;
}
.reviews-list {
    display: grid;
    gap: 30px;
}
.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.reviewer-name {
    font-weight: 700;
    font-size: 1.1em;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}
.review-date {
    color: #666;
}
.review-rating {
    color: #ffd700;
    margin-bottom: 10px;
}
.review-content {
    color: #444;
    line-height: 1.6;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Before-After Image Slider */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.before-after-container img {
    width: 100%;
    height: auto;
    display: block;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width 0.3s ease;
}

.after-image {
    width: 100%;
    height: 100%;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 2;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.before-label,
.after-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Hover effect for labels */
.before-label:hover,
.after-label:hover {
    background: rgba(74, 144, 226, 0.9);
    cursor: pointer;
}

/* Stiluri pentru Before-After în galerie */
.gallery-item.before-after-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    cursor: default;
}

.gallery-item.before-after-container .before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: none;
}

.gallery-item.before-after-container .before-image img,
.gallery-item.before-after-container .after-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.before-after-container .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: default;
    transform: translateX(-50%);
    z-index: 2;
}

.gallery-item.before-after-container .slider-handle::before,
.gallery-item.before-after-container .slider-handle::after {
    content: none;
}

.gallery-item.before-after-container .before-label,
.gallery-item.before-after-container .after-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
    transition: background 0.3s ease;
    cursor: default;
}

.gallery-item.before-after-container .before-label {
    left: 20px;
}

.gallery-item.before-after-container .after-label {
    right: 20px;
}

.gallery-item.before-after-container .before-label:hover,
.gallery-item.before-after-container .after-label:hover {
    background: var(--primary-color);
    cursor: default;
}

/* Stiluri specifice pentru modalul Carboxytherapy */
.carboxy-modal {
    width: 100%;
    margin: 0;
    padding: 0;
}

.carboxy-modal-images {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carboxy-modal-images img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.carboxy-modal-content {
    padding: 15px;
}

.carboxy-modal-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8em;
}

.carboxy-modal-description {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1em;
    color: #555;
}

.carboxy-modal-list {
    list-style-type: none;
    padding: 0 20px;
    margin: 0;
}

.carboxy-modal-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.carboxy-modal-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 600px) {
    .carboxy-modal-images {
        flex-direction: column;
    }
    
    .carboxy-modal-images img {
        width: 100%;
        height: 200px;
    }
}

/* Ajustări pentru responsive */
@media (max-width: 768px) {
    .gallery-item.before-after-container {
        height: 250px;
    }
}


.intro-text {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.info-card h2 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.info-item p,
.info-item a {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.monthly-offer {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.offer-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.offer-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.offer-card {
    flex: 0 0 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #5999ee;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: color 0.3s ease;
}

.carousel-arrow:hover {
    color: #e83e8c;
}

.prev-arrow {
    left: -40px;
}

.next-arrow {
    right: -40px;
}

@media (max-width: 1200px) {
    .carousel-arrow {
        font-size: 1.5rem;
    }
    
    .prev-arrow {
        left: -30px;
    }
    
    .next-arrow {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .carousel-arrow {
        font-size: 1.2rem;
    }
    
    .prev-arrow {
        left: -25px;
    }
    
    .next-arrow {
        right: -25px;
    }
}

.monthly-offer .offer-price {
    font-size: 2rem;
    color: #e83e8c;
    font-weight: 700;
    margin: 1rem 0;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
}

.monthly-offer .offer-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #e83e8c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* --- MENIU SIMPTOME ORIZONTAL --- */
.symptoms-dropdown-menu {
   display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 32px 0 24px 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top: 1px solid #eaeaea;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.symptoms-dropdown-menu.active {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
    visibility: visible;
    height: 95vh !important;
    min-height: 95vh !important;
    max-height: 95vh !important;
    bottom:10% !important;
    overflow-y: auto !important;
}

/* Adaug un wrapper pentru a asigura poziționarea corectă */
.symptoms-dropdown-wrapper {
    position: relative;
    z-index: 9999;
}

.symptoms-dropdown-columns {
    display: flex;
    justify-content: center;
    gap: 140px;
    max-width: 1400px;
    margin: 0 auto;
}

.symptoms-col {
    min-width: 180px;
    max-width: 220px;
}

.symptoms-col-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.15em;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.symptoms-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.symptoms-col ul li {
    margin-bottom: 8px;
}

.symptoms-col ul li a {
    color: #222;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
    padding: 2px 0 2px 0;
    display: block;
    border-radius: 6px;
}

.symptoms-col ul li a:hover {
    color: #ffffff;
    background: #ffffff;
}

/* Buze ca un bloc întreg */
.symptoms-col-title:contains('Buze') + ul,
.symptoms-col:nth-child(2) ul {
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 0 8px 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(89,153,238,0.07);
}
.symptoms-col:nth-child(2) ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #ffffff;
}
.symptoms-col:nth-child(2) ul li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
    .symptoms-dropdown-columns {
        gap: 18px;
    }
    .symptoms-col {
        min-width: 120px;
        max-width: 160px;
    }
}
@media (max-width: 600px) {
    .symptoms-dropdown-columns {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    .symptoms-col {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }
}
/* --- FINAL MENIU SIMPTOME --- */

.symptoms-col:first-child {
    min-width: 540px;
    max-width: 700px;
}

.symptoms-col:first-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
    min-width: 520px;
    max-width: 700px;
    margin-left: 0;
}

.symptoms-col:first-child .symptoms-col-title {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 18px;
}

/* Stiluri pentru cartonașele de tratament (facial-care, dermapen, etc) */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.treatment-card {
    height: 400px !important;
    max-width: 290px !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(89,153,238,0.07) !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    transition: transform 0.25s ease !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
}

.treatment-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 32px rgba(89,153,238,0.18) !important;
    border: 2px solid #fff !important;
    background: rgba(255,255,255,0.96) !important;
    z-index: 2 !important;
}

.treatment-image-wrapper {
    position: relative !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
}

.treatment-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.badge-group {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 12px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 2 !important;
    padding: 0 8px !important;
}

.badge {
    border-radius: 9999px !important;
    background: rgba(255,255,255,0.5) !important;
    color: #222 !important;
    font-size: 0.88em !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 300 !important;
    border: 1.5px solid #fff !important;
    padding: 3px 10px !important;
    box-shadow: 0 2px 8px rgba(89,153,238,0.07) !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
    display: inline-block !important;
}

.badge:hover {
    background: rgba(255,255,255,0.8) !important;
}

.treatment-content {
    padding: 8px 8px 0 8px !important;
    text-align: center !important;
    flex: none !important;
    min-height: unset !important;
}

.treatment-content h3 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.3em !important;
    color: #333 !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
}

/* Stiluri pentru pachete (package-card) */
.package-card {
    height: 450px !important;
    width: 100% !important;
    max-width: 500px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(89,153,238,0.07) !important;
    padding: 0 !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    transition: transform 0.25s ease !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
}

.package-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 32px rgba(89,153,238,0.18) !important;
    border: 2px solid #fff !important;
    background: rgba(255,255,255,0.96) !important;
    z-index: 2 !important;
}

.package-card .treatment-image-wrapper {
    position: relative !important;
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
}

.package-card .treatment-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.package-card .treatment-content {
    padding: 15px !important;
    text-align: center !important;
    flex: none !important;
}

.package-card .treatment-content h3 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.4em !important;
    color: #222 !important;
    margin: 0 0 10px 0 !important;
    text-align: center !important;
}

/* Media query pentru responsive */
@media (max-width: 1100px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 450px)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 400px)) !important;
    }
    
    .package-card {
        height: 400px !important;
    }
    
    .package-card .treatment-image-wrapper {
        height: 250px !important;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: minmax(0, 400px) !important;
        max-width: 400px !important;
    }
    
    .package-card {
        height: 380px !important;
    }
    
    .package-card .treatment-image-wrapper {
        height: 220px !important;
    }
}

/* Price Table Styles */
.prices-section {
    padding: 120px 0 80px;
}
.prices-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.prices-header {
    text-align: center;
    margin-bottom: 50px;
}
.prices-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}
.prices-subtitle {
    font-size: 1.2em;
    color: #666;
}

.price-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 30px 0;
    background: #f0f7ff;
    box-shadow: 0 2px 15px rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e1eeff;
}

.price-table th,
.price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1eeff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-table th {
    background-color: #e1eeff;
    font-weight: 600;
    color: #2c5282;
}

.price-table td {
    color: #4a5568;
}

.price-table th:last-child,
.price-table td:last-child {
    text-align: right;
    padding-right: 30px;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2) {
    text-align: right;
    padding-right: 30px;
}

.price {
    font-weight: 600;
    color: #2b6cb0;
}

.discount {
    color: #e53e3e;
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 10px;
}

.current-price {
    color: #2b6cb0;
    font-weight: bold;
}

.discount-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.service-name {
    font-weight: 500;
    color: #2d3748;
}

.service-name a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-name a:hover {
    color: #2b6cb0;
}

.duration {
    color: #4a5568;
}

.price-category {
    margin-bottom: 40px;
}

.price-category h3 {
    color: #2c5282;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #90cdf4;
}

/* WRAPPER SPECIAL PENTRU TABELUL CU SCROLL */
.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(74, 144, 226, 0.1);
}

.table-scroll-wrapper .price-table {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    min-width: 600px;
}

/* Stilizare scrollbar pentru wrapper */
.table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #5999ee;
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #4785d9;
}

/* Responsive Design - SOLUȚIE COMPLETĂ PENTRU TABELE NORMALE */
@media screen and (max-width: 1024px) {
    .price-table {
        font-size: 0.95em;
    }
}

@media screen and (max-width: 768px) {
    .prices-container {
        padding: 0 15px;
    }
    
    /* RESETARE COMPLETĂ PENTRU TOATE TABELELE NORMALE */
    .price-table {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
        display: table !important;
        overflow: visible !important;
        margin: 20px 0 !important;
        font-size: 0.9em !important;
    }

    /* TOATE CELULELE - RESETARE COMPLETĂ */
    .price-table th,
    .price-table td {
        padding: 12px 8px !important;
        word-break: break-word !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-align: left !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        box-sizing: border-box !important;
        vertical-align: top !important;
    }

    /* PRIMA COLOANĂ - ÎNTOTDEAUNA STÂNGA */
    .price-table th:first-child,
    .price-table td:first-child {
        width: 60% !important;
        text-align: left !important;
        padding-left: 12px !important;
    }

    /* A DOUA COLOANĂ - CENTRU SAU DREAPTA */
    .price-table th:nth-child(2),
    .price-table td:nth-child(2) {
        width: 25% !important;
        text-align: center !important;
        padding: 12px 4px !important;
    }

    /* A TREIA COLOANĂ - DREAPTA */
    .price-table th:nth-child(3),
    .price-table td:nth-child(3) {
        width: 25% !important;
        text-align: center !important;
        padding: 12px 4px !important;
    }

    /* ULTIMA COLOANĂ - ÎNTOTDEAUNA DREAPTA */
    .price-table th:last-child,
    .price-table td:last-child {
        text-align: right !important;
        padding-right: 12px !important;
    }

    /* PENTRU TABELE CU DOAR 2 COLOANE */
    .price-table tr th:first-child:nth-last-child(2),
    .price-table tr td:first-child:nth-last-child(2) {
        width: 65% !important;
    }

    .price-table tr th:last-child:nth-child(2),
    .price-table tr td:last-child:nth-child(2) {
        width: 35% !important;
    }

    /* EXCEPȚIE: TABELUL CU SCROLL RĂMÂNE CUM E */
    .table-scroll-wrapper .price-table {
        width: 100% !important;
        min-width: 600px !important;
        table-layout: fixed !important;
        margin: 0 !important;
    }

    .table-scroll-wrapper .price-table th,
    .table-scroll-wrapper .price-table td {
        white-space: nowrap !important;
        padding: 12px 15px !important;
    }

    .table-scroll-wrapper .price-table th:first-child,
    .table-scroll-wrapper .price-table td:first-child {
        width: 300px !important;
        min-width: 300px !important;
    }

    .table-scroll-wrapper .price-table th:nth-child(2),
    .table-scroll-wrapper .price-table td:nth-child(2) {
        width: 150px !important;
        min-width: 150px !important;
        text-align: center !important;
    }

    .table-scroll-wrapper .price-table th:nth-child(3),
    .table-scroll-wrapper .price-table td:nth-child(3) {
        width: 150px !important;
        min-width: 150px !important;
        text-align: center !important;
    }
}

@media screen and (max-width: 480px) {
    .prices-title {
        font-size: 2em;
    }

    .prices-subtitle {
        font-size: 1.1em;
    }

    .prices-container {
        padding: 0 10px;
    }

    .price-table {
        font-size: 0.85em !important;
        margin: 15px 0 !important;
    }

    .price-table th,
    .price-table td {
        padding: 10px 6px !important;
    }

    .price-table th:first-child,
    .price-table td:first-child {
        padding-left: 8px !important;
    }

    .price-table th:last-child,
    .price-table td:last-child {
        padding-right: 8px !important;
    }

    /* TABELUL CU SCROLL PE TELEFOANE MICI */
    .table-scroll-wrapper .price-table {
        min-width: 500px !important;
    }

    .table-scroll-wrapper .price-table th:first-child,
    .table-scroll-wrapper .price-table td:first-child {
        width: 250px !important;
        min-width: 250px !important;
    }

    .table-scroll-wrapper .price-table th:nth-child(2),
    .table-scroll-wrapper .price-table td:nth-child(2) {
        width: 125px !important;
        min-width: 125px !important;
    }

    .table-scroll-wrapper .price-table th:nth-child(3),
    .table-scroll-wrapper .price-table td:nth-child(3) {
        width: 125px !important;
        min-width: 125px !important;
    }
}


/* --- MENIU SIMPTOME RESPONSIVE --- */
.symptoms-dropdown-menu {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 32px 0 24px 0;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  border-top: 1px solid #eaeaea;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.symptoms-dropdown-menu.active {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
  visibility: visible;
}

.symptoms-dropdown-columns {
  display: flex;
  justify-content: center;
  gap: 140px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.symptoms-col {
  min-width: 180px;
  max-width: 220px;
}

.symptoms-col-title {
  font-weight: 700;
  color: #5999ee;
  font-size: 1.15em;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.symptoms-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.symptoms-col ul li {
  margin-bottom: 8px;
}

.symptoms-col ul li a {
  color: #222;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
  padding: 2px 0 2px 0;
  display: block;
  border-radius: 6px;
}

.symptoms-col ul li a:hover {
  color: #5999ee;
  background: #f3f7ff;
}

/* Stiluri speciale pentru coloana Față */
.symptoms-col:first-child {
  min-width: 540px;
  max-width: 700px;
}

.symptoms-col:first-child ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  min-width: 520px;
  max-width: 700px;
  margin-left: 0;
}

.symptoms-col:first-child .symptoms-col-title {
  grid-column: span 2;
  text-align: center;
  margin-bottom: 18px;
}

/* Stiluri speciale pentru coloana Buze */
.symptoms-col:nth-child(2) ul {
  background: #f3f7ff;
  border-radius: 10px;
  padding: 8px 0 8px 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(89, 153, 238, 0.07);
}

.symptoms-col:nth-child(2) ul li {
  margin-bottom: 0;
  border-bottom: 1px solid #e0e7f8;
}

.symptoms-col:nth-child(2) ul li:last-child {
  border-bottom: none;
}

/* --- RESPONSIVE PENTRU TABLETĂ --- */
@media (max-width: 1200px) {
  .symptoms-dropdown-columns {
    gap: 60px;
    padding: 0 15px;
  }

  .symptoms-col:first-child {
    min-width: 400px;
    max-width: 500px;
  }

  .symptoms-col:first-child ul {
    gap: 0 40px;
    min-width: 380px;
    max-width: 480px;
  }

  .symptoms-col {
    min-width: 140px;
    max-width: 180px;
  }
}

@media (max-width: 992px) {
  .header {
    min-height: 55px; /* Și mai subțire pe tabletă */
  }

  .header .container {
    min-height: 55px;
    padding: 0 15px;
  }

  .logo img {
    height: 45px;
  }

  .logo span {
    font-size: 2rem;
    padding-left: 15px;
  }

  .symptoms-dropdown-menu {
    top: 55px;
  }

  .nav-links {
    padding-top: 55px;
  }
  .symptoms-dropdown-menu {
    top: 60px;
    padding: 20px 0 15px 0;
    overflow-y: auto;
    max-height: 80vh;
    border-radius: 0 0 12px 12px;
  }

  .symptoms-dropdown-columns {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .symptoms-col:first-child {
    min-width: 100%;
    max-width: 100%;
  }

  .symptoms-col:first-child ul {
    display: block;
    min-width: 100%;
    max-width: 100%;
    gap: 0;
  }

  .symptoms-col {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .symptoms-col-title {
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  .symptoms-col ul li {
    margin-bottom: 10px;
  }

  .symptoms-col ul li a {
    padding: 8px 10px;
    display: block;
    background: #f8f9fa;
    border-radius: 6px;
  }

  .symptoms-col ul li a:hover {
    background: #f3f7ff;
  }

  .symptoms-col:nth-child(2) ul {
    background: #f3f7ff;
    border-radius: 10px;
    padding: 8px 0 8px 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(89, 153, 238, 0.07);
  }

  .symptoms-col:nth-child(2) ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e7f8;
  }

  .symptoms-col:nth-child(2) ul li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .header {
    min-height: 50px; /* Foarte subțire pe mobil */
  }

  .header .container {
    min-height: 50px;
    padding: 0 10px;
  }

  .logo img {
    height: 40px;
  }

  .logo span {
    font-size: 1.8rem;
    padding-left: 12px;
  }

  .symptoms-dropdown-menu {
    top: 50px;
  }

  .nav-links {
    padding-top: 50px;
  }

  .mobile-menu-btn {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }
  .symptoms-dropdown-menu {
    top: 50px;
    padding: 15px 0 12px 0;
    border-radius: 0 0 8px 8px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .symptoms-dropdown-columns {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 0 15px;
  }

  .symptoms-col {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .symptoms-col:first-child {
    min-width: 100%;
    max-width: 100%;
  }

  .symptoms-col:first-child ul {
    display: block;
    min-width: 100%;
    max-width: 100%;
    gap: 0;
  }

  .symptoms-col:first-child .symptoms-col-title {
    grid-column: unset;
    text-align: left;
    margin-bottom: 12px;
  }

  .symptoms-col-title {
    font-size: 1.1em;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 2px solid #5999ee;
  }

  .symptoms-col ul li {
    margin-bottom: 6px;
  }

  .symptoms-col ul li a {
    font-size: 0.9em;
    padding: 6px 8px;
    border-radius: 4px;
  }

  /* Stiluri speciale pentru Buze pe mobil */
  .symptoms-col:nth-child(2) ul {
    background: #f3f7ff;
    border-radius: 8px;
    padding: 10px;
    margin: 0;
  }

  .symptoms-col:nth-child(2) ul li {
    margin-bottom: 8px;
    border-bottom: none;
  }

  .symptoms-col:nth-child(2) ul li a {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .header {
    min-height: 45px; /* Foarte subțire pe telefoane mici */
  }

  .header .container {
    min-height: 45px;
    padding: 0 8px;
  }

  .logo img {
    height: 35px;
  }

  .logo span {
    font-size: 1.5rem;
    padding-left: 10px;
  }

  .symptoms-dropdown-menu {
    top: 45px;
  }

  .nav-links {
    padding-top: 45px;
  }

  .mobile-menu-btn {
    width: 30px;
    height: 30px;
    padding: 4px;
    right: 8px;
  }

  .mobile-menu-btn span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }
  .symptoms-dropdown-menu {
    top: 45px;
    padding: 12px 0 10px 0;
    max-height: 60vh;
  }

  .symptoms-dropdown-columns {
    gap: 15px;
    padding: 0 10px;
  }

  .symptoms-col {
    margin-bottom: 12px;
  }

  .symptoms-col-title {
    font-size: 1em;
    margin-bottom: 6px;
  }

  .symptoms-col ul li {
    margin-bottom: 4px;
  }

  .symptoms-col ul li a {
    font-size: 0.85em;
    padding: 5px 6px;
  }
}

/* FIX PENTRU HEADER SUBȚIRE */
.header {
  position: relative;
  min-height: 60px; /* Redus de la 80px */
  background-color: var(--white);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  position: relative;
  min-height: 60px; /* Redus de la 80px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* Logo mai mic */
.logo img {
  height: 50px; /* Redus de la 90px */
  width: auto;
}

.logo span {
  font-size: 2.2rem; /* Redus de la 3.6rem */
  padding-left: 20px; /* Redus de la 35px */
}

/* Ajustări pentru meniul de simptome */
.symptoms-dropdown-menu {
  top: 60px; /* Ajustat pentru header-ul mai mic */
}

/* Butonul mobil ajustat */
.mobile-menu-btn {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px; /* Redus puțin */
  height: 35px; /* Redus puțin */
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2.5px;
  margin: 2.5px 0;
}

.nav {
  position: relative;
}

/* Ascunde meniul normal pe mobil */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* CORECTĂRI PENTRU MENIUL MOBIL GENERAL --- */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 55px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links > li {
    width: 100%;
    text-align: left;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links > li > a {
    padding: 15px 20px;
    display: block;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Dropdown-uri în meniul mobil */
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .dropdown.open {
    display: block;
  }

  .dropdown li {
    border-bottom: 1px solid #e9ecef;
  }

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

  .dropdown li a {
    padding: 12px 30px;
    font-size: 1rem;
    background: none;
  }

  .dropdown li a:hover {
    background-color: #e9ecef;
  }

  /* Sub-dropdown-uri */
  .dropdown .dropdown {
    background-color: #e9ecef;
  }

  .dropdown .dropdown li a {
    padding: 10px 40px;
    font-size: 0.95rem;
  }

  /* Butonul mobil - FIX PENTRU POZIȚIONARE */
  .mobile-menu-btn {
    display: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 35px;
    height: 35px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #333;
    margin: 2.5px 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    padding-top: 50px;
  }

  /* Responsive pentru butonul mobil */
  .mobile-menu-btn {
    right: 10px;
    width: 35px;
    height: 35px;
    padding: 6px;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 2.5px;
    margin: 2.5px 0;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .nav-links {
    padding-top: 45px;
  }

  .nav-links > li > a {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .dropdown li a {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .dropdown .dropdown li a {
    padding: 8px 35px;
    font-size: 0.9rem;
  }

  /* Responsive pentru butonul mobil */
  .mobile-menu-btn {
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Responsive pentru butonul mobil */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header .container {
    position: relative;
  }
}

a.badge-right {
    text-decoration: none !important;
}
