* {
            /* margin: 0;*/
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            text-align: center;
        }


.farabold {
margin-left: 7%;
}

.la-stanga {
    margin-left: 14%;
}


.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:2px solid #ffa600;
}

.indexnou ul li a:hover {
 
 border-bottom:2px 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;
        }


        .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;
            color: #4a90e2; /* Changed to match button color */
            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 */
            }

            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;
            }
        }