/* ========================================================
   SISTEM TIPOGRAFIC GLOBAL (MAXIMUM DOUĂ FONTURI)
   1. Titluri / Headings: 'Playfair Display' (serif elegant)
   2. Text / Body: 'Inter' (sans-serif modern, ultra-lizibil)
   Fontul caligrafic ramane exclusiv in logo-ul cabinetului.
   ======================================================== */

body,
p,
span,
li,
a,
button,
input,
textarea,
select,
label,
.tarife-price,
.tarife-note,
.service-detail-content,
.service-modal-body,
.article-content,
.slider-content p,
.about-right p,
.footer-area {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Tipografie corp de text: 17px, line-height 1.6 - 1.65 */
body {
    font-size: 17px;
    line-height: 1.6;
    color: #334155;
}

p {
    font-size: 17px;
    line-height: 1.62;
    color: #334155;
    margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-header h2,
.section-header-about h2,
.slider-content h2,
.newsfeed-content h3,
.progess-wrapper .bar-title h4,
.education-card-title,
.article-single-title,
.article-content h3,
.article-content h4,
.article-references-box h5,
.service-topics-header,
.services-content h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
}

/* Responsive Logo styling */
.logo {
    display: inline-block;
    vertical-align: middle;
}

.logo img,
.standard-logo img,
.retina-logo img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    display: block;
}

/* Tablet & Mobile responsive scaling */
@media (max-width: 991px) {
    .logo img,
    .standard-logo img,
    .retina-logo img {
        max-height: 55px;
    }
}

@media (max-width: 575px) {
    .logo img,
    .standard-logo img,
    .retina-logo img {
        max-height: 45px;
    }
}

/* Fix slider width overflow on mobile */
.slider-area,
.slick-slider,
.slick-list,
.slick-track,
.single-slider {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Responsive typography for Hero / Slider title & text */
.slider-content h2 {
    font-size: clamp(24px, 3.5vw, 48px);
    line-height: 1.2;
    margin-bottom: 15px;
    word-break: normal;
    overflow-wrap: break-word;
}

.slider-content > span {
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.4;
    margin-bottom: 15px;
}

.slider-content p {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.5;
    margin-bottom: 25px;
    font-style: italic;
}

@media (max-width: 991px) {
    .slider-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .slider-content h2 {
        font-size: clamp(22px, 4vw, 36px);
    }
}

@media (max-width: 575px) {
    .slider-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .slider-content > span {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .slider-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .btn-whatsapp {
        padding: 12px 24px;
        font-size: 15px;
    }
}



/* About section text alignment - justified */
.about-right {
    text-align: justify;
}

.about-right p {
    text-align: justify;
    margin-bottom: 0.8em;
    text-indent: 1.5em;
}

/* ========================================================
   TITLURI MARI DE SECȚIUNI (SERVICII, TARIFE, DESPRE MINE ETC.)
   - Desktop: 48px (aerisit, letter-spacing 0.5px)
   - Tableta: 40px
   - Telefon: 34px
   - Spațiu alb generos deasupra și dedesubtul titlurilor
   ======================================================== */

.section-header {
    margin-bottom: 60px;
}

.section-header h2,
.section-header-about h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 48px !important;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: #3481ad !important;
    margin-bottom: 0;
}

.section-header-about h2 {
    font-size: 48px !important;
}

/* Spațiu alb generos deasupra și dedesubtul secțiunii Servicii */
.services-area {
    padding-top: 130px !important;
    padding-bottom: 100px !important;
}

@media (max-width: 1199px) {
    .section-header {
        margin-bottom: 50px;
    }
    .section-header h2,
    .section-header-about h2 {
        font-size: 40px !important;
    }
    .section-header-about {
        text-align: center;
        margin-bottom: 30px;
    }
    .section-header-about h2 {
        text-align: center;
    }
    .services-area {
        padding-top: 100px !important;
        padding-bottom: 80px !important;
    }
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 38px;
    }
    .section-header h2,
    .section-header-about h2 {
        font-size: 34px !important;
        line-height: 1.25;
    }
    #about .pt-120 {
        padding-top: 60px !important;
    }
    .section-header-about {
        text-align: center;
        margin-bottom: 25px;
    }
    .section-header-about h2 {
        text-align: center;
        margin-bottom: 10px;
    }
    .services-area {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
}

/* Navigation menu active/hover underline indicator color */
.main-menu ul > li > a::before,
.hobi-nav li > a::before,
.nav-link::before {
    background: #3481ad;
}

/* Timeline vertical line & dots color */
.education-qualification-body:before {
    background: rgba(52, 129, 173, 0.2);
}
.education-content:before {
    background-color: #3481ad;
    box-shadow: 0px 4px 8px 0px rgba(52, 129, 173, 0.4);
}
.icon-images i {
    background-color: #3481ad;
    box-shadow: 0px 8px 16px 0px rgba(52, 129, 173, 0.3);
}

/* ========================================================
   SISTEM UNITAR DE BUTOANE
   1. Buton Principal: Albastru petrol (#3481ad), text alb
   2. Buton Secundar: Doar contur (#3481ad), fundal transparent
   3. Colțuri: Discret rotunjite (9px, încadrat în 8-10px)
   ======================================================== */

.btn-primary-custom,
.btn-programeaza,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background-color: #3481ad !important;
    color: #ffffff !important;
    border: 1.5px solid #3481ad !important;
    border-radius: 9px !important;
    padding: 13px 26px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(52, 129, 173, 0.18) !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-primary-custom:hover,
.btn-programeaza:hover,
.btn-whatsapp:hover {
    background-color: #266a91 !important;
    border-color: #266a91 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(52, 129, 173, 0.28) !important;
}

.btn-secondary-custom,
.service-modal-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background-color: transparent !important;
    color: #3481ad !important;
    border: 1.5px solid #3481ad !important;
    border-radius: 9px !important;
    padding: 13px 26px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-secondary-custom:hover,
.service-modal-btn-secondary:hover {
    background-color: rgba(52, 129, 173, 0.08) !important;
    color: #205c80 !important;
    border-color: #205c80 !important;
    transform: translateY(-2px) !important;
}

/* Poziționare butoane Hero */
.slider-content .slider-btn {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

.hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .slider-content .slider-btn {
        justify-content: center;
        margin-top: 24px;
    }
    .hero-actions {
        justify-content: center;
    }
}


/* ========================================================
   CARDURILE SERVICIILOR (STRUCTURĂ IDENTICĂ & HOVER FIN)
   - Dimensiuni și spațiere interioară identice
   - Colțuri discret rotunjite (12px), contur fin (1px) și umbră ușoară
   - Iconițe identice ca stil și dimensiune (58px / font 22px)
   - La hover: ridicare foarte ușoară (-3px) și contur albastru discret
   ======================================================== */

.services-body {
    background: #ffffff;
    padding: 38px 26px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    text-align: center;
    height: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-body:hover {
    border-color: #3481ad;
    box-shadow: 0 6px 18px rgba(52, 129, 173, 0.1);
    transform: translateY(-3px);
}

.service-card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    background: rgba(52, 129, 173, 0.08);
    color: #3481ad;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.services-body:hover .service-card-icon {
    background: rgba(52, 129, 173, 0.14);
    color: #205c80;
}

.services-content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content h4 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 19px !important;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    margin: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .services-body {
        padding: 28px 20px;
        min-height: auto;
    }
    .services-content h4 {
        min-height: auto;
        font-size: 18px !important;
    }
    .service-card-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        font-size: 20px;
        margin-bottom: 16px;
    }
}

/* Calendly widget styling */
.calendly-inline-widget {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

/* Social icons in top header navigation before Home */
.main-nav .social-nav-item {
    display: inline-block;
    margin-right: 25px; /* generous spacing between icons */
}

.main-nav .social-nav-item:last-of-type {
    margin-right: 35px; /* generous spacing before Home link */
}

.main-nav .social-nav-link {
    font-size: 18px;
    color: #3481ad !important;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    padding: 0 5px;
}

.main-nav .social-nav-link:hover {
    color: #205c80 !important;
    transform: translateY(-2px);
}

/* Remove hover underline indicator from social nav icons */
.main-nav .social-nav-item > a::before,
.main-nav .social-nav-link::before,
.main-menu div > ul > li.social-nav-item:hover > a::before,
.main-menu ul > li.social-nav-item > a.active::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* Buton distinct „Programează-te” în partea dreaptă a antetului / meniului */
.main-menu ul li.header-cta-item {
    margin-left: 15px;
    vertical-align: middle;
}

.main-menu ul li.header-cta-item a.header-btn-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: #3481ad !important;
    color: #ffffff !important;
    border: 1.5px solid #3481ad !important;
    border-radius: 9px !important;
    padding: 10px 20px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(52, 129, 173, 0.25) !important;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.main-menu ul li.header-cta-item a.header-btn-cta:hover {
    background-color: #266a91 !important;
    border-color: #266a91 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 16px rgba(52, 129, 173, 0.35) !important;
}

.main-menu ul li.header-cta-item a.header-btn-cta::before,
.main-menu div > ul > li.header-cta-item:hover > a::before,
.main-menu ul > li.header-cta-item > a.active::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* ========================================================
   MOBILE HEADER: SOCIAL ICONS AFARA DIN MENIUL HAMBURGER
   ======================================================== */

/* Ascunde elementele social din interiorul dropdown-ului hamburger */
.mean-container .mean-nav ul li.social-nav-item,
.mean-nav .social-nav-item {
    display: none !important;
}

/* Coloana si iconitele social afisate in bara de antet pe mobil/tableta */
.mobile-header-social-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mobile-header-social {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-right: 50px; /* spatiu pentru butonul hamburger aflat la right: 0 */
}

.mobile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #3481ad !important;
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-social-link:hover,
.mobile-social-link:active {
    color: #205c80 !important;
    transform: scale(1.15);
}

@media (max-width: 575px) {
    .mobile-header-social {
        gap: 12px;
        margin-right: 42px;
    }
    .mobile-social-link {
        font-size: 16px;
        width: 24px;
        height: 24px;
    }
}

/* Eliminare linia orizontala defectuoasa din meniul mobil si evidentiere curata a sectiunii active */
.mean-container .mean-nav ul li a::before,
.mean-container .mean-nav ul li a::after,
.mean-container .mean-nav ul li a.active::before,
.mean-container .mean-nav ul li a.active::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

.mean-container .mean-nav ul li a.active {
    color: #3481ad !important;
    background-color: rgba(52, 129, 173, 0.15) !important;
    border-left: 4px solid #3481ad !important;
    padding-left: calc(5% - 4px) !important;
    font-weight: 700 !important;
}

/* Container breathing room and horizontal spacing */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Studii și formare profesională */
.education-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.education-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    border-color: rgba(52, 129, 173, 0.3);
}

.education-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.education-card-title i {
    color: #3481ad;
    font-size: 20px;
}

.education-intro-text {
    font-size: 15.5px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

.education-custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.education-custom-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.education-custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #3481ad;
}

.education-item-title {
    color: #0f172a;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 4px;
}

.education-desc {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 3px;
}

.education-inst {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .education-card {
        padding: 26px 20px;
    }
    .education-card-title {
        font-size: 19px;
    }
}

/* Tarife - Prețuri sub fiecare categorie și egalizare înălțime cu poza */
.progess-wrapper .bar-title h4 {
    color: #3481ad;
    font-weight: 500;
    font-size: 20px !important;
    line-height: 1.35;
    margin-bottom: 6px;
}

.tarife-price {
    color: #6e7797;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.tarife-price span {
    font-size: 13.5px;
    margin-top: 2px;
    color: #7b85a2;
}

.tarife-note {
    font-size: 12.5px;
    font-style: italic;
    color: #7b85a2;
    line-height: 1.4;
    margin-top: 6px;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .tarife-row {
        display: flex;
        align-items: center;
    }

    .tarife-col-img {
        display: flex;
        justify-content: flex-end;
        padding-right: 25px;
    }

    .tarife-col-img .skill-left {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 0;
        margin-bottom: 0;
    }

    .tarife-col-img .skill-left img {
        height: 500px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        border: 12px solid #fff;
        box-shadow: 0px 16px 32px 0px rgba(167, 178, 219, 0.3);
        display: block;
    }

    .tarife-col-text .progess-wrapper {
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 6px 0 6px 15px;
        margin-bottom: 0;
    }

    .tarife-col-text .progess-wrapper .single-skill {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .tarife-col-img .skill-left {
        text-align: center;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .tarife-col-img .skill-left img {
        max-height: 420px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        border: 10px solid #fff;
        box-shadow: 0px 14px 28px 0px rgba(167, 178, 219, 0.25);
        display: inline-block;
    }

    .tarife-col-text .progess-wrapper {
        padding-top: 10px;
    }

    .tarife-col-text .progess-wrapper .single-skill {
        margin-bottom: 26px;
    }

    .tarife-col-text .progess-wrapper .single-skill:last-child {
        margin-bottom: 0;
    }
}

/* ========================================================
   SECTIUNEA SERVICII: DIALOG MODAL (PC) & ACORDEON (MOBIL)
   ======================================================== */

/* Acordeon / Drawer pentru mobil (< 768px) */
.service-mobile-drawer {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
    text-align: left;
}

@media (max-width: 767px) {
    .service-mobile-drawer {
        display: block;
    }

    .services-body.is-open .service-mobile-drawer {
        max-height: 1200px;
        opacity: 1;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px dashed rgba(52, 129, 173, 0.3);
    }
}



.service-drawer-action {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(52, 129, 173, 0.25);
    text-align: center;
}

/* Tipografie detalii serviciu (Mobile & Desktop) */
.service-detail-content,
.service-modal-body {
    color: #1e293b;
}

.service-detail-content p,
.service-modal-body p {
    font-size: 15px;
    line-height: 1.65;
    color: #1e293b;
    margin-bottom: 16px;
}

.service-topics-header {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 20px;
    margin-bottom: 12px;
}

.service-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-checklist li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #1e293b;
}

.service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 0;
    color: #1e293b;
    font-weight: 700;
    font-size: 15px;
}

.service-highlight-note {
    background: #f0f7fb;
    border-left: 4px solid #3481ad;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    margin-top: 18px;
    margin-bottom: 8px;
}

/* Dialog Modal pentru Desktop (>= 768px) */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.service-modal.is-active {
    display: flex;
}

.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: modalFadeIn 0.25s ease-out;
}

.service-modal-dialog {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 740px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-header {
    padding: 24px 30px 20px 30px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    background: #ffffff;
}

.service-modal-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(52, 129, 173, 0.12);
    color: #3481ad;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-modal-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    padding-right: 40px;
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.service-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.service-modal-body {
    padding: 26px 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    text-align: left;
}

.service-modal-footer {
    padding: 16px 30px 20px 30px;
    border-top: 1px solid #eef2f6;
    background: #fcfdfe;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.service-modal-btn {
    padding: 11px 22px !important;
    font-size: 15px !important;
    border-radius: 9px !important;
}

.service-modal-btn-secondary {
    padding: 11px 20px !important;
    border-radius: 9px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.service-modal-btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.modal-open {
    overflow: hidden !important;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================================
   HERO SLIDER: DESIGN 2 COLOANE PENTRU TOATE ECRANELE
   (LAPTOP MACBOOK AIR, DESKTOP, TABLETA, MOBIL)
   ======================================================== */

.quote-top-wrapper {
    background-color: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    position: relative;
    z-index: 2;
}

.quote-top-wrapper p {
    color: #3481ad !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    margin-bottom: 0 !important;
    padding: 14px 15px !important;
}

.single-slider {
    min-height: auto !important;
    padding-top: 60px !important;
    padding-bottom: 70px !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    overflow: hidden;
}

.slider-content {
    padding: 20px 0;
    text-align: left;
}

.slider-content h2 {
    font-size: 46px !important;
    line-height: 1.18 !important;
    color: #000a2d !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.slider-content p {
    font-size: 18px !important;
    line-height: 1.65 !important;
    color: #556080 !important;
    margin-bottom: 32px !important;
    max-width: 580px;
}

.slider-thumb {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    text-align: center;
    display: block !important;
}

.slider-thumb img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(52, 129, 173, 0.18);
    display: inline-block;
}

/* Laptopuri (inclusiv MacBook Air 1200px - 1440px) */
@media (min-width: 992px) and (max-width: 1440px) {
    .single-slider {
        padding-top: 50px !important;
        padding-bottom: 60px !important;
    }

    .slider-content h2 {
        font-size: 38px !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
    }

    .slider-content p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 26px !important;
        max-width: 520px;
    }

    .slider-thumb img {
        max-width: 320px;
        border-radius: 20px;
    }
}

/* Tablete și ecrane medii (768px - 991px) */
@media (max-width: 991px) {
    .single-slider {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }

    .slider-content {
        text-align: center;
        padding-top: 20px !important;
        padding-bottom: 25px !important;
    }

    .slider-content h2 {
        font-size: 34px !important;
    }

    .slider-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }

    .slider-btn {
        display: flex;
        justify-content: center;
    }

    .slider-thumb {
        margin-top: 15px !important;
    }

    .slider-thumb img {
        max-width: 300px;
    }
}

/* Telefoane (< 768px) */
@media (max-width: 767px) {
    .quote-top-wrapper p {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }

    .single-slider {
        padding-top: 25px !important;
        padding-bottom: 35px !important;
    }

    .slider-content {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .slider-content h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
    }

    .slider-content p {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }

    .slider-thumb {
        margin: 15px auto 10px auto !important;
    }

    .slider-thumb img {
        max-width: 250px;
        border-radius: 16px;
    }
}

/* ========================================================
   SECTIUNEA PSIHOEDUCATIE: CARDURI ECHILIBRATE
   ======================================================== */

.news-area .row {
    display: flex;
    flex-wrap: wrap;
}

.newsfeed-left {
    height: calc(100% - 30px);
}

.newsfeed-wrapp {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsfeed-wrapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(52, 129, 173, 0.12);
}

.newsfeed-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.newsfeed-content h3 {
    min-height: 56px;
}

.newsfeed-content .read-more {
    margin-top: auto;
    padding-top: 15px;
}

/* ========================================================
   FOOTER MODERN & REFINAT
   ======================================================== */

.footer-area {
    background: #0f172a !important;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #3481ad;
}

.footer-cabinet-name {
    color: #e2e8f0;
    font-size: 15.5px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer-copsi-mention {
    font-size: 13.5px;
    line-height: 1.5;
    color: #94a3b8;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-copsi-mention i {
    color: #3481ad;
    margin-top: 3px;
}

.footer-copsi-mention strong {
    color: #cbd5e1;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background: #3481ad;
    color: #ffffff;
    transform: translateY(-2px);
}

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

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

.footer-quick-links a {
    color: #94a3b8;
    font-size: 14.5px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-quick-links a i {
    font-size: 11px;
    color: #3481ad;
}

.footer-quick-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #94a3b8;
}

.footer-contact-list li i {
    color: #3481ad;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #3481ad;
    text-decoration: underline;
}

.copyright_area {
    background: #090e1a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    font-size: 13.5px;
    color: #64748b;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: #475569;
}





