
:root {
    --primary-bg: #0D1F17;
    --secondary-bg: #152922;
    --accent-green: #36B37E;
    --accent-light-green: #6FCF97;
    --text-light: #E9F5F0;
    --text-muted: #9EACA5;
    --highlight: #F2C94C;
    --warning: #EB5757;
    --card-bg: #1C352C;
    --form-bg: #182D24;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.top-bar, .top-bar ul {
  background-color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light-green);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-light-green);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
}

.btn-secondary:hover {
    background-color: var(--accent-green);
    color: var(--text-light);
}

.section {
    padding: 5rem 0;
}

.text-highlight {
    color: var(--highlight);
}

.text-accent {
    color: var(--accent-green);
}


.leaf-pattern {
    position: relative;
}

.leaf-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C15 5 5 15 5 30s10 25 25 25 25-10 25-25S45 5 30 5zm0 45c-11 0-20-9-20-20s9-20 20-20 20 9 20 20-9 20-20 20z' fill='%2336B37E' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: -1;
}

.organic-shape {
    position: relative;
}

.organic-shape::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,10 C100,-30 190,30 170,90 C150,150 60,190 30,150 C0,110 0,50 50,10z' fill='%236FCF97' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    z-index: -1;
}


.top-bar {
    background-color: var(--secondary-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.top-bar .logo {
    height: 40px;
}

.menu {
    background-color: transparent;
}

.grid-container {
  max-width: 100%;;
}

.menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.grid-x>.medium-9 {
  width: 85%;
}

.grid-x>.medium-3 {
  width: 15%;
}

.menu a:hover {
    color: var(--accent-green);
}

.menu .active > a {
    color: var(--accent-green);
    background-color: transparent;
}

.menu-icon {
    color: var(--text-light);
}


.mobile-menu {
    background-color: var(--secondary-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 5rem 2rem 2rem;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover {
    color: var(--accent-green);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background-color: var(--secondary-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}


.about-section {
    position: relative;
    background-color: var(--primary-bg);
}

.about-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}


.courses-section {
    background-color: var(--secondary-bg);
    position: relative;
}

.course-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-date {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}


.news-section {
    background-color: var(--primary-bg);
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}


.contact-form-section {
    background-color: var(--secondary-bg);
    position: relative;
}

.form-container {
    background-color: var(--form-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(54, 179, 126, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}


.special-offers-section {
    position: relative;
    background-color: var(--primary-bg);
}

.special-offer-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.special-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/special-offer-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.special-offer-content {
    position: relative;
    z-index: 1;
}

.offer-badge {
    display: inline-block;
    background-color: var(--highlight);
    color: var(--primary-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}


.education-process-section {
    background-color: var(--secondary-bg);
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.process-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-green);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 1.5rem;
}

.process-content {
    padding-top: 0.5rem;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% - 50px);
    background-color: var(--accent-green);
    opacity: 0.3;
}


.materials-section {
    background-color: var(--primary-bg);
}

.material-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.material-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.material-content {
    padding: 1.5rem;
}

.material-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.material-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
}


.teachers-section {
    background-color: var(--secondary-bg);
}

.teacher-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.teacher-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.teacher-content {
    padding: 1.5rem;
}

.teacher-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.teacher-position {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


.contact-section {
    background-color: var(--primary-bg);
}

.contact-info {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(54, 179, 126, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


.footer {
    background-color: var(--secondary-bg);
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}


.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--accent-green);
    margin-bottom: 2rem;
}


.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cookie-category-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-category-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-category-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.cookie-category-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-category-slider {
    background-color: var(--accent-green);
}

input:checked + .cookie-category-slider:before {
    transform: translateX(26px);
}

.cookie-category-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}


@media screen and (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}


.iti {
    width: 100%;
}

.iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}


.jarallax {
    position: relative;
    z-index: 0;
}

.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.bg-pattern-dots {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2336B37E' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-pattern-leaves {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 15c-8.28 0-15 6.72-15 15s6.72 15 15 15c8.28 0 15-6.72 15-15s-6.72-15-15-15zm0 25c-5.52 0-10-4.48-10-10s4.48-10 10-10 10 4.48 10 10-4.48 10-10 10z' fill='%236FCF97' fill-opacity='0.05'/%3E%3C/svg%3E");
}


.rounded-lg {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow);
}

.overflow-hidden {
    overflow: hidden;
}