/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --primary: #2872fa;
    --secondary: #1559ed;
    --text-primary: #3A4F66;
    --text-dark: #192a3d;
    --bg-light: #f2f5f7;
    --bg-white: #ffffff;
    --accent-green: #12d488;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Roboto Slab', serif;
}

/* ========================================
   BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 40, 60, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    color: white;
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========================================
   BUTOANE
   ======================================== */
.ct-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.ct-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 114, 250, 0.3);
}

.ct-button-white {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ct-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ct-button-outline-white {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.ct-button-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.ct-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-dark);
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--bg-light);
    transition: all 0.3s ease;
}

.ct-button-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-dark);
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(18, 212, 136, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(18, 212, 136, 0);
    }
}

/* ========================================
   BANNER SPECIALISTI
   ======================================== */
.banner-specialisti {
    background: var(--primary);
    padding: 30px 0;
    text-align: center;
}

.banner-specialisti h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.banner-specialisti p {
    color: #fff;
    font-size: 1.8rem;
}

/* ========================================
   SPECIALIZARI SECTION
   ======================================== */
.specializari-section {
    padding: 60px 0;
}

.specializari-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.specializari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.specializare-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-light);
}

.specializare-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specializare-card:hover h4 {
    color: var(--primary);
}

.specializare-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.specializare-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.specializare-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.specializare-card a {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.specializare-card a:hover {
    color: var(--secondary);
}

.specializari-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   BANNER VIATA
   ======================================== */
.banner-viata {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 0;
    text-align: center;
}

.banner-viata h1 {
    font-family: var(--font-heading);
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* ========================================
   DISCLAIMER
   ======================================== */
.disclaimer-section {
    padding: 50px 0 30px;
}

.disclaimer-section h2 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.disclaimer-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.disclaimer-box p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   CONTACT + HARTĂ
   ======================================== */
.contact-section {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-divider {
    border: 2px solid var(--primary);
    width: 60px;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-details p {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin: 5px 0;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

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

    .hero-buttons .ct-button,
    .hero-buttons .ct-button-white,
    .hero-buttons .ct-button-outline-white {
        display: block;
        width: 100%;
        text-align: center;
    }

    .specializari-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .banner-viata h1 {
        font-size: 1.8rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .specializari-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

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

/* ========================================
   HEADER
   ======================================== */

/* Top Bar */
.ct-top-bar {
    background: var(--bg-white);
    border-bottom: 1px solid #eef2f5;
}

.ct-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ct-contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ct-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.ct-contact-info .contact-item svg {
    width: 15px;
    height: 15px;
    fill: var(--primary);
    flex-shrink: 0;
}

.ct-contact-info .contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ct-contact-info .contact-item a:hover {
    color: var(--primary);
}

/* Language Switcher */
.ct-language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
}

.ct-language-switcher .lang-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.ct-language-switcher .lang-link:hover {
    background: var(--bg-light);
}

.ct-language-switcher .lang-link.active {
    background: var(--primary) !important;
    color: white !important;
}

.ct-language-switcher .lang-link img {
    width: 16px;
    height: 11px;
    flex-shrink: 0;
}

/* Middle Bar */
.ct-middle-bar {
    background: white;
    padding: 15px 0;
}

.ct-middle-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.site-branding .site-logo-container {
    display: block;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.header-menu-1 .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-1 .menu .menu-item {
    position: relative;
}

.header-menu-1 .menu .ct-menu-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-menu-1 .menu .ct-menu-link:hover {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.header-menu-1 .menu .current-menu-item > .ct-menu-link {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* Dropdown Submenu */
.header-menu-1 .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    border-radius: 8px;
    z-index: 1000;
}

.header-menu-1 .menu .menu-item-has-children:hover .sub-menu {
    display: block !important;
}

.header-menu-1 .menu .sub-menu .ct-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s ease;
    border-bottom: none;
}

.header-menu-1 .menu .sub-menu .ct-menu-link:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    border-bottom: none;
}

.header-menu-1 .menu .sub-menu .ct-menu-link img {
    width: 16px;
    height: 11px;
}

/* CTA Button in Header */
.ct-header-cta .ct-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(40, 114, 250, 0.3);
}

.ct-header-cta .ct-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 114, 250, 0.4);
}

/* ========================================
   HEADER RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .ct-top-bar .ct-contact-info {
        display: none !important;
    }

    .ct-middle-bar .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .ct-middle-bar .header-menu-1 {
        order: 3;
        width: 100%;
    }

    .ct-middle-bar .header-menu-1 .menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ct-middle-bar .ct-header-cta {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .ct-middle-bar .header-menu-1 .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .ct-middle-bar .ct-header-cta .ct-button {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }

    .site-branding img {
        max-height: 45px !important;
    }

    .ct-language-switcher .lang-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .ct-top-bar .container {
        justify-content: center;
    }

    .ct-language-switcher .lang-link {
        padding: 4px 6px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.ct-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.ct-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.ct-footer h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

.ct-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ct-footer a:hover {
    color: white;
}

.ct-footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.ct-footer .footer-contact p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.ct-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.ct-footer .footer-contact a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .ct-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .ct-footer .footer-grid .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .ct-footer .footer-grid .footer-links ul li {
        margin-bottom: 0;
    }
}