/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



* {
            /* margin: 0;*/
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            text-align: center;
        }


/* Stil pentru hamburger meniu orizontal (header) */
        header .mobile-menu {
            flex-direction: column;
            cursor: pointer;
            background: linear-gradient(135deg, #667eea, #764ba2) !important;
            border: none !important;
            border-radius: 8px !important;
            padding: 12px 16px !important;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
            transition: all 0.3s ease !important;
        }

        header .mobile-menu:hover {
            background: linear-gradient(135deg, #764ba2, #667eea) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
        }

        header .mobile-menu span {
            width: 25px !important;
            height: 3px !important;
            background: white !important;
            margin: 4px 0 !important;
            transition: 0.3s !important;
            border-radius: 2px !important;
        }

        /* Stiluri pentru meniul vertical */
        .page-layout {
            display: flex;
          /*  gap: 30px; */
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Container pentru meniul vertical - Desktop */
        .vertical-menu-container {
            width: 280px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
          
            position: sticky;
          margin-top: 220px;
            flex-shrink: 0;
          
 max-height: calc(100vh - 40px);
            
            
             max-height: calc(100vh - 40px); /* Se adaptează la înălțimea ecranului */
    display: flex;
    flex-direction: column;
    overflow: hidden;
        }

        /* Titlul meniului */
        .vertical-menu-title {
            background: linear-gradient(135deg, #4a90e2, #357abd);
            color: white;
            padding: 20px;
            font-size: 1.6rem;
            font-weight: bold;
            text-align: center;
            border-radius: 10px 10px 0 0;
            font-family: 'Baloo 2', sans-serif;
              flex-shrink: 0; /* Nu se micșorează */
               
        }

        /* Lista meniului vertical */
        .vertical-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            
             overflow-y: auto; /* Permite scroll vertical */
    overflow-x: hidden;
    flex: 1; /* Ocupă tot spațiul disponibil */
    
    /* Stilizare scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #4a90e2 #f0f0f0;
        }


.vertical-menu::-webkit-scrollbar {
    width: 8px;
}

.vertical-menu::-webkit-scrollbar-track {
    background: #f0f0f0;
   border-radius: 0 0 10px 0;
}

.vertical-menu::-webkit-scrollbar-thumb {
    background: #667eea; /* MOV */
    border-radius: 10px;
    transition: background 0.3s;
}

.vertical-menu::-webkit-scrollbar-thumb:hover {
    background: #764ba2; /* MOV ÎNCHIS */
}


.vertical-menu > li.active .vertical-submenu {
    max-height: 800px; /* Mărit pentru multe linkuri */
    overflow-y: auto;
      scrollbar-width: thin;
    scrollbar-color: #7a91bc #e0f2f1;
}

        /* Itemii meniului */
        .vertical-menu > li {
            border-bottom: 1px solid #f0f0f0;
            position: relative;
        }

        .vertical-menu > li:last-child {
            border-bottom: none;
        }

        /* Linkurile principale */
        .vertical-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-family: "Baloo 2", sans-serif;
    text-align: left; /* ADĂUGAT - aliniere la stânga */
}

.vertical-menu > li > a:hover {
    background: #f8f9fa;
    color: #4a90e2;
    /* ȘTERS: padding-left: 25px; - textul nu se mai mută */
}

        /* Indicator pentru submeniu */
        .vertical-menu > li > a[data-submenu="true"]::after {
        content: "▶"; 
            position: absolute;
            right: 20px;
            font-size: 0.8em;
          transition: transform 0.3s ease;
        }

        /* Rotește săgeata când submeniul este activ */
        .vertical-menu > li.active > a[data-submenu="true"]::after {
            transform: rotate(90deg);
        }

       /* Submeniul - MODIFICAT pentru a apărea la dreapta */
.vertical-submenu {
    list-style: none;
    background: #f8f9fa;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 280px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.15);
    border-radius: 0 10px 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-align: left;
    
    scrollbar-width: thin;
    scrollbar-color: #7a91bc #e0f2f1;
}

       /* Submeniul activ - apare la hover SAU la click */
.vertical-menu > li:hover > .vertical-submenu,
.vertical-menu > li.active > .vertical-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

        /* Linkurile din submenu */
        .vertical-submenu li a {
            display: block;
            padding: 12px 20px 12px 40px;
            color: #3c3c3c;
            text-decoration: none;
            font-size: 1.43rem;
           transition: all 0.3s ease;
            border-left: 3px solid transparent;
            font-family: "Baloo 2", sans-serif;
        }

        .vertical-submenu li a:hover {
            background: white;
            color: #4a90e2;
         /*   padding-left: 45px;*/
           border-left-color: #4a90e2;
        }

        /* Stiluri pentru icoane */
        .menu-icon {
            margin-right: 10px;
            font-size: 1.1em;
        }

        /* Wrapper pentru conținutul principal */
        .content-wrapper {
            flex: 1;
            min-width: 0;
        }

        /* Hamburger pentru meniul vertical - mobil */
        .vertical-mobile-toggle {
            display: none;
            position: relative;
            margin: 0 auto 20px auto;
            z-index: 100;
            background: #4a90e2;
            border: none;
            border-radius: 8px;
            padding: 12px 16px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
            transition: all 0.3s ease;
            width: fit-content;
        }

        .vertical-mobile-toggle:hover {
            background: #357abd;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
        }

        .vertical-mobile-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: white;
            margin: 4px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        /* Buton X pentru închidere meniu vertical */
        .vertical-close-btn {
            display: none;
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1001;
            background: #af257e;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
            transition: all 0.3s ease;
            align-items: center;
            justify-content: center;
        }

        .vertical-close-btn:hover {
            background: #e84118;
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
        }

        .vertical-close-btn span {
            color: white;
            font-size: 28px;
            font-weight: bold;
            line-height: 1;
        }

        .vertical-close-btn.show {
            display: flex;
        }

        /* Animație hamburger vertical când e activ - transform în X */
        .vertical-mobile-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .vertical-mobile-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .vertical-mobile-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

.menuascuns {
	display: none;
	font-size: 18px;
	    
   
   
    height: 100%;
    width: 100%;
   
}

.main_text {
	display: none;
	 width: 100%;
    
height: 100%;
}

        /* Responsive pentru mobile și tablete */
        @media (max-width: 1024px) {
            .page-layout {
                flex-direction: column;
                padding: 0 10px;
            }
            
            .twomain {
        
	width: 100%;
}

 .twomain ul li {
         
	width: 100%;
}

.twomain p {
         
	width: 100%;
}

 .menuascuns {display:inline;}
    .main_text {display:inline;}
    .first-row{display:none;} 
    
            /* Afișează butonul hamburger pe mobil */
            .vertical-mobile-toggle {
                display: none;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            /* Meniul vertical pe mobil */
            .vertical-menu-container {
                position: fixed;
                display: none;
                top: 0;
                right: -100%;
                width: 300px;
                max-width: 85%;
                height: 100vh;
                overflow-y: auto;
                z-index: 1000;
                transition: right 0.4s ease;
                border-radius: 0;
                box-shadow: -5px 0 25px rgba(0,0,0,0.2);
                
                
                   display: flex;
        flex-direction: column;
        overflow: hidden;
            }

            /* Meniul vizibil pe mobil */
            .vertical-menu-container.mobile-active {
                right: 0;
            }

            /* Overlay pentru fundal */
            .menu-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
                opacity: 0;
                transition: opacity 0.4s ease;
            }

            .menu-overlay.active {
                display: block;
                opacity: 1;
            }

            /* Titlu meniu mobil */
            .vertical-menu-title {
                border-radius: 0;
                position: sticky;
                top: 0;
                z-index: 10;
                
                 flex-shrink: 0;
            }


 /* IMPORTANT - Lista meniului să aibă scroll */
    .vertical-menu {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }

            /* Submeniu optimizat pentru mobile */
            .vertical-submenu {
                background: #e3f2fd;
            }

            .vertical-submenu li a {
                padding: 16px 20px 16px 40px;
                font-size: 1rem;
                border-left: 4px solid transparent;
                min-height: 50px;
                display: flex;
                align-items: center;
            }

            .vertical-submenu li a:hover {
                padding-left: 45px;
                background: #bbdefb;
            }

            /* Mărește zona de tap pentru mobile */
            .vertical-menu > li > a {
                padding: 18px 20px;
                font-size: 1.05rem;
            }

            .vertical-menu > li > a[data-submenu="true"]::after {
                font-size: 1em;
                padding: 5px;
            }

            /* Spațiere mai mare pentru mobile */
            .vertical-menu > li {
                border-bottom: 2px solid #f0f0f0;
            }

            /* Evidențiază itemul activ */
            .vertical-menu > li.active > a {
                background: #e3f2fd;
                color: #4a90e2;
            }

            /* Animație pentru submeniu pe mobile */
            .vertical-menu > li.active .vertical-submenu {
                animation: slideDown 0.3s ease;
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-10px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .content-wrapper {
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .vertical-mobile-toggle {
                margin: 0 auto 15px auto;
                padding: 10px 14px;
            }

            .vertical-mobile-toggle span {
                width: 22px;
            }

            .vertical-menu-container {
                width: 280px;
            }

            .vertical-menu-title {
                font-size: 1.2rem;
                padding: 18px;
            }

            /* ASCUNDE COMPLET submeniurile pe mobil */
            .nav-menu .submenu {
                display: none !important;
                opacity: 0 !important;
                visibility: hidden !important;
                max-height: 0 !important;
            }

            /* Afișează doar când e activ */
            .nav-menu li.submenu-active > .submenu {
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
                max-height: 1000px !important;
            }

            /* ASCUNDE orice pseudo-element ::after din ultimul item al submeniului */
            .submenu li:last-child::after,
            .submenu li:last-child a::after {
                display: none !important;
                content: none !important;
            }
        }



























.farabold {
margin-left: 7%;
}

.la-stanga {
    margin-left: 14%;
}
.indexnou {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding:30px 30px 30px 40px;
  -webkit-box-shadow: 2px 5px 9px 0px #b4b6b8, 5px 5px 9px 5px rgba(178,178,116,0); 
box-shadow: 0px 2px 9px 2px #b4b6b8, 5px 5px 9px 5px rgba(178,178,116,0);
}/* stanga jos dreapta sus  */


.indexnou a {

  line-height: 157.5%;
  font-family: Roboto, Verdana, PT Serif, Helvetica, Dekko, /*'Open Sans', light, */ Georgia, sans-serif;
  text-decoration: none;
  color: #000;
}

.citat-orange {
clear:both;
padding: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 2px solid #b87900;
font-family: Georgia;
font-size: 120%;
color: #b87900;
}


.altaclasa2 {
text-decoration: none;
background-color: #40a9e2;
border-radius: 7px;
color: #fff;
margin-left: 15px;
		margin-right: 15px;
}


.altaclasa2:hover{
background-color:#8281f4;
}

.flat-button {
    text-decoration: none;
  position: relative;
  padding: 20px;
  background: #E74C3C;
  margin: 0 auto;
  margin-top: 40px;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition: color .3s;
  /* Typo */
  line-height: 60px;
  text-align: center;
  color: #fff;
   font-family: 'Montserrat', sans-serif;
}

 .titlu-2 {
 text-align: center;
  padding-bottom: 30px;  /* 40px / 700px */
  font-weight: bold;
  color: #e1795c;/*#00adef;/*#B65109;/*#e69a17;/*#8787c1;#3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 167.5%;/*177.5%;*/
  letter-spacing: 1px;
  font-family: 'Crimson Pro', serif;
  padding-top: 30px;
/* margin-left: 16.95605%;/*110px;*/
  
  /*font-variant: small-caps;*/
  
}
 
.indexnou a:hover {
  text-decoration: underline;
  color: #696762;
}

.indexnou ul li a:hover {
  text-decoration: underline;
  color: #696762;
}

.column {
  float: left;
  width: 20%;
  padding: 10px;
  /* Should be removed. Only for demonstration */
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.cuvant-orange-fara-background {
color: #ff6600;
font-family: Verdana, Arial, Tahoma, sans-serif;
font-size: 120%;
font-weight: bold;
padding: 2px;
}


 .noubutton001 {
            background:#fff;
	color:#f7961f;
	
    border: 2px solid #f7961f;
    border-radius: 5em;
    box-sizing: border-box;
    cursor: pointer;
   font-size: 130%;
    
   font-family: 'DynaPuff', cursive;
    line-height: 1;
    
    padding: 10px 19px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    display:inline-block;
    outline:none;
    position:relative;
    top:0;
  
            
        }
        
        .noubutton001:hover{
	background:#fff;
	color: #de9b48;
	border: 2px solid #de9b48;
}
      .noubutton001:active, .noubutton001:focus{
	background:#fff;	
	cursor: auto;
}   
       
       
       .inapoi101  {
  
  width: 40%;
  margin-left: 25px;
  float: left;
}

.inapoi101 a {
  
  line-height: 157.5%;
 font-family: 'Open Sans', sans-serif;
font-size: 20px;
  text-decoration: none;
  
}


.inapoi101 a:hover {
 
}

.inapoi101 ul li a:hover {
  
}


.inainte101 {
  border-left: 0px solid #ddd;
  width: 40%;
  margin-right: 25px;
  float: right;
  text-align: right;
}

.inainte101 a {
  
  line-height: 157.5%;
 font-family: 'Open Sans', sans-serif;
font-size: 20px;
  text-decoration: none;
  
}


.inainte101 a:hover {
 
 
}

.inainte101 ul li a:hover {
  
  
}











       
 .button002 {
            width: 10px;
            height: 10px;
            color: red;
        }
           .noubutton003 {
            width: 10px;
            height: 10px;
            color: #99c231;
           
            font-size: 125%;
           font-family: 'Josefin Sans', sans-serif;
            
        }

          .noubutton006 {
            background:#fff;
	color:#07aadb;
	
    border: 2px solid #07aadb;
    border-radius: 5em;
    box-sizing: border-box;
    cursor: pointer;
   font-size: 100%;
    
   font-family: 'DynaPuff', cursive;
    line-height: 1;
    
    padding: 10px 19px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    display:inline-block;
    outline:none;
    position:relative;
    top:0;
  
            
        }
        
        .noubutton006:hover{
	background:#ebfaff;
	color: #07aadb;
	border: 2px solid #07aadb;
}
      .noubutton006:active, .noubutton001:focus{
	background:#fff;	
	cursor: auto;
}   

    .noubutton007 {
            background:#509abd;
	color:#fff;
	
  /*  border: 2px solid #07aadb;*/
    border-radius: 5em;
    box-sizing: border-box;
    cursor: pointer;
   font-size: 100%;
    font-weight: bold;
 /*  font-family: 'DynaPuff', cursive;*/
    line-height: 1;
    
    padding: 10px 19px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    display:inline-block;
    outline:none;
    position:relative;
    top:0;
  
            
        }
        
        .noubutton007:hover{
	background:#006788;
	color: #fff;
/*	border: 2px solid #07aadb;*/
}
      .noubutton007:active, .noubutton001:focus{
	background:#006788;	
	cursor: auto;
}   




















  .button001, .button009, .button2 {
            background:#ff8b3e;
	color:#fff;
	box-shadow: 0 3px 0 #c16515;
    border: 2px solid transparent;
    border-radius: 20em;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 400;
    font-family: Dekko;
    line-height: 1;
    margin: 18px;
    padding: 10px 19px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    display:inline-block;
    outline:none;
    position:relative;
    top:0;
    text-shadow:0 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
     transition: all 0.2s ease-in-out 0s;
            
        }
        
        .button001:hover{
	background:#ff5b3e;	
}
      .button001:active, .button001:focus{
	background:#ffbb3e;	
	cursor: auto;
}  

.all2 {
  text-decoration: none;
padding: 1%;/*10px;*/
  font-size: 90%;
  font-style: oblique;
  font-weight: bold;
  color: #8787c1;
  margin-left: 6.1671292013567%;/*40px;*/
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
} 

.all2:hover {
  color: #5e58c4;
}

.all3 {
  background-color: #2196F3;
    color: white;
    padding: 12px 25px;
    display: inline-block;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
} 

.all3:hover {
  background-color: #1976D2;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);	
}

.indiciu-intrebari2 {
    text-decoration: none;
    color: #fff;
    background-color: #2196F3;
    padding: 5px;
    border-radius: 7px;
}


.indiciu-intrebari2:hover {
    text-decoration: none;
   background-color: #6483de;
}


.desen .nouexp {
               background-color: #2196F3;
    color: white;
    padding: 12px 25px;
    display: inline-block;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
            
        }
        
        .nouexp:hover{
	background-color: #1976D2;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
    

.desen .explicatie {
       background-color: #ff9800;
    color: white;
    padding: 12px 25px;
    display: inline-block;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

.cuvant-violet {
color: #920f6e;
font-family: Verdana, Arial, Tahoma, sans-serif;

background-color: #fff9ed;

}

.cuvant-verde {
color: #808000;
font-size: 100%;
font-family: Verdana, Arial, Tahoma, sans-serif;/*Raleway, Coming Soon, */
background-color: #f9f9d2;
padding: 2px;
}

.ninanana101 {
  width: 350px;
  background-color: #e1f2f9;
  border-radius: 5px;
  margin-left: 20px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  font-size: 90%;
 font-weight: bold;

}
.subliniat101 {
  padding-bottom: 10px; 
  color:#515657;
}

.linie-gri101 {
background-color: #c3ced4;
width: 100%;
height: 1px;
}

.ninanana101 a {
    padding-top: 10px; 
    padding-bottom: 5px;
    color: #515657;
    font-weight: bold;
    text-decoration: none;
}

.sup-sub-style {font-size: 80%;
}

sub {
	font-size: smaller;
	vertical-align: sub;
}
sup {
	font-size: smaller;
	vertical-align: super;
}

   .buttonexemple {
	background-color:#ffb469;	
	padding: 7px;
	letter-spacing: 1px;
	border-radius: 20em;
	
}  
       
       .buttonexemple:hover{
	background-color:#fc9f35;	
}

.paragraf-fara-spatiu101 p {
   padding-bottom:0;  /* 20px / 2.857143%;  700px */
 padding-top: 0;  /* 20px / 700px */
  margin-bottom: 0;
  margin-top: 0;
  font-family: 'Open Sans', sans-serif; }
  
  
  .allta104 {
  text-decoration: none;

  font-weight: bold;

  
  
  
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
  
} 

.noulcuprins102 {
  
 
  font-size: 90%;
  
  
  
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  
 
margin-bottom: 20px;
}


.noulcuprins102 a {
    padding-top: 10px; 
    padding-bottom: 5px;
    
    
    text-decoration: none;
}




        #center001 {
            text-align: center;
        }

.titlu0 {
 text-align: center;
  padding-bottom: 10px;  /* 40px / 700px */
  font-weight: bold;
  color: #5b9bd5;/*#5a5a5a;/*#3f3f3f;/*#e69a17;#8787c1; #3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 187.5%;/*187.5%;*/
  letter-spacing: 2px;
  font-family: 'Varela Round', sans-serif;
   /*text-shadow: 1px 1px 1px  #e69a17;*/
  padding-top: 10px;/*25px;*/
  /*margin-left: 16.95605%;/*110px;*/
  line-height: 150%;
}

 .titlu-1 {
 text-align: center;
  padding: 10px;  /* 40px / 700px */
  font-weight: bold;
  color: #337fc5;/*#00adef;/*#B65109;/*#e69a17;/*#8787c1;#3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 150.5%;/*177.5%;*/
  background-color: #f2f8ff;
 border-radius: 20px;
  letter-spacing: 1px;
  font-family: 'Crimson Pro', serif;
 
/* margin-left: 16.95605%;/*110px;*/
  
  /*font-variant: small-caps;*/
  
}

.titlu-cuprins {
  padding-top: 7.0835648%;/*1.7708192+4=20px;*/
  text-align: center;
  /*text-transform: uppercase;*/
 /*font-weight: bold;*/
  font-size: 120%;
  /*font-variant: small-caps;*/
  padding-bottom:7.0835648%;/*1.7708192+4=20px;*/
  letter-spacing:1px;
  text-decoration: none;
  color: #e84716;/*#ff6440;/*#5b9bd5;/*orange; /*#8787C1;*/
  font-size: 137.5%;/*22px; /* 17px/19px */
  font-family:Dekko, Caveat, Helvetica, 'Open Sans', regular, Georgia, sans-serif;*/
  border-bottom: 1px solid #ff6440; 
  font-weight: bold;
  /* font-family: 'Open Sans', regular,Helvetica,'Arial', 'Georgia',sans-serif;*/
}

#cuprins10 {display: none;}


.nanini-2 a {
    padding-top: 10px; 
    padding-bottom: 5px;
    color: #515657;
    font-weight: bold;
    text-decoration: none;
}

.nanini-2 {
  width: 450px;
  background-color: #e1f2f9;
  border-radius: 5px;
  margin-left: 20px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  font-size: 80%;
 font-weight: bold;

}
.subliniat2 {
  padding-bottom: 10px; 
  color:#515657;
   font-weight: bold;
}

.linie-gri3 {
background-color: #c3ced4;
width: 100%;
height: 1px;
}



.simbol1 {
margin-left: 30px;
margin-bottom: 3px;    
font-size: 25px;
font-weight: 900;
color: #d5c55b;
}

.intrebari-si-raspunsuri {
    text-align: left;
  border-bottom:0 solid  #EDD;
   color: #000000;/*#262626;*/
  text-decoration: none;
  font-size: 100%;/*16px;*/
  
  font-family: Roboto, Verdana, PT Serif, Helvetica, Dekko, /*'Open Sans', light, */ Georgia, sans-serif;
  
  line-height: 130%;/*30px;*/ 
}


.linie-gri {
background-color: #c3ced4;
width: 100%;
height: 1px;
}

.cuvant-orange {
color: #ff6600;
font-family: Verdana, Arial, Tahoma, sans-serif;
font-size: 100%;
background-color: #fff9ed;
padding: 2px;
}

.newindex {
 background-color: #e1f2f9;
  border-radius: 5px;
  margin-left: 20px;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  font-size: 90%;
 
margin-bottom: 20px;
}

.newindex a {
 
    color: #515657;
    
    text-decoration: none;
}

.subliniat {
  padding-bottom: 10px; 
  color:#515657;
  font-weight: 700;
  font-size: 110%;
}


.all {
  text-decoration: none;
  border:   1px solid #8787c1;
  box-shadow: inset 0px 0px  3px 3px #f7f7f4;
  border-radius: 4px;
color: #e69a17;
padding: 1%;/*10px;*/
  background-color: #ffffff;
  font-weight: bold;
  margin-left: 6.1671292013567%;/*40px;*/
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
} 

.all1 {
  margin-top: 3.08356460061%;/*20px;*/
 
}

.all:hover {
  color: #8787c1;
}


.ullista {
    margin-left: 50px;
}
.lilista {
    list-style-type: square;
    font-size: 110%;
     color: #636261;
  font-family: 'Open Sans', sans-serif;
  line-height: 157.5%;
}

.main h1 {
  text-align: center;

}

.lista-numar .ol-container .lista-numar-spatiu {
  list-style-type: decimal;
margin-left: 6.857143%;
  /*color: #0099ff;*/
   margin-right: 6.857143%;
  font-family: /*Dekko, /*'Open Sans', light,*/ Helvetica, Georgia, sans-serif;
  font-weight: bold;
  letter-spacing: 1px; /*0.2px;*/
  line-height: 187.5%;
   padding-bottom: 0.857143%;  /* 10px / 700px */
   padding-top: 0.857143%;  /* 10px / 700px */
}

.lista-numar .ol-container .lista-numar-spatiu ol li {
  list-style-type: lower-alpha;
  list-style-position: outside;
  color: #E69A17;
}

.lista-numar .ol-container .lista-numar-spatiu .div-ol-subcontainerol .ol-subcontainer li p {
  margin-left: -30.835646%;/*-200px;*/
}

.lista-numar .lista-numar-spatiu ol {
  color: #5b9bd5;/*#262626;*/
}

        /* Header styles - made wider with white background */
        header {
            background: white;
            color: #333;
            padding: 3rem 0;
            margin-bottom: 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

         nav {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: auto; /* Increased from 1400px; Increased from 1200px */
            margin: 0 auto;
            padding: 0 2rem;
            gap: 3rem;
        }

        .logo {
            position: absolute;
            left: 17.5rem;
        }

        .logo {
            position: absolute;
            left: 17.5rem;
            font-size: 2rem;
            font-weight: bold;
            text-decoration: none;
            color: #4a90e2;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 1rem;
            margin:0;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu li a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            text-align: center;
            line-height: 1.2;
            display: block;
            padding: 0.5rem 0;
            font-size: 23px;
             padding-left: 5px;
            padding-right: 5px;
            font-family: "Baloo 2", sans-serif;
        }

        .nav-menu li a:hover {
            color: #fff;
            background-color: #4a90e2;
           
            border-radius: 8px;
        }

        /* Multi-word menu items on two lines */
        .nav-menu li a[data-multiword="true"] {
            white-space: pre-line;
        }

        /* Submenu indicator arrow */
        .nav-menu li a[data-submenu="true"]:after {
            content: " +";
            font-size: 0.8em;
            margin-left: 0.2rem;
        }

        /* Submenu styles */
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 200px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border-radius: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            padding: 0.5rem 0;
            list-style: none;
            font-family: "Baloo 2", sans-serif;
        }

        .nav-menu li:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            
        }

        .submenu li {
            width: 100%;
        }

        .submenu li a {
            padding: 0.7rem 1.5rem;
            white-space: nowrap;
            color: #333;
            border-radius: 0;
            text-align: left;
        }

        .submenu li a:hover {
            background: #f8f9fa;
            color: #4a90e2;
            color: #fff;
            background-color: #4a90e2;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 3px 0;
            transition: 0.3s;
        }
       
       

        /* Math symbols */
        .math-symbol {
            position: absolute;
            font-size: 3rem;
            opacity: 1;
            pointer-events: none;
            animation: floatSymbol 15s ease-in-out infinite;
        }

        .math-symbol:nth-child(1) {
            top: 20%;
            left: 10%;
            color: #4a90e2;
            animation-delay: 0s;
            font-size: 4rem;
        }

        .math-symbol:nth-child(2) {
            top: 60%;
            right: 15%;
            color: rgba(74,144,226,0.3);
            animation-delay: -2s;
            font-size: 3.5rem;
        }

        .math-symbol:nth-child(3) {
            top: 30%;
            right: 25%;
            color: #667eea;
            animation-delay: -4s;
            font-size: 2.5rem;
        }

        .math-symbol:nth-child(4) {
            bottom: 25%;
            left: 20%;
            color: rgba(102,126,234,0.25);
            animation-delay: -6s;
            font-size: 3rem;
        }

        .math-symbol:nth-child(5) {
            top: 15%;
            right: 8%;
            color: rgba(74,144,226,0.2);
            animation-delay: -8s;
            font-size: 2.8rem;
        }

        .math-symbol:nth-child(6) {
            bottom: 20%;
            right: 35%;
            color: #4a90e2;
            animation-delay: -10s;
            font-size: 2.2rem;
        }

        .math-symbol:nth-child(7) {
            top: 45%;
            left: 8%;
            color: rgba(102,126,234,0.3);
            animation-delay: -12s;
            font-size: 3.8rem;
        }

        .math-symbol:nth-child(8) {
            bottom: 40%;
            right: 12%;
            color: rgba(74,144,226,0.15);
            animation-delay: -14s;
            font-size: 2.3rem;
        }

        @keyframes floatSymbol {
            0%, 100% {
                transform: translateY(0px) translateX(0px) rotate(0deg);
                opacity: 0.5;
            }
            25% {
                transform: translateY(-20px) translateX(10px) rotate(5deg);
                opacity: 0.45;
            }
            50% {
                transform: translateY(-10px) translateX(-5px) rotate(-3deg);
                opacity: 0.41;
            }
            75% {
                transform: translateY(-15px) translateX(8px) rotate(2deg);
                opacity: 0.38;
            }
        }

.linkulnou {
color: #4a90e2;
font-size: 24px;
font-weight: bold;
text-decoration: none;
float: right;
font-family: "Baloo 2", sans-serif;
 }


.linkulnou:hover{
color: #357abd;

 }

.linkulnou0 {
color: #4a90e2;
font-size: 24px;
font-weight: bold;
text-decoration: none;
float: left;
font-family: "Baloo 2", sans-serif;
 }


.linkulnou0:hover{
color: #357abd;

 }

       
      

        .cta-button {
            display: inline-block;
            background: #4a90e2; /* Changed from pink to blue */
            color: white;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
            font-family: "Baloo 2", sans-serif;
        }

        .cta-button:hover {
            background: #357abd; /* Darker blue on hover */
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
        }

        /* Features Section */
        .features {
            /* padding: 80px 0;*/
            background: #fff;
            position: relative;
            padding-bottom: 50px;
        }

        .container {
            max-width: 1400px; /* Increased to match header width */
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #21242c; /* Applied specific color */
            font-family: "Baloo 2", sans-serif;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .feature-card {
            background: white;
            /*padding: 2rem;*/
            border-radius: 15px;
            /* box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
            text-align: center;
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #333;
        }

        .feature-card p {
            color: #666;
            line-height: 1.8;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background: white;
            position: relative;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #21242c; /* Applied specific color */
            font-family: "Baloo 2", sans-serif;
        }

        .about-text p {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.8;
            font-family: "Baloo 2", sans-serif;
        }

        .about-image {
            text-align: center;
        }

        .about-image img {
            max-width: 100%;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }

        /* Stats Section */
        .stats {
            padding: 80px 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Same background as hero */
            color: white;
            position: relative;
        }

        .stats h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #21242c; /* Applied specific color */
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #ffd700;
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }


.titlu0 {
 text-align: center;
  padding-bottom: 10px;  /* 40px / 700px */
  font-weight: bold;
  color: #5b9bd5;/*#5a5a5a;/*#3f3f3f;/*#e69a17;#8787c1; #3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 187.5%;/*187.5%;*/
  letter-spacing: 2px;
  /*font-family: 'Varela Round', sans-serif;
   /*text-shadow: 1px 1px 1px  #e69a17;*/
    font-family: "Baloo 2", sans-serif;
  padding-top: 10px;/*25px;*/
  /*margin-left: 16.95605%;/*110px;*/
  line-height: 150%;
}
 
article h3 {
  text-align: center;
  padding-bottom: 10px;  /* 40px / 700px */
  font-weight: bold;
  color: #5b9bd5;/*#B65109;/*#e69a17;/*#8787c1;#3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 147.5%;
  letter-spacing: 1px;
  /*font-family: 'Varela Round', sans-serif;
  /*font-family: 'Open Sans', regular, Dekko, Caveat, Muli, Helvetica, 'Open Sans', regular, Georgia, sans-serif;
 text-shadow: 1px 1px 1px  #e69a17;*/
  font-family: "Baloo 2", sans-serif;
 line-height: 170%;
  /*margin-left: 16.95605%;/*110px;*/
  
  
   
}

.main article p {
  padding-bottom: 0.857143%;  /* 20px / 700px */
 padding-top: 0.857143%;  /* 20px / 700px */
  color: #636261;
  /*font-family: 'Open Sans', sans-serif;*/
   font-family: "Baloo 2", sans-serif;
  line-height: 157.5%;
  font-size: 20px;
}

.main article #frame {
  text-align: center;
}

.main {
  margin: 10px  auto  15px;
    max-width: 960px;
  text-align: justify;
   font-family: "Baloo 2", sans-serif;
   font-size: 20px;
}
 



.indexnou {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding:30px 30px 30px 40px;
  -webkit-box-shadow: 2px 5px 9px 0px #b4b6b8, 5px 5px 9px 5px rgba(178,178,116,0); 
box-shadow: 0px 2px 9px 2px #b4b6b8, 5px 5px 9px 5px rgba(178,178,116,0);
}/* stanga jos dreapta sus  */


.indexnou a {

  line-height: 157.5%;
  /*font-family: Roboto, Verdana, PT Serif, Helvetica, Dekko, /*'Open Sans', light,  Georgia, sans-serif;*/
   font-family: "Baloo 2", sans-serif;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  
}


.indexnou a:hover {
  
  border-bottom:0px solid #ffa600;
}

.indexnou ul li a:hover {
 
 border-bottom:0px solid #ffa600;
 
}


.indexnou ul li {
  list-style-type: none;
}






.galben  {

color: #ffa600;

}
.albastru  {

color: #5e62a9;

}
        /* Math Trainer Styles */
         .math-trainer {
            padding: 80px 0;
            /*  background: linear-gradient(135deg, #6d327c, #485da6, #00a1ba, #00bf98, #36c486);
               background: linear-gradient(135deg, #fff6c8, #c8ffda); */
            position: relative;
            margin-top: 150px;
            
              margin: 10px  auto  15px;
    max-width: 960px;
  text-align: justify;
        }
.allta {
  text-decoration: none;
color: #ff8b3e;
padding-left:20px;padding-top: 10px;padding-bottom: 10px; padding-right: 20px;
  font-size: 100%;
  font-style: oblique;
  font-weight: bold;
  margin-left: 6.1671292013567%;/*40px;*/
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
  background-color: #e3f2fd;
            border-left: 5px solid #2196F3;
            border-radius: 4px;
  
} 

.allta:hover {
  color: #ff5b3e;
  text-decoration: none;
}

.allta2 {
  text-decoration: none;
color: #636261;
padding-top: 10px;padding-bottom: 10px;
  font-size: 100%;
  font-style: oblique;
  font-weight: bold;
  padding-right: 10px;
  padding-left: 10px;
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
  background-color: #f0f6ff;
} 

.allta1 {
  text-decoration: none;
color: #ff8b3e;
padding-top: 10px;padding-bottom: 10px;
  font-size: 100%;
  font-style: oblique;
  font-weight: bold;
  
  font-family: Helvetica, Dekko;
  letter-spacing: 1px;
  
} 

.allta1:hover {
  color: #ff5b3e;
  text-decoration: none;
}

.linkto1 {
text-decoration: none;
color:#00adef;
font-weight: 500;
}
.subtitlu2 {
 color: #ff6600;
  font-size: 127.5%;
  letter-spacing: 1px;
  font-family:  Itim, Dekko, Courgette, Handlee, Caveat, Muli, Helvetica, 'Open Sans', regular, Georgia, sans-serif;
}

.linkto1:hover{
text-decoration: underline;
}


.linkto2 {
text-decoration: none;
color:#00adef;
font-weight: 500;
font-size: 100%;
}


.linkto2:hover{
text-decoration: underline;
}


.linkto3 {
text-decoration: none;
color:#0077A6;


}


.linkto3:hover {
    text-decoration: underline;
    text-underline-offset: 3px; /* distanța liniei față de text */
}
.math-trainer article h1 {
  text-align: center;
  padding-bottom: 2.714286%;  /* 40px / 700px */
  font-weight: bold;
  color: #3498db; /*#e84716;/*#5a5a5a;/*#3f3f3f;/*#e69a17;#8787c1; #3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 187.5%;/*187.5%;*/
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
   /*text-shadow: 1px 1px 1px  #e69a17;*/
  padding-top: 13.854456%;/*25px;*/
  /*margin-left: 16.95605%;/*110px;*/
  line-height: 150%;
  text-transform: none;
}

.math-trainer article p {
  padding-bottom: 0.857143%;  /* 20px / 700px */
 padding-top: 0.857143%;  /* 20px / 700px */
  color: #636261;
  font-family: 'Open Sans', sans-serif;
  line-height: 157.5%;
  font-size: 120%;
}

.cuvant-violet {
color: #920f6e;
font-family: Verdana, Arial, Tahoma, sans-serif;
font-size: 100%;
background-color: #fff9ed;
padding: 2px;
}

.math-trainer .subtitlu-negru {
color: #43434b;
}

.math-trainer article h2 {
  text-align: left;
  padding-bottom: 2.714286%;  /* 40px / 700px */
  
  color: #3498db;/*#00adef;/*#B65109;/*#e69a17;/*#8787c1;#3f3f3f;*/
  border-bottom: 0px solid #ddd;
  font-size: 177.5%;/*177.5%;*/
  letter-spacing: 1px;
  font-family:  /*Dekko, Courgette, Handlee, Caveat, Muli, */ Helvetica, 'Open Sans', regular, Georgia, sans-serif;
  /*text-shadow: 1px 1px 1px  #e69a17;*/
  
/* margin-left: 16.95605%;/*110px;*/
  line-height: 150%;
  /*font-variant: small-caps;*/
  /*font-style: italic;*/
}


.linie-orange {
background-color: #f6a933;
width: 65%;
height: 4px;
margin-top: -15px;
margin-bottom: 30px;

}

.subtitlu1 {
   text-align: left;
  padding-bottom: 2.714286%;  /* 40px / 700px */
 
  
  border-bottom: 0px solid #ddd;
  font-size: 157.5%;
  letter-spacing: 1px;
  font-family:  Itim, Dekko, Courgette, Handlee, Caveat, Muli, Helvetica, 'Open Sans', regular, Georgia, sans-serif;
  /*text-shadow: 1px 1px 1px  #e69a17;*/
  line-height: 150%;
  padding-top: 3.854456%;/*25px;*/
 /* margin-left: 16.95605%;/*110px;*/
 
   
}

.paragraf_imp .desen {
  float: left;
  margin-bottom: 5.396238%;/*35px;*/
}


.paragraf_imp1 {
 
  border: 1px solid #ecebeb;/*#E7F4FB;*/
  border-radius: 5px;
  padding-left: 3.854456%;/*25px;*/
 
  box-shadow:  5px 3px 8px   #ddd;
  padding-right:3.083565%;/*20px; */
 padding-top: 1.541782%;/*10px;*/
  background-color: #fffff9;
  
  background-size: 15px 15px;
    background-image: linear-gradient(to right, #f0f0f0 1px, transparent 1px), linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
  border-bottom: 1px solid #f0f0f0;}


/* http://html-tuts.com/back-to-top-button-jquery/  */
a.back-to-top {
  text-align: center;
	display: none;
	font-weight: bold;
  font-size: 130%;
  padding-top: 0.5em;/*4px;*/
  padding-bottom: 0.6em;/*10px;*/
  padding-left: 0.8em;/*17px;*/
  padding-right: 0.8em;/*17px;*/
	/*text-indent: 15px;*/
	position: fixed;
	z-index: 999;
	right: 4%;/*20px;*/
	bottom: 4%;/*20px;*/
	border: 0px solid #ddd;
  background: #ff6440;/*#5b9bd5;/*#e69a17;*/
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.5;
}

a.back-to-top:hover {
  background: /*#5b9bd5;*/#ff6440;/*#8787c1;*/
  border: 0px solid #e69a17;
  opacity: 1;
  
}



 .indiciu-intrebari {
            display: inline-block;
            padding: 10px 20px;
            background-color: #2196F3;
            color: white !important;
            text-decoration: none;
            border-radius: 5px;
            margin: 5px;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .indiciu-intrebari:hover {
            background-color: #1976D2;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

.all1 {
  margin-top: 3.08356460061%;/*20px;*/
 
}

.desen .explicatie {
      background-color: #ff9800;
            color: white;
            padding: 12px 25px;
            display: inline-block;
            border-radius: 5px;
            font-weight: bold;
            font-size: 1.1em;
}



.primsubtitlu {
            color: #2c3e50;
            font-size: 1.3em;
            font-weight: bold;
            margin: 20px 0;
            padding-left: 15px;
          
            background-color: #e3f2fd;
            border-left: 5px solid #2196F3;
            border-radius: 4px;
        }

        .trainer-container { 
            max-width: 1000px; 
            margin: 0 auto; 
            background: white;
            padding: 40px; 
            border-radius: 20px; 
            box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
            border: 3px solid #e6d89a;
        }

        .trainer-title { 
            margin-bottom: 30px; 
            color: #21242c; 
            font-size: 2.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            text-align: center;
            font-family: "Baloo 2", sans-serif;
        }

        #exercise { 
            font-size: 40px; 
            margin: 30px 0; 
            font-weight: bold; 
            color: #21242c;
            background: #f0f8f0;
            padding: 20px;
            border-radius: 15px;
            border: 2px solid #a8d4a8;
            text-align: center;
        }

        .trainer-input, .trainer-select { 
            font-size: 20px; 
            padding: 12px; 
            margin: 8px; 
            text-align: center; 
            border: 2px solid #a8d4a8; 
            border-radius: 12px;
            width: 150px; 
            font-family: "Baloo 2", sans-serif;
        }

        .trainer-input:focus, .trainer-select:focus {
            outline: none;
            border-color: #357abd;
            box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
        }

        .trainer-button {
            font-size: 20px;
            padding: 15px 30px;
            margin: 15px;
            background: #4a90e2;
            color: white;
            border: none;
            border-radius: 15px;
            cursor: pointer;
            font-family: "Baloo 2", sans-serif;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
            transition: all 0.3s ease;
        }

        .trainer-button:hover {
            background: #357abd;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
        }

        #score, #timer { 
            margin-top: 20px; 
            font-size: 24px; 
            color: #21242c; 
            font-weight: bold;
        }

        #timer {
            background: #ffe6e6;
            padding: 10px 20px;
            border-radius: 10px;
            border: 2px solid #ffb3b3;
            display: inline-block;
        }

        #score {
            background: #e6f3ff;
            padding: 10px 20px;
            border-radius: 10px;
            border: 2px solid #b3d9ff;
            display: inline-block;
            margin-left: 20px;
        }

        #setup { 
            margin-bottom: 30px; 
            background: #f8f9fa;
            padding: 25px;
            border-radius: 15px;
            border: 2px solid #ddd;
            text-align: center;
        }

        .setup-row {
            margin: 15px 0;
        }

        .trainer-label {
            
            color: #21242c;
            margin-right: 10px;
            font-family: "Baloo 2", sans-serif;
            font-size: 24px;
        }

        #final-message {
            background: linear-gradient(45deg, #ffc8ec, #c8d1ff);
            padding: 30px;
            border-radius: 20px;
            border: 3px solid #d4a6d4;
        }

        #final-message h2 {
            color: #5d2d5d;
            margin-bottom: 20px;
            font-family: "Baloo 2", sans-serif;
        }

        /* Footer */
        .footer-bottom a {
            text-decoration: none;
            color: #3F3F3F;
            font-family: Helvetica, 'Open Sans', light, Georgia, sans-serif;
            font-size: 100%;
        }

        .linie-gri2 {
            background-image: url("ie.png");
            height: 15px;
            width: 100%;
        }

.desen {

text-align: center;

}

.font-fb {
font-family: 'Poppins', sans-serif;
font-size: 18px;
font-weight: 700;
color: #4a90e2;
text-decoration: none;
padding-right: 20px;
}

.spatiu-stanga {

padding-left: 20px;
}

        footer {
            /*background: #333;*/
            background-image: url(./brillant.png);
            background-repeat: repeat;
           /* color: white;*/
            /*padding: 50px 0 30px;*/
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }


.footer-section h3 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: bold;
    color: #4a90e2;
    font-family: "Baloo 2", sans-serif;
    font-size: 130%;
}

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: #000;
            text-decoration: none;
            transition: color 0.3s ease;
            font-family: "Baloo 2", sans-serif;
            font-size: 120%;
        }

        .footer-section ul li a:hover {
            color: #4a90e2; /* Changed to match button color */
        }

        .footer-bottom {
            text-align: center;
            padding-top: 0rem;
            border-top: 0px solid #555;
            color: #000;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header {
                position: relative;
                padding: 2rem 0; /* Reduced padding for mobile */
            }


.math-trainer article h1 {
 
  padding-top: 1.854456%;/*25px;*/
  padding-bottom: 5.854456%;
  
}
.math-trainer {
 
  padding-top: 20px;/*25px;*/
  padding-bottom: 50px;
  
}

a.back-to-top {
  text-align: center;
	display: none;
	font-weight: bold;
  font-size: 130%;
  padding-top: 0.5em;/*4px;*/
  padding-bottom: 0.6em;/*10px;*/
  padding-left: 0.8em;/*17px;*/
  padding-right: 0.8em;/*17px;*/
	/*text-indent: 15px;*/
	position: fixed;
	z-index: 999;
	right: 4%;/*20px;*/
	bottom: 12%;/*20px;*/
	border: 0px solid #ddd;
  background: #ff6440;/*#5b9bd5;/*#e69a17;*/
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
  text-decoration: none;
  color: #ffffff;
  opacity: 0.5;
}

a.back-to-top:hover {
  background: /*#5b9bd5;*/#ff6440;/*#8787c1;*/
  border: 0px solid #e69a17;
  opacity: 1;
  
}

            nav {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 1rem 0;
                position: relative;
                gap: 1rem; /* Added gap between logo and hamburger */
                max-width: none;
            }

            .logo {
                position: static; /* Changed from absolute to static */
                margin-bottom: 0; /* Remove default margin */
                text-align: center;
                left: auto; /* Reset left positioning */
            }

            .mobile-menu {
                display: flex;
                position: static; /* Changed from absolute to static */
                top: auto; /* Reset top positioning */
                right: auto; /* Reset right positioning */
                z-index: auto;
            }

            .nav-menu {
                display: none;
                width: 100%;
                max-width: 300px;
                background: white;
                flex-direction: column;
                box-shadow: 0 4px 15px rgba(0,0,0,0.1);
                padding: 1rem 0;
                margin: 0 auto;
                border-radius: 8px;
            }

            .nav-menu.active {
                display: flex;
            }

            .nav-menu li {
                width: 100%;
                text-align: center;
                margin: 0;
            }

            .nav-menu li a {
                padding: 1rem;
                border-bottom: 1px solid #f0f0f0;
                display: block;
                width: 100%;
            }

            .nav-menu li:last-child a {
                border-bottom: none;
            }

            /* Simplify submenus on mobile */
            .submenu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: #f8f9fa;
                margin: 0;
                border-radius: 0;
                padding: 0;
            }

            .nav-menu li:hover .submenu {
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .submenu li a {
                padding: 0.8rem 2rem;
                /*font-size: 0.9rem;*/
                border-bottom: 1px solid #e0e0e0;
                background: #f8f9fa;
            }

            .nav-menu li a[data-submenu="true"]:after {
                content: " ▼";
                font-size: 0.7em;
            }

           

       

            .about-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .stat-card {
                padding: 1.5rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .stat-label {
                font-size: 1rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .container, .trainer-container {
                padding: 0 1rem;
            }

           
            .section-title, .trainer-title {
                font-size: 2rem;
            }

            .trainer-container {
                padding: 20px;
            }

            .trainer-input, .trainer-select {
                width: 120px;
                font-size: 20px;
            }

            #exercise {
                font-size: 30px;
            }
        }