/* Align logo to the top-left of the navigation bar */
.navbar {
    background-color: #F8EDE3; /* Light transparency */
    padding: 1rem 1rem; /* Adjust padding to move the content towards the edges */
    display: flex;
    align-items: flex-start; /* Align items to the top */
}

.navbar-brand {
    margin-right: auto; /* Keep logo on the left */
    padding: 0; /* Remove extra padding for tighter alignment to the top */
}

/* Adjust navigation links to stay to the right */
.navbar-nav {
    margin-left: auto; /* Push navigation links to the right */
}

.nav-link {
    font-size: 1.2rem;
    color: #333;
    padding: 0rem 1rem;
    font-weight: bold;
    margin: 0 2rem; /* Add margin to space out the links */
}

/* Dropdown styling */
.nav-item.dropdown .dropdown-menu {
    background-color: #B3C8CF;
    position: absolute;
    top: 100%; /* Align just below the navbar */
    left: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);  /* For smooth transition */
    transition: visibility 0s, opacity 0.3s ease, transform 0.3s ease;  /* Smooth transition */
    display: block; /* Always keep as block for consistent layout */
}

.nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); /* Return to original position */
    background-color: #B3C8CF;
}

/* Arrow rotation when dropdown is active */
.nav-item.dropdown .nav-link::after {
    content: "";  /* Add an arrow down */
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(-180deg);  /* Rotate arrow upwards */
}

/* Dropdown menu item styling */
.dropdown-item {
    color: black;
    padding: 8px 15px;
    margin:0;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.2); /* Hover effect for items */
}
.wavy-line {
    --s: 15px; /* marimea waveului */
    --b: 10px; /* grosimea liniei */
    --m: 0.3; /* curbarea 0<x<2 */
    
    background: #3c008a;
    --R: calc(var(--s)*sqrt(var(--m)*var(--m) + 1) + var(--b)/2);
    height: calc(2*var(--R));
    width: 100%;
    --_g: #0000 calc(99% - var(--b)), #000 calc(101% - var(--b)) 99%, #0000 101%;
    mask:
      radial-gradient(var(--R) at left 50% bottom calc(-1*var(--m)*var(--s)), var(--_g)) 
       calc(50% - 2*var(--s)) calc(50% - var(--s)/2 - var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x,
      radial-gradient(var(--R) at left 50% top calc(-1*var(--m)*var(--s)),var(--_g)) 
       50% calc(50% + var(--s)/2 + var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x;
}
.curvy-border {
    border: 2px solid #3c008a; /* Border color */
    border-radius: 15px; /* Curvy corners */
    padding: 15px; /* Padding inside the box */
    background-color: #F8EDE3; /* Light background for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}


/* Custom styling for the py-5 class */
.py-5 {
    background-color: #F8EDE3; /* Light gray background */
    border: 1px solid #F8EDE3; /* Light border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 3rem 1rem; /* Adjust padding */
    margin-bottom: 2rem; /* Bottom margin for spacing between sections */
}

/* Custom styling for section headings */
.py-5 h2 {
    font-family: 'Arial', sans-serif; /* Font family */
    color: #343a40; /* Darker text color */
    
    padding-bottom: 0.5rem; /* Padding below the h2 text */
    margin-bottom: 1.5rem; /* Margin below the h2 text */
}

/* Custom styling for paragraphs */
.py-5 p {
    font-family: 'Arial', sans-serif; /* Font family */
    color: #6c757d; /* Muted text color */
    line-height: 1.6; /* Line height for better readability */
    margin-bottom: 1rem; /* Margin below paragraphs */
}

/* Custom styling for images to ensure consistent look */
.py-5 img {
    border-radius: 4px; /* Slightly rounded corners for images */
    transition: transform 0.3s; /* Smooth transition */
}

/* Scale effect on images when hovering */
.py-5 img:hover {
    transform: scale(1.05); /* Slightly increase the size on hover */
}

/* Additional responsive adjustments */
@media (max-width:
 767.98px) {
    .py-5 {
        padding: 2rem 0.5rem; /* Adjust padding for smaller screens */
    }

    .py-5 h2 {
        font-size: 1.5rem; /* Smaller font size for headings on small screens */
    }
}

/* Contact Button */
.contact-btn {
    background-color: #eaeaea;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    margin-left: 1rem; /* Add margin to the left for spacing */
}

.contact-btn:hover {
    background-color: #ddd;
    color: #000;
}

/* General body styles */
body, html {
    height: 100%; /* Ensure the body and html take full height */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #F8EDE3;
}

/* Header styling */
.header {
    text-align: center;
    padding: 5rem;
    background-color: #F8EDE3;
    border-bottom: 1px solid #ccc;
}

.header h1 {
    color: #333;
}

/* Hero section styling */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #F8EDE3;
    height: calc(100vh - 120px);
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 50%;
    padding-right: 1.5rem; /* Narrower spacing between text and image */
}

.hero-content h1 {
    font-size: 4.5rem; /* Slightly smaller headline */
    margin-bottom: 0.75rem; /* Reduce bottom margin */
    color: #343a40;
    font-family: 'Arial', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.4rem; /* Adjust paragraph size */
    line-height: 1.5; /* Adjust line height */
    color: #6c757d;
    font-family: 'Arial', sans-serif;
    margin-bottom: 1.5rem; /* Reduce bottom margin */
}

/* Styling for Learning Paths Section */
#learning-paths {
    background-color: #F8EDE3;
    padding: 4rem 0;
}

#learning-paths h2 {
    font-family: 'Arial', sans-serif;
    font-size: 2.5rem;
    color: #343a40;
    margin-bottom: 1.5rem;
}

#learning-paths .card h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    text-align: left;
    font-size: xx-large;
    margin-bottom: 1rem;
}

#learning-paths .card h5 {
    font-family: 'Arial', sans-serif;
    font-size: 1.3rem;
    text-align: left;
    margin-bottom: 1rem;
}

#learning-paths .card h6 {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
}

#learning-paths p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 3rem;
}

#learning-paths .card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

#learning-paths .card ul {
    padding-left: 1.5rem;
}

#learning-paths .card ul li {
    font-size: 1rem;
    color: #343a40;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    #learning-paths h2 {
        font-size: 2rem;
    }
    
    #learning-paths p {
        font-size: 1rem;
    }
    
    #learning-paths .card h3 {
        font-size: 1.5rem;
    }
    
    #learning-paths .card p {
        font-size: 0.9rem;
    }
}

#learning-paths p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.card {
    border: 1px solid #333;
    background-color: #F1EEDC;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.card ul {
    padding-left: 1.5rem;
}

.card ul li {
    font-size: 1rem;
    color: #343a40;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    #learning-paths h2 {
        font-size: 2rem;
    }
    
    #learning-paths p {
        font-size: 1rem;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
    
    .card p {
        font-size: 0.9rem;
    }
}

footer {
    background-color: #141414; 
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative; 
}

.social-media-buttons {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000; 
    display: flex; 
}

.social-btn {
    display: block;
    margin-right: 15px; 
    transition: transform 0.3s ease; 
}

.social-btn img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Make the icons circular */
}

.social-btn img:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
}


/* Align "CLASE" title with list */
.class-list-container h3 {
    font-size: 1.6rem; /* Adjust the font size */
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem; /* Space below h3 */
    margin-left: 15px; /* Align with list items */
}

.class-list-container ul {
    padding-left: 0; /* Remove extra padding */
    list-style: none; /* Remove default bullets if desired */
}

.class-item {
    padding: 0.5rem 1rem; /* Add some padding */
    background-color: #F8EDE3;
    font-size: 1.2rem;
    color: #343a40;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
}


/* Class Section Styling */
#class-section {
    background-color: #F8EDE3; /* Light background color for the whole section */
    padding: 4rem 0;
}

#class-section h2 {
    font-family: 'Arial', sans-serif;
    color: #343a40;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase; /* Uppercase for the main heading */
    letter-spacing: 1px;
}

#class-section .card {
    
    border: none;
    border-radius: 12px; /* Rounded corners for a smoother look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Add subtle shadow to cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
}

#class-section .card:hover {
    transform: translateY(-5px); /* Lift card slightly on hover */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

#class-section .bg-secondary {
    background-color: #E5DDC5 !important; /*culoarea cardurilor de la clase*/
}

#class-section .text-white {
    color: #ffffff !important;
}

#class-section .card-title {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}



#class-section .card-text {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: black;/**/
}

#class-section .btn-link {
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth transition for link color */
}

#class-section .btn-link:hover {
    color: #dcdcdc; /* Lighten link on hover */
}

#class-section .bg-light {
    background-color: #F1EEDC !important; /* White background for age group cards */
    border: 1px solid #ddd; /* Add a light border */
}

#class-section .card-body h4 {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #343a40;
}

#class-section .card-body p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    
}

/* Age Groups Grid Styling */
#class-section .row .card-body {
    padding: 2rem; /* Add padding for better spacing */
    background-color: #eef114;
}

/* Environment List Styling */
#class-section ul.list-unstyled {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

#class-section ul.list-unstyled li {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px; /* Add padding to accommodate icon */
}

#class-section ul.list-unstyled li::before {
    content: "\2713"; /* Unicode checkmark symbol */
    position: absolute;
    left: 0;
    color: #28a745; /* Green checkmark color */
    font-size: 1.2rem;
}


.class-list-container {
    background-color: #F8EDE3;
    padding: 20px;
    border-radius: 8px;
}

.class-item {
    background-color: #F8EDE3;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 0; /* Add a light border */
}



.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8EDE3;
    padding: 2rem;
    height: auto; /* Adjust this to avoid fixed height issues */
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Content adjustments for better readability */
.hero-content {
    max-width: 45%; /* Slightly reduce the width of text */
    padding-right: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem; /* Adjust font size for better balance */
    color: #000;
}

.hero-content p {
    font-size: 1.2rem; /* Slightly reduce text size */
    color: black;
}

/* Control the size and positioning of the hero image */
.hero-image img {
    max-width: 100%; /* Ensure image scales responsively */
    height: auto;
    border-radius: 12px; /* Add some rounded corners for smoother visuals */
}


.info-bar-container {
    max-width: 900px; /* Adjust this value as needed to match the width of the yellow cards */
    margin: 0 auto;   /* Center the container */
}

.info-bar {
    background-color: #eef114; /* Light background */
    border-radius: 30px;
    color: #555; /* Dark gray text */
    font-size: 14px; /* Small font */
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    #class-section h2 {
        font-size: 2rem;
    }

    #class-section .card-title {
        font-size: 1.5rem;
    }

    #class-section .card-body h4 {
        font-size: 1.3rem;
    }

    #class-section .card-body p {
        font-size: 0.9rem;
    }

    #class-section ul.list-unstyled li {
        font-size: 0.9rem;
    }
}


@media (max-width: 767.98px) {
    
    /* Adjust navbar for mobile: stack content vertically */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1rem; /* Slightly smaller text */
        margin: 0.5rem 0; /* Reduce the margin between links */
        padding: 0.5rem; /* Reduce padding */
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 28px;
        
    }

    .hero p {
        font-size: 15px;
        
    }
    .hero-content {
        max-width: 95%; /* Ensure content can use the full width */
        align-self: center;
    }

    .hero-image img {
        margin-top: 20px;
        max-width: 80%;
        order:-1;
    }
    footer {
        flex-direction: column; /* Stack the social icons and text vertically */
        text-align: center; /* Center everything */
        padding: 10px; /* Reduce padding on mobile */
    }

    .social-media-buttons {
        position: static; /* Remove absolute positioning */
        margin-bottom: 10px; /* Add space below social icons */
        justify-content: center; /* Center the social buttons */
    }

    .social-media-buttons a img {
        width: 35px; /* Make the icons slightly smaller on mobile */
        height: 35px;
    }
}

