:root {
  --accent-color: #7cb342;
  --accent-color-dark: #558b2f;
  --contrast-color: #ffffff;
  --nav-color: #212529;
  --nav-hover-color: #7cb342;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #7cb342;
}

.logo img {
  max-height: 60px;
}

.hero {
  background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-get-started {
  background: #558b2f;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-get-started:hover {
  background: #33691e;
  color: white;
  transform: translateY(-2px);
}

.section-title {
  text-align: center;
  margin-bottom: 0px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #6c757d;
}

.course-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
  border-left: 4px solid #7cb342;
}

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

.course-card h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.course-card p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.course-duration {
  background: #7cb342;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-icon-box {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.about-icon-box:hover {
  transform: translateY(-5px);
}

.about-icon-box i {
  font-size: 3rem;
  color: #7cb342;
  margin-bottom: 1rem;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #7cb342;
  box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.btn-primary {
  background: #7cb342;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #558b2f;
  transform: translateY(-2px);
}

.comunicados {
  background: #f8f9fa;
}

.comunicado-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;

  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #7cb342;
}

.comunicado-date {
  color: #7cb342;
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-panel {
  display: none;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
}

/* Traço verde abaixo dos títulos das seções */
.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #7cb342;
  margin: 30px auto 0;
}

/* Custom styles for menu text color on scroll */
.scrolled .header .navmenu a {
  color: #ffefff !important;
}

.scrolled .header .navmenu .active {
  color: #ffefff !important;
}

.scrolled .header .navmenu a:hover {
  color: #ffefff !important;
}

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

  .navbar-brand img {
    height: 40px;
  }

  /* Centralizar textos das seções Sobre, Cursos e Comunicados no mobile */
  #about .col-lg-6:first-child,
  #about .col-lg-6:first-child h3,
  #about .col-lg-6:first-child p {
    text-align: center;
  }

  #courses .course-card,
  #courses .course-card h4,
  #courses .course-card p {
    text-align: center;
  }

  #courses .text-center {
    text-align: center;
  }

  #comunicados .comunicado-item,
  #comunicados .comunicado-item h5,
  #comunicados .comunicado-item p {
    text-align: center;
  }
}

/* FAQ Styles */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item h3 {
  background: #7cb342;
  color: white;
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.faq-item h3:hover {
  background: #558b2f;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.faq-active h3::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.faq-active .faq-content {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-content p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
}

.course-highlights span {
  color: #4b793f;
  font-size: 1.2rem;
}

.course-hero h1 {
  color: #e8e8e8;
}

/* Hero Form Styles */
.hero-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.hero-form .form-group {
  margin-bottom: 20px;
}

.hero-form input[type="text"],
.hero-form input[type="email"],
.hero-form input[type="tel"] {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.hero-form input[type="text"]:focus,
.hero-form input[type="email"]:focus,
.hero-form input[type="tel"]:focus {
  outline: none;
  border-color: #7cb342;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

.hero-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-form .form-check input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1.2);
}

.hero-form .form-check label {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.btn-hero-submit {
  width: 100%;
  background: linear-gradient(135deg, #7cb342, #8bc34a);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero-submit:hover {
  background: linear-gradient(135deg, #689f38, #7cb342);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(124, 179, 66, 0.3);
}

.hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #fff;
}

.hero-cta {
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .hero-form-container {
    margin-top: 40px;
  }
}

/* Course Card Button Styles */
.course-card .btn {
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  display: block;
  text-align: center;
}

/* Admin Menu Styles */
.admin-menu-link {
  background: linear-gradient(135deg, #7cb342, #558b2f) !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.9rem !important;
}

.admin-menu-link:hover {
  background: linear-gradient(135deg, #558b2f, #33691e) !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(124, 179, 66, 0.3) !important;
}

/* Mobile menu admin link */
@media (max-width: 1199px) {
  .admin-menu-link {
    margin: 10px 0 !important;
    display: inline-block !important;
    text-align: center !important;
  }
}
