/* ===== VARIÁVEIS DE CORES ===== */
:root {
    --primary-color: #007bff;
    --secondary-color: #18bfab;
    --dark-color: #333;
    --medium-color: #555;
    --light-color: #f8f9fa;
    --white: #fff;
    --black: #000;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}


/* ===== ESTILOS GERAIS ===== */
body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* SEÇÃO HEADER */
.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}


.logo-link:hover {
    transform: scale(1.1);
}

.logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}


.header {
    font-family: "Quicksand", sans-serif;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
}


.navbar-navs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}


.navbar-navs .nav-links {
    color: hsl(166, 73%, 41%);
}


.navbar-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.navbar-button:hover {
    background-color: #f0f0f0;
}

.navbar-button img {
    width: 32px;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 5px;
}

.social-button img {
    width: 20px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 5px;
}


.nav-links {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
}

.social-button {
    margin: -3px;
}

.language-buttons, .social-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin-left: 80px;
}

.language-buttons{
    margin-top: 5px;
}

.social-button {
    margin: 5px 0;
}

.social-button img, .language-buttons img {
    height: 25px;
    width: auto;
}

.form-busca {
    display: flex;
    align-items: center;
    justify-content: right;
}

.profile-icon {
    width: auto;
    height: 30px;
    border-radius: 50%;
    margin-top: -5px;
}

.dropdown-menu {
    min-width: 100px;
}

.search-bar {
    border: 1px solid #337feb;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 5px;
    width: 200px;
    height: 29px;
    margin-right: -5px;
}


.btn-search {
    border: 1px solid #337feb;
    padding: 5px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #337feb;
    height: 29px;
    width: 29px;
}

.search-icon {
    height: 18px;
    width: 18px;
    padding: 2px;
    margin-bottom: 2px;
}

.profile-dropdown {
    position: relative;
    margin-left: 15px;
}

.profile-toggle {
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 2px;
}

.profile-toggle:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: scale(1.1);
}

.profile-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
}

.profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2fd;
    padding: 0;
    overflow: hidden;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.profile-dropdown:hover .profile-menu {
    display: block;
}

.profile-header {
    padding: 15px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border-bottom: 1px solid #e3f2fd;
}

.profile-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    margin-right: 12px;
}

.profile-info {
    flex: 1;
    overflow: hidden;
}

.profile-name {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-email {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background-color: #e3f2fd;
    margin: 5px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
    color: #666;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-item:hover i {
    color: #007bff;
}

.logout-item {
    color: #dc3545 !important;
}

.logout-item:hover {
    background-color: #fff5f5 !important;
    color: #dc3545 !important;
}

.logout-item i {
    color: #dc3545 !important;
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Guest Profile Dropdown */
.guest-profile {
    position: relative;
    margin-left: 15px;
}

.profile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-toggle:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e3f2fd;
}

.guest-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 160px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2fd;
    padding: 8px 0;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.guest-profile:hover .guest-menu,
.guest-profile:focus-within .guest-menu {
    display: block;
}

.guest-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.guest-menu .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: #666;
}

.guest-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.guest-menu .dropdown-item:hover i {
    color: #007bff;
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .profile-menu {
        right: -50px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* FOOTER */
.footer {
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    border-top: 1px solid #ddd;
}

.logo-social-media {
    display: flex;
    justify-content: center;
}

.logo-social-media button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.footer-links a:hover {
    text-decoration: underline;
}

.logos-partners img {
    margin: 5px 10px;
    object-fit: contain;
    height: 50px;
}

@media (max-width: 768px) {
    .footer-links p {
        display: block;
        margin: 5px 0;
    }

    .logos-partners img {
        max-height: 50px !important;
        margin: 5px;
    }
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}


.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);

}

.btn-primary:hover {
    background-color: #14a793;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 191, 171, 0.4);
    text-decoration: none;
}

/* ===== SEÇÃO HERO ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-carousel{ position: relative; width:100%; height:70vh; overflow:hidden; }

.slide-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: 50% 20%; /* centro + um pouco acima (ajusta p.ex. 50% 20%) */
  position:absolute; inset:0;
  z-index:-1;
}

.slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 100, 0.5);
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 60%;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.slide-content p {
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 350
}

.btn {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    position: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.indicator.active {
    opacity: 1;
}

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

/* ===== SEÇÃO DE APOIADORES ===== */
.supporters {
    text-align: center;
    padding: 60px ;
}

.logo-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}


.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 150px;
    max-width: 200px;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.logo-item p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}


/* ===== SEÇÃO DE BOAS-VINDAS ===== */
.welcome-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(24, 191, 171, 0.05) 100%);
    z-index: 0;
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--medium-color);
    margin-bottom: 0;
}

/* ===== SEÇÃO DA EQUIPE ===== */
.team-section {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-text {
    color: var(--medium-color);
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.card-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-link, .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover, .social-link:hover {
    color: var(--primary-color);
}

.social-link i {
    color: var(--primary-color);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: 6rem 0;
    background-color: #f9f9f9;
    margin-bottom: 60px;
}

.partner-type-group {
    margin-bottom: 3rem;
}

.partner-type-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.partner-type-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.partner-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 300px;
    margin: 0 10px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-card.coordinator {
    border-top: 4px solid var(--secondary-color);
}

.partner-card.beneficiary {
    border-top: 4px solid #007bff;
}

.partner-card.non-beneficiary {
    border-top: 4px solid #e74c3c;
}

.partner-badge {
    position: absolute;
    top: -12px;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.coordinator-badge {
    background-color: var(--secondary-color);
}

.beneficiary-badge {
    background-color: #007bff;
}

.non-beneficiary-badge {
    background-color: #e74c3c;
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.partner-info p {
    color: var(--medium-color);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-grid {
        flex-direction: column;
        align-items: center;
    }

    .partner-card {
        width: 100%;
        max-width: 350px;
        margin: 0 0 20px 0;
    }
}

/* SEÇÃO NEWS */
.news-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 120px;
    margin-bottom: 120px;
    margin: auto;
    max-width: 1200px;
}

.news-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    display: none;
}

.carousel-item.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-text {
    flex: 1;
    max-width: 50%;
    align-self: center;
}

.news-text h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.5rem;
}

.news-text p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 200;
}

.news-link {
    display: inline-block;
    margin-top: 10px;
    color: #18bfab;
    text-decoration: none;
    font-weight: bold;
}

.news-link:hover {
    text-decoration: underline;
}

.news-carousel-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.news-carousel-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    width: 400px;
    height: 300px;
}

.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

    /* Feedback Container */
/* Feedback Modal Styles */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.feedback-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-icon {
    color: #4CAF50;
}

.error-icon {
    color: #F44336;
}

.feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.feedback-modal-close:hover {
    color: #333;
}

/* Toast Notification Styles */
    .feedback-toast {
        position: fixed;
        bottom: 30px;
        right: 30px;
        padding: 15px 25px;
        border-radius: 5px;
        color: white;
        z-index: 1000;
        display: flex;
        align-items: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: toastSlideIn 0.3s ease-out;
    }

    @keyframes toastSlideIn {
        from { opacity: 0; transform: translateX(100%); }
        to { opacity: 1; transform: translateX(0); }
    }

    .toast-success {
        background-color: #4CAF50;
    }

    .toast-error {
        background-color: #F44336;
    }

    .toast-icon {
        margin-right: 10px;
        font-size: 20px;
    }

    .close-toast {
        margin-left: 15px;
        cursor: pointer;
        font-weight: bold;
    }

    .feedback-container {
        max-width: 800px;
        margin: 100px auto;
        padding: 40px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    }

    .feedback-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .feedback-header h2 {
        color: #007bff;
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .feedback-header p {
        color: #666;
        font-weight: 200;
    }

    .feedback-form {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .form-row {
        display: flex;
        gap: 20px;
    }

    .form-row .form-group {
        flex: 1;
    }

    .form-group {
        position: relative;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px 12px 40px;
        border: 2px solid #e3f2fd;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #18bfab;
        outline: none;
        box-shadow: 0 0 0 3px rgba(24, 191, 171, 0.2);
    }

    .form-group i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #18bfab;
        font-size: 16px;
    }

    .form-group textarea {
        padding-left: 40px;
        resize: vertical;
        min-height: 150px;
    }

    .form-group textarea + i.fa-comment {
        top: 2.5rem;
        transform: none;
    }

    .form-group select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2318bfab'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 12px;
    }

    .submit-btn {
        background: linear-gradient(135deg, #18bfab, #007bff);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(24, 191, 171, 0.3);
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(24, 191, 171, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    @media (max-width: 768px) {
        .form-row {
            flex-direction: column;
            gap: 25px;
        }

        .feedback-container {
            padding: 30px 20px;
            margin: 50px auto;
        }
    }

/* ===== MAPA ===== */
.map-section {
    padding: 6rem 0;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .hero-carousel {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .news-item {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-carousel {
        height: 60vh;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .team-grid, .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .feedback-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 50vh;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feedback-container {
        padding: 1.5rem;
    }
}

/* PÁGINA DE E-LEARNING */

.lesson-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end; /* Alinha os botões à direita */
}

.lessons-title {
    text-align: center;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 30px;
}

.lessons-search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.lessons-search-bar {
    border: 1px solid #337feb;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 10px;
    width: 500px;
    font-size: 1rem;
    outline: none;
}

.lessons-search-button {
    border: 1px solid #337feb;
    padding: 10px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #337feb;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lessons-search-button:hover {
    background-color: #0056b3;
}

.lessons-search-icon {
    width: 20px;
    height: 20px;
}

.lesson-card-wide {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.lesson-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
}

.lesson-card-text {
    flex: 1;
    padding-right: 20px;
    text-align: left;
    margin-left: 40px;
}

.lesson-card-text .btn{
    font-size: 15px;
    padding: 10px 20px;
}

.lesson-card-wide .lesson-card-title {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
}


.lesson-card-wide .lesson-card-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 200;
}

.lesson-card-wide .lesson-card-button {
    background-color: hsl(166, 73%, 41%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lesson-card-wide .lesson-card-button:hover {
    background-color: #14a793;
}

.lesson-card-wide .lesson-card-image {
    flex: 1;
    text-align: right;
    margin-right: 50px;
}

.lesson-card-wide .lesson-card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


/* PÁGINA INTRODUÇÃO WORKSHOPS */
.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.resource-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.resource-title {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.resource-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.resource-description p {
    font-weight: 300;
}

.progress-container {
    max-width: 600px;
    margin: 2rem auto 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.progress-bar {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #19bfab);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.enrollment-section {
    text-align: center;
    margin: 2rem 0 3rem;
}

.enroll-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.enroll-button {
    background: linear-gradient(135deg, #007bff, #19bfab);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    margin-bottom: 0.5rem;
}

.enroll-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.enroll-note {
    font-size: 0.9rem;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

.enrolled-status {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    color: #333;
}

.learning-path {
    margin: 4rem 0;
}



.path-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.path-step {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #18bfab;
}

.path-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Estilo para cards inacessíveis */
.path-step.step-inaccessible {
    opacity: 0.7;
    background-color: #f5f5f5;
    border-top-color: #aaa !important;
}

.path-step.step-inaccessible .step-number {
    background-color: #aaa;
}

.path-step.step-inaccessible h3,
.path-step.step-inaccessible p,
.path-step.step-inaccessible .step-icon {
    filter: grayscale(50%);
}

.path-step.step-inaccessible .step-button {
    background-color: #aaa !important;
    cursor: not-allowed;
}

.path-step.step-inaccessible .step-disabled {
    color: #888;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    background: #18bfab;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 12px;
    font-weight: bold;
}

.step-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.path-step h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.path-step p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.step-button {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step-button:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.step-button.disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.7;
}

.step-button.disabled:hover {
    transform: none;
}

.step-disabled {
    color: #adb5bd;
    font-size: 0.9rem;
}

.alert {
    max-width: 800px;
    margin: 1rem auto 2rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .path-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resource-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .path-steps {
        grid-template-columns: 1fr;
    }

    .enroll-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .resource-title {
        font-size: 1.8rem;
    }

    .resource-description {
        font-size: 1rem;
    }
}

/* TELA DA PRIMEIRA PROVA */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}


.quiz-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quiz-title {
    color: #007bff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quiz-description {
    color: #666;
    font-size: 1.1rem;
}


.question-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.question-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.question-number {
    display: inline-block;
    background: #18bfab;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.question-text {
    color: #333;
    font-size: 1.2rem;
    margin: 0;
}


.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.answer-option:hover {
    border-color: #18bfab;
    background: #f5fdfc;
}

.answer-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.option-letter {
    font-weight: 600;
    color: #007bff;
    min-width: 1.5rem;
}

.option-text {
    color: #555;
}


.form-actions {
    text-align: center;
    margin-top: 3rem;
}

.submit-btn {
    background: linear-gradient(135deg, #18bfab, #007bff);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 191, 171, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 191, 171, 0.4);
}


.success-message {
    display: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border: 1px solid #e3f2fd;
}

.message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-message i {
    color: #18bfab;
    font-size: 3rem;
}

.success-message p {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-container {
        padding: 1.5rem;
    }

    .quiz-title {
        font-size: 2rem;
    }

    .question-card {
        padding: 1rem;
    }
}

/* TELA DE AULA */
.workshop-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.workshop-container h2 {
    color: #007bff;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 para vídeos responsivos */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.descricao-workshop p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 200;
}

.btn-iniciar {
    padding: 10px 20px;
    background-color: hsl(166, 73%, 41%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-iniciar:hover {
    background-color: #14a793;
}

/* TELA DE LIBRARY */
.library-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
}

.library-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 40px;
}

.library-search-container {
    display: flex;
    width: 100%;
}

.library-search-bar {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #337feb;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-weight: 200;
}

.library-search-button {
    padding: 0 20px;
    background-color: #337feb;
    color: white;
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background-color: #f8f9fa;
    color: black;
}

.filter-btn.active {
    background-color: #18bfab;
    color: white;
    border-color: #18bfab;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    font-weight: 200;
    line-height: 2.0;
}

.table th {
    font-weight: 400;
    font-size: 1.1rem;
    padding: 15px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
    font-size: 1rem;
}

.table td a{
    text-decoration: none;
    background-color: #18bfab;
    font-weight: 200;
    border: 0;
}

.badge-info {
    background-color: #e3f2fd;
    color: #007bff;
    border: 1px solid #bbdefb;
    font-weight: 400;
    padding: 0.35em 0.65em;
    font-size: 0.9em;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.btn-success:hover {
    transform: scale(1.1);
    background-color: #0d8e7a;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    font-weight: 200;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}


.news-filter-group .btn-light.active {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

.news-filter-group .btn-light {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.news-filter-group .btn-light:hover {
    background-color: #e9ecef;
}

/* Responsividade */
@media (max-width: 768px) {
    .table td, .table th {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .badge-info {
        font-size: 0.8em;
    }
}

/* SCHEDULED ACTIVITIES */
#calendar {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    height: 250px;
    width: 100%;
}

.fc-daygrid-day.has-event {
    position: relative;
    z-index: 1;
}

.fc-daygrid-day.has-event .fc-daygrid-day-frame::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 4px;
    z-index: -1;
}

.fc-daygrid-day-number {
    font-weight: 500;
    color: #333;
    padding: 4px;
}

.fc-header-toolbar {
    margin-bottom: 1em;
}

.fc-button {
    background-color: #007bff;
    border-color: #007bff;
}

.fc-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.fc-daygrid-day.has-event:hover {
    opacity: 0.9;
}


@media (max-width: 768px) {
#calendar .fc-header-toolbar {
    flex-direction: column;
}

#calendar .fc-toolbar-chunk {
    margin-bottom: 10px;
}

.activity-card {
    margin-bottom: 10px;
}
}

/* NEWS PAGE */
.news-main-title {
    font-size: 60px;
    color: #007bff;
    padding-bottom: 30px;
    text-align: center;
    margin-bottom: 4rem;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    object-position: center;
    min-height: 100%;
    min-width: 100%;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #19bfab;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.news-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
}

.news-card-footer {
    background: white;
    border-top: none;
    padding: 0 1.5rem 1.5rem;
}

.news-read-more {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.news-read-more:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
}

.news-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.news-filter-btn {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.news-filter-btn.active, .news-filter-btn:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-main-title {
        font-size: 2.5rem;
    }

    .news-card-col {
        padding: 0 15px;
    }

    .news-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-image-container {
        height: 160px;
    }
}

/* HEALTH AREA INDEX */
.health-areas-container {
    font-family: "Quicksand", sans-serif;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.health-areas-main-title {
    font-size: 60px;
    color: #007bff;
    padding-bottom: 30px;
    text-align: center;
    margin-bottom: 2rem;
}

.health-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.health-card-icon {
    text-align: center;
    padding: 20px;
    font-size: 2.5rem;
    background-color: #f8f9fa;
}

.health-card-body {
    padding: 25px;
}

.health-card-title {
    color: #007bff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.health-card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 200;
}

.health-card-footer {
    background: white;
    border-top: none;
    padding: 15px 25px;
    text-align: right;
}

.health-card-link {
    color: #18bfab;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.health-card-link:hover {
    color: #14a793;
    text-decoration: none;
}

.health-pagination .pagination {
    justify-content: center;
}

.health-pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.health-pagination .page-link {
    color: #007bff;
    margin: 0 5px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
}

/* Responsividade */
@media (max-width: 768px) {
    .health-areas-main-title {
        font-size: 2.5rem;
    }

    .health-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .health-areas-main-title {
        font-size: 2rem;
        padding-bottom: 20px;
    }

    .health-card-body {
        padding: 15px;
    }

     /* Estilos personalizados */
    .footer {
        font-family: "Quicksand", sans-serif;
        border-top: 1px solid #ddd;
    }

    .logo-social-media {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }

    .logo-social-media button {
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .footer-links p {
            display: block;
            margin: 3px 0;
        }

        .logos-partners img {
            margin: 0 8px !important;
        }
    }
}

/* Health Area Detail Styles */
  .health-article-container {
    font-family: "Quicksand", sans-serif;
    color: #333;
    line-height: 1.6;
    padding-bottom: 40px;
}

.article-header {
    padding: 40px 0 20px;
    text-align: center;
}

.article-category {
    color: #18bfab;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-content {
    padding: 40px 0;
}

.main-content {
    font-size: 1.1rem;
    color: #444;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.social-sharing {
    margin: 50px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}


.social-sharing span {
    font-weight: 600;
    margin-right: 15px;
    display: block;
}


.btn-social {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.email { background-color: #6c757d; }
.whatsapp { background-color: #25d366; }

/* Sidebar styles */
.article-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.sidebar-widget h3 {
    color: #007bff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.resources-list {
    list-style: none;
    padding: 0;
}

.resources-list li {
    margin-bottom: 12px;
}

.resources-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.resources-list a:hover {
    color: #007bff;
}

.resources-list i {
    margin-right: 10px;
    color: #18bfab;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.newsletter-form button {
    background: #18bfab;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.95rem;
}

.newsletter-form button:hover {
    background: #14a793;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .featured-image img {
        max-height: 300px;
    }

    .article-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .social-sharing span {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .btn-social {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* TELA DE NEWS CONTENT */

    .news-article-container {
        font-family: "Quicksand", sans-serif;
        color: #333;
        line-height: 1.7;
        padding-bottom: 60px;
    }

    .article-header {
        padding: 60px 0 30px;
        text-align: center;
        background-color: #f8f9fa;
    }

    .article-meta {
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .category-badge {
        background-color: #18bfab;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .publish-date {
        color: #666;
        font-size: 0.95rem;
    }

    .article-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #007bff;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .author-info {
        color: #666;
        font-style: italic;
        margin-bottom: 20px;
    }

    .featured-image {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .featured-image img {
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }

    .article-content {
        padding: 40px 0;
    }

    .main-content {
        font-size: 1.1rem;
        color: #444;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .lead {
        font-size: 1.3rem;
        font-weight: 300;
        color: #555;
        margin-bottom: 30px;
    }

    .news-body p {
        margin-bottom: 20px;
    }

    .news-quote {
        border-left: 4px solid #18bfab;
        padding-left: 20px;
        margin: 25px 0;
        font-style: italic;
        color: #555;
        font-size: 1.2rem;
    }

    .related-healtharea {
        margin: 40px 0;
        padding: 20px;
        background-color: #f0f8ff;
        border-radius: 8px;
    }

    .related-healtharea h4 {
        color: #007bff;
        margin-bottom: 10px;
    }

    .healtharea-link {
        color: #18bfab;
        font-weight: 600;
        text-decoration: none;
    }

    .healtharea-link:hover {
        text-decoration: underline;
    }

    .social-sharing {
        margin: 50px 0;
        padding: 25px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .social-buttons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .btn-social {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
    }

    .facebook { background-color: #3b5998; }
    .twitter { background-color: #1da1f2; }
    .linkedin { background-color: #0077b5; }
    .whatsapp { background-color: #25d366; }

    .newsletter-cta {
        background-color: #f8f9fa;
        padding: 30px;
        border-radius: 8px;
        margin: 40px 0;
        text-align: center;
    }

    .newsletter-cta h4 {
        color: #007bff;
        margin-bottom: 20px;
    }

    .newsletter-form {
        display: flex;
        max-width: 500px;
        margin: 0 auto;
    }

    .newsletter-form input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
    }

    .newsletter-form button {
        border-radius: 0 4px 4px 0;
    }

    .related-news-section {
        background-color: #f8f9fa;
        padding: 60px 0;
        margin-top: 40px;
    }



    .related-news-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        height: 100%;
    }

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

    .related-news-card img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .related-news-card .card-body {
        padding: 20px;
    }

    .news-date {
        color: #666;
        font-size: 0.85rem;
        display: block;
        margin-bottom: 10px;
    }

    .related-news-card h5 {
        color: #333;
        font-size: 1.1rem;
        margin-bottom: 15px;
        min-height: 60px;
    }

    .btn-read-more {
        color: #18bfab;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        border: 2px solid #18bfab;
        padding: 5px 15px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .btn-read-more:hover {
        background-color: #18bfab;
        color: white;
    }

    @media (max-width: 768px) {
        .article-title {
            font-size: 2rem;
        }

        .featured-image img {
            max-height: 300px;
        }

        .newsletter-form {
            flex-direction: column;
        }

        .newsletter-form input,
        .newsletter-form button {
            border-radius: 4px;
            width: 100%;
        }

        .newsletter-form button {
            margin-top: 10px;
        }
    }

    @media (max-width: 576px) {
        .article-title {
            font-size: 1.8rem;
        }

        .lead {
            font-size: 1.1rem;
        }
    }


/* ABOUT US PAGE */
/* ABOUT US PAGE */
.about-us-container {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 5rem;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(24, 191, 171, 0.08) 100%);
    border-radius: 1rem;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-main-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-hero-text {
    font-size: 1.5rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-section {
    margin-bottom: 6rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-content-wrapper {
    margin-bottom: 3rem;
}

.about-section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.about-text-wrapper {
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-image-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.about-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.mission-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
    margin: 5rem 0;
    border-radius: 1rem;
}

.mission-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.mission-icon {
    font-size: 3rem;
    color: #19bfab;
    margin-bottom: 1.5rem;
}

.mission-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission-text-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}



.goals-row {
    margin-bottom: 5rem;
}

.goal-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #19bfab;
    display: flex;
    flex-direction: column;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.goal-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #19bfab;
    margin-bottom: 1rem;
    line-height: 1;
}

.goal-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.goal-description-wrapper {
    flex-grow: 1;
}

.goal-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

.achievements-section {
    margin-bottom: 5rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-item {
    background: white;
    border-radius: 0.75rem;
    padding: 3rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #007bff;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-value {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.achievement-label {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsiveness */
@media (max-width: 992px) {
    .about-main-title {
        font-size: 2.8rem;
    }

    .about-section {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 3rem 0;
        margin-bottom: 4rem;
    }

    .about-main-title {
        font-size: 2.2rem;
    }

    .about-hero-text {
        font-size: 1.25rem;
    }

    .about-section-title, .section-title {
        font-size: 2rem;
    }

    .mission-section {
        padding: 4rem 0;
        margin: 4rem 0;
    }

    .goal-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-us-container {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .about-main-title {
        font-size: 1.8rem;
    }

    .about-hero-text {
        font-size: 1.1rem;
    }

    .about-section-title, .section-title {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }

    .mission-title {
        font-size: 1.75rem;
    }

    .goal-title {
        font-size: 1.25rem;
    }
}
/* MY COURSES PAGE */
.my-courses-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.my-courses-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.my-courses-header h2 {
    font-size: 2.5rem;
    color: #007bff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.my-courses-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.my-courses-filter {
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    color: #555;
    display: flex;
    align-items: center;
}

.filter-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}



.course-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.course-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #007bff;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.course-card.completed {
    border-left-color: #28a745;
}

.course-card.in-progress {
    border-left-color: #ffc107;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.completed-badge {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.progress-badge {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.course-progress {
    margin: 1.5rem 0;
}

.progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #19bfab);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.course-card.completed .progress-fill {
    background: #28a745;
}

.progress-text {
    font-size: 0.85rem;
    color: #666;
    display: block;
    text-align: right;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.meta-item i {
    color: #007bff;
}

.course-card.completed .meta-item i {
    color: #28a745;
}

.course-actions {
    display: flex;
    justify-content: start;
    position: relative;
    padding-right: 40px;
}

.continue-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.continue-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    color: white;
}

.certificate-btn {
    background-color: #18bfab;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.certificate-btn:hover {
    background-color: #14a793;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    color: white;
}

.course-card.completed .continue-btn {
    background-color: #28a745;
}

.course-card.completed .continue-btn:hover {
    background-color: #218838;
}

.browse-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.browse-btn:hover {
    background-color: #0069d9;
    color: white;
    text-decoration: none ;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.browse-btn i {
    color: inherit ;
    margin-right: 8px;
}

.certificate-btn.disabled {
    background-color: #cccccc ;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
}

.certificate-btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
    background-color: #cccccc !important;
}

.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ffc107;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.star-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

.star-btn .bi-star-fill {
    color: #ffc107;
    opacity: 1;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .course-cards {
        grid-template-columns: 1fr;
    }

    .my-courses-header h2 {
        font-size: 2rem;
    }

    .filter-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-btn {
        justify-content: center;
    }
}

/* MY PROFILE PAGE */
.favorite-star {
    position: absolute;
    bottom: 4px;
    right: 0px;
    z-index: 1;
}

.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ffc107;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.star-btn:hover {
    transform: scale(1.2);
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
}

.star-btn .bi-star-fill {
    color: #ffc107;
    opacity: 1;
}

.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3f2fd;
}

.profile-header h2 {
    color: #007bff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-header h2 i {
    font-size: 1.5rem;
}

.profile-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.profile-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-picture-section {
    flex: 0 0 250px;
}

.profile-details {
    flex: 1;
}

.profile-picture-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e3f2fd;
}

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 5rem;
}

.picture-upload {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-btn {
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.upload-btn:hover {
    color: #18bfab;
}

#profile-picture-input {
    display: none;
}

.profile-detail-group {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-detail {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3f2fd;
    align-items: center;
}


.profile-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    flex: 0 0 150px;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.detail-value, .detail-edit {
    flex: 1;
    min-width: 0;
    color: #333;
    word-break: break-word;
}

.detail-edit {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.can-edit .detail-value {
    display: none;
}

.can-edit .detail-edit {
    display: block;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-outline-primary {
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.detail-value {
    display: flex;
    align-items: center;
}

.detail-edit {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.detail-edit[type="date"],
.detail-edit[type="email"],
.detail-edit[type="text"],

.detail-edit select {
    width: 100%;
    padding: 0.5rem;
    background-color: white;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
    }

    .profile-picture-section {
        flex: 1;
        margin-bottom: 1.5rem;
    }

    .profile-detail {
        flex-direction: column;
    }

    .detail-label {
        margin-bottom: 0.5rem;
    }

    .detail-edit {
        position: static;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}

/* BADGES PAGE - ELEGANT VERSION */

.badges-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
}

.badges-header {
    text-align: center;
    margin-bottom: 3rem;
}

.badges-header h1 {
    color: #007bff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.badges-count {
    font-size: 1.2rem;
    color: #666;
}

.no-badges {
    text-align: center;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.badge-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.badge-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid #18bfab;
}

.badge-circle img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.badge-info {
    text-align: center;
    width: 100%;
}

.badge-info h3 {
    color: #007bff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.badge-info h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #18bfab, #007bff);
}

.badge-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.badge-date, .badge-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #555;
}

.badge-date i {
    color: #ffc107;
}

.badge-score i {
    color: #28a745;
}

.badges-grid.single-badge {
    display: flex;
    justify-content: center;
}

.badges-grid.single-badge .badge-card {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc, #f0f7ff);
    border-color: #007bff;
}

.badges-grid.single-badge .badge-circle {
    width: 140px;
    height: 140px;
    border-width: 4px;
}

.badges-grid.single-badge .badge-circle img {
    width: 80px;
    height: 80px;
}

/* RESOURCE LEVELS PAGE */
.lesson-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Quicksand', sans-serif;
}

.lesson-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.lesson-main {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.lesson-header {
    margin-bottom: 2rem;
    text-align: center;
}

.lesson-title {
    font-size: 2.2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.lesson-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.level-badge {
    background: #e3f2fd;
    color: #007bff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lesson-description {
    padding: 1.5rem;
}

.lesson-description h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lesson-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lesson-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.btn-finish-lesson {
    background: #18bfab;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-finish-lesson:not(.disabled):hover {
    background: #14a793;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-finish-lesson.disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-mark-complete {
    background: #18bfab;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-mark-complete.completed {
    background: #28a745;
}

.btn-mark-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-download {
    background: white;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lesson-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e3f2fd;
}

.sidebar-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e3f2fd;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #18bfab);
    border-radius: 3px;
}

.progress-container span {
    font-size: 0.8rem;
    color: #666;
}

.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;

}

.lesson-item {
    border-bottom: 1px solid #e3f2fd;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-link {
    display: flex;
    padding: 1rem;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    position: relative;
}

.lesson-link:hover {
    background: #f8f9fa;
    text-decoration: none;
}

.lesson-item.active .lesson-link {
    background: #f0f8ff;
}

.lesson-icon {
    margin-right: 1rem;
    color: #007bff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.lesson-info {
    flex: 1;
}

.lesson-number {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.lesson-name {
    font-size: 0.95rem;
    margin: 0 0 0.2rem 0;
    font-weight: 500;
}

.lesson-duration {
    font-size: 0.8rem;
    color: #666;
}

.lesson-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 1rem;
    align-self: center;
}

.lesson-status.completed {
    background: #28a745;
}

.lesson-status.active {
    background: #007bff;
}

.lesson-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev, .btn-next {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-next {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.btn-prev:hover {
    background: #e9ecef;
}

.btn-next:hover {
    background: #0069d9;
    border-color: #0062cc;
}

.btn-prev.disabled, .btn-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lesson-item.completed .lesson-status {
    background-color: #28a745;
}

.lesson-item.completed .lesson-link {
    background-color: #f0fff4;
}

.btn-mark-complete.completed {
    background-color: #28a745;
}

.btn-mark-complete.completed:hover {
    background-color: #218838;
}

.lesson-status, .progress-fill {
    transition: all 0.3s ease;
}

.lesson-icon i {
    transition: all 0.2s ease;
}

.lesson-item.completed:hover .lesson-link {
    background-color: #e6ffed !important;
}

.check-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
    padding: 0;
}

.check-button:hover {
    border-color: #18bfab;
}

.check-button.completed {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.check-button.completed i {
    display: none;
}

.check-button.completed::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    color: white;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .lesson-content {
        grid-template-columns: 1fr;
    }

    .lesson-sidebar {
        order: -1;
    }
}

@media (max-width: 576px) {
    .lesson-title {
        font-size: 1.8rem;
    }

    .lesson-actions {
        flex-direction: column;
    }

    .btn-prev, .btn-next {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== COOKIES POLICY PAGE ===== */

    /* ===== COOKIES POLICY PAGE ===== */
    .cookies-header {
        padding: 3rem 0 2rem;
        text-align: center;
        background-color:#f9f9f9 ;
    }

    .header-content {
        max-width: 900px;
        margin: 0 auto;
    }

    .cookies-header h1 {
        font-size: 2.5rem;
        color: #007bff;
        margin-bottom: 0.5rem;
    }

    .last-updated {
        color: #666;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .divider {
        height: 2px;
        background: #f0f0f0;
        width: 80%;
        margin: 0 auto;
    }

    .cookies-container {
        padding-bottom: 4rem;
        font-family: 'Quicksand', sans-serif;
        line-height: 1.6;
        color: #333;
        background-color: #f9f9f9;
    }

    .cookies-content {
        max-width: 900px;
        margin: 0 auto;
        background: white;
        padding: 3rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .cookies-section {
        margin-bottom: 3rem;
    }

    .cookies-section h2 {
        font-size: 1.8rem;
        color: #18bfab;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #f0f0f0;
    }

    .cookies-section h3 {
        font-size: 1.4rem;
        color: #007bff;
        margin: 1.5rem 0 1rem;
    }

    .cookies-section p,
    .cookies-section li {
        font-size: 1.1rem;
        color: #444;
        margin-bottom: 1rem;
    }

    .cookies-section ul,
    .cookies-section ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
    }

    .cookies-section li {
        margin-bottom: 0.5rem;
    }

    .subsection {
        margin-bottom: 2rem;
    }

    a {
        color: #18bfab;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #14a793;
        text-decoration: underline;
    }

    @media (max-width: 768px) {
        .cookies-header {
            padding: 2rem 0;
        }

        .cookies-header h1 {
            font-size: 2rem;
        }

        .cookies-content {
            padding: 2rem;
        }

        .cookies-section h2 {
            font-size: 1.6rem;
        }
    }

    @media (max-width: 576px) {
        .cookies-header h1 {
            font-size: 1.8rem;
        }

        .cookies-content {
            padding: 1.5rem;
        }

        .cookies-section h2 {
            font-size: 1.4rem;
        }

        .cookies-section p,
        .cookies-section li {
            font-size: 1rem;
        }
    }

/* ===== TERMS OF USE PAGE ===== */
.terms-container {
    padding: 4rem 0;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.terms-header h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #666;
    font-size: 1rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-size: 1.8rem;
    color: #18bfab;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.terms-section p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1rem;
}

.terms-section a {
    color: #18bfab;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: #14a793;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terms-container {
        padding: 2rem 0;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-content {
        padding: 2rem;
    }

    .terms-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .terms-header h1 {
        font-size: 1.8rem;
    }

    .terms-content {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
    }

    .terms-section p {
        font-size: 1rem;
    }
}
