/* TOC */
.toc {
 padding: 15px;
 margin: 0;
 border-bottom: 1px solid #ddd;
}

.toc-title {
 margin-bottom: 10px;
 font-weight: 600;
}

.toc ol {
 display: flex;
 gap: 20px;
 list-style: none;
 padding: 0;
 margin: 0;
}

.toc a {
 line-height: 1.5;
 color: #1E293B;
 font-weight: 600;
 text-decoration: none;
}

.toc a:hover {
 text-decoration: underline;
}

/* DOWNLOAD */
.download-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.download-button {
    display: inline-block;
    background: #bd162d;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #bd162d;
	color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.download-button i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .download-section {
        margin: 20px -15px;
        border-radius: 0;
    }
    
    .download-button {
        padding: 12px 24px;
        font-size: 0.9em;
    }
}

/* CTA */
.cta-container {
    text-align: center;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text, .cta-subtitle {
    width: 100%;
    text-align: center;
	line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 25px;
}

.container {
    text-align: left;  /* Asigurăm că restul conținutului este aliniat la stânga */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.cta-phone {
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    padding: 15px;
    display: inline-block;
    border: 2px solid #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-phone:hover {
    background: #ffffff;
    color: #1E293B;
    transform: scale(1.05);
}

.cta-text {
    font-size: 1.5em;
    margin: 30px 0;  /* Mai mult spațiu deasupra și dedesubt */
    padding: 0 20px; /* Padding lateral pentru text */
}

.cta-subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 15px;
}

.service-image,
.procedure-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.procedure-step {
    margin: 30px 0;
}

.procedure-step strong {
    font-size: 1.2em;
    color: #1E293B;
    display: block;
    margin-bottom: 10px;
}

.important-note {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .cta-phone {
        font-size: 1.5em;
        padding: 10px 20px;
    }
    
    .cta-text {
        font-size: 1.2em;
    }
    
    .cta-subtitle {
        font-size: 1em;
    }
}

/* Sections */
.section-white {
 padding: 10px 0;
@media (min-width: 768px) {	
 margin-top:-80px;
}
}

.section-grey {
 background: #f0f0f0;
 padding: 5px 20px;
}

.section-color {
 background: #1E293B;
 color: #fafafa !important;
 padding: 5px 20px;
}

/* Headings */
.section-grey h2,
.section-grey h3,
.section-grey h4 {
 color: #1E293B;
 margin: 15px 0;
}

.section-color h2,
.section-color h3,
.section-color h4 {
 color: #ffffff!important;
 margin: 15px 0;
}

/* Mobile */
@media (max-width: 768px) {
 .toc ol {
   flex-direction: column;
   gap: 10px;
 }

 .section-white h2,
 .section-white h3,
 .section-white h4,
 .section-white h5,
 .section-white h6 {
   text-align: center;
   background: #1E293B;
   color: #fafafa !important;
   padding: 10px;
   margin: 15px -15px;
 }

 .section-grey {
   text-align: center;
   background: #f0f0f0;
   padding: 10px;
   margin: -15px;
 }

 .section-grey h2,
 .section-grey h3,
 .section-grey h4 {
   text-align: center;
   background: #1E293B;
   color: #fafafa !important;
   padding: 10px;
   margin: 15px 5px;
 }

 .section-color {
   text-align: center;
   background: #1E293B;
   color: #fafafa !important;
   padding: 10px;
   margin: -15px;
 }

 .section-color h2,
 .section-color h3,
 .section-color h4 {
   text-align: center;
   background: #ffffff;
   color: #1E293B !important;
   padding: 10px;
   margin: 15px;
 }
}	
	
/* cercuri */


.section-stats .progress-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.section-stats .progress-container {
    width: 200px;
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section-stats {
        padding: 3px;
		margin-top: -25px;
        margin-right: -15px;
        margin-bottom: 50px!important;    /* Singura margine pozitivă */
        margin-left: -15px;
    }
    
    .section-stats .progress-row {
        display: inline-flex;  /* Schimbăm la inline-flex */
        flex-direction: row;   /* Menține direcția pe rând */
        gap: 8px;             /* Spațiu mai mic între elemente */
        justify-content: center;
        width: 100%;          /* Asigură că ocupă toată lățimea */
        overflow-x: auto;     /* Permite scroll orizontal dacă e nevoie */
        padding: 10px 0;      /* Padding pentru scroll */
        -webkit-overflow-scrolling: touch; /* Smooth scroll pe iOS */
    }
    
    .section-stats .progress-container {
        width: 120px!important;         /* Dimensiune mai mică pe mobil */
        flex-shrink: 0;       /* Previne micșorarea elementelor */
        margin: 0 4px;        /* Margini mici între elemente */
    }
    
    .section-stats .progress-text {
        font-size: 12px;
        line-height: 1.3;
        padding: 0 4px;
    }
}

/* Hide scrollbar but keep functionality */
.section-stats .progress-row::-webkit-scrollbar {
    display: none;
}

.section-stats .progress-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}