/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing timeline custom-

*/

/*--------------------------------------- text-end
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #13547a;
  --secondary-color:              #7B81C8;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #E56C74;
  --custom-btn-bg-hover-color:    #13547a;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #13547a;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


.featured-section {
  min-height: 40vh;
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-login {
  background-color: #7B81C8;
  color: white;
}


.carousel-custom-container {
  height: 80vh;
  max-height: 600px;
  min-height: 400px;
}

.custom-block {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: #000;
  position: relative;
}

.custom-block-overlay {
  position: relative;
}

.carousel-custom-block {
  display: flex;
  flex-direction: column;
}

.video-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100% - 120px);
  min-height: 300px;
  background: #000;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 15px 15px 0 0;
}

.custom-block-overlay-text {

}

.side-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-card i {
  color: #667eea;
  font-size: 1.5rem;
}

.side-card h6 {
  color: white;
  margin: 0;
  font-weight: 600;
}

.badge {
  background: rgba(102, 126, 234, 0.9) !important;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.social-share {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  align-items: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 15px 20px;
  z-index: 10;
}

.social-icon {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.social-icon-item {
  display: inline-block;
}

.social-icon-link {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon-link:hover {
  color: #667eea;
}

.custom-icon {
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-icon:hover {
  color: #667eea;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(102, 126, 234, 0.8);
  border-radius: 50px;
  border: none;
  margin: 0 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
}

.h-200 {
  height: 100% !important;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Responsividade */
@media (max-width: 992px) {
  .carousel-custom-container {
      height: 70vh;
      max-height: 500px;
  }
  
  .video-container {
      height: calc(100% - 100px);
  }
}

@media (max-width: 768px) {
  .carousel-custom-container {
      height: 60vh;
      max-height: 400px;
  }
  
  .custom-block-overlay-text,
  .social-share {
      padding: 10px 15px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
      width: 8%;
      height: 50px;
      margin: 0 10px;
  }
}


.fullscreen-video-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.video-wrapper {
  height: 100vh;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.media-carousel {
  height: 100vh;
  width: 100vw;
}

.carousel-slides {
  height: 100%;
}

.video-slide {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.iframe-wrapper {
  position: relative;
  width: 90%;
  height: 80%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.responsive-iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  border-radius: 20px;
}

.info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 1rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card i {
  color: #ffffff;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-buttons {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.social-btn, .bookmark-btn {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.social-btn:hover, .bookmark-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px);
}

.slide-counter {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

/* Controles de navegação */
.nav-prev,
.nav-next {
  width: 50px;
  height: 100px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 3;
}

.nav-prev {
  left: 20px;
}

.nav-next {
  right: 20px;
}

.nav-arrow-prev,
.nav-arrow-next {
  width: 30px;
  height: 30px;
}

/* Design responsivo */
@media (max-width: 768px) {
  .content-overlay {
      padding: 1rem;
  }
  
  .glass-card {
      padding: 0.5rem;
  }
  
  .social-buttons {
      gap: 0.5rem;
  }
  
  .social-btn, .bookmark-btn {
      width: 35px;
      height: 35px;
      font-size: 1rem;
  }
}





 /* Estilos para o vídeo ocupar todo o espaço */
 .carousel-custom-container {
  width: 100%;
  height: 100%;
  padding: 0;
}

.custom-block-overlay {
  padding: 0;
  height: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  overflow: hidden;
}

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

/* Ajustes para o carrossel */
.carousel-inner {
  width: 100%;
  height: 100%;
}

.carousel-item {
  height: 100%;
}

.modal {
  z-index: 1055 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

/* 2. Garantir que elementos não interfiram */
.overlay {
  z-index: 999 !important;
}

.sidebar {
  z-index: 1000 !important;
}

.side-panel {
  z-index: 1001 !important;
}

/* 3. Botão de login sempre clicável */
.btn-login {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* 4. Modal responsivo para tablets */
@media screen and (max-width: 992px) {
  .modal-dialog {
      margin: 15px;
      max-width: calc(100% - 30px);
  }
}

/* 5. Modal responsivo para smartphones */
@media screen and (max-width: 768px) {
  .modal {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  
  .modal-dialog {
      margin: 10px;
      max-width: calc(100% - 20px);
      width: auto;
  }
  
  .modal-content {
      border-radius: 15px;
      margin: 0;
  }
  
  .modal-header {
      padding: 1.5rem 1.5rem 0.5rem;
  }
  
  .modal-body {
      padding: 0.5rem 1.5rem 1.5rem;
  }
  
  /* Ajustar z-index de elementos que podem interferir */
  .sidebar {
      z-index: 999 !important;
  }
  
  .side-panel {
      z-index: 998 !important;
  }
}

/* 6. Modal responsivo para telas muito pequenas */
@media screen and (max-width: 480px) {
  .modal-dialog {
      margin: 5px;
      max-width: calc(100% - 10px);
  }
  
  .modal-content {
      border-radius: 10px;
  }
  
  .modal-header {
      padding: 1rem 1rem 0.5rem;
  }
  
  .modal-body {
      padding: 0.5rem 1rem 1rem;
  }
  
  /* Formulário mais compacto */
  .form-floating {
      margin-bottom: 0.75rem;
  }
  
  .btn-primary, .btn-outline-primary {
      padding: 0.5rem;
      font-size: 0.9rem;
  }
  
  /* Sidebar em linha na parte inferior */
  .sidebar {
      z-index: 999 !important;
  }
}

/* 7. Garantir que o backdrop não interfira */
.modal-backdrop {
  pointer-events: auto !important;
}

/* 8. Correção específica para elementos overlay */
.overlay.active {
  pointer-events: none !important; /* Permitir cliques através do overlay */
}

/* 9. Garantir visibilidade do modal */
.modal.show {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 10. Correção para navegação mobile */
@media screen and (max-width: 991px) {
  .navbar {
      z-index: 1030 !important; /* Menor que o modal */
  }
}

 .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .modal-header {
            border-bottom: none;
            padding: 2rem 2rem 1rem;
        }
        
        .modal-body {
            padding: 1rem 2rem 2rem;
        }
        
        .nav-tabs {
            border-bottom: 2px solid #e9ecef;
            margin-bottom: 2rem;
        }
        
        .nav-tabs .nav-link {
            border: none;
            color: #6c757d;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            margin-bottom: -2px;
        }
        
        .nav-tabs .nav-link.active {
            color: #007bff;
            background-color: transparent;
            border-bottom: 2px solid #007bff;
        }
        
        .form-floating {
            margin-bottom: 1rem;
        }
        
        .form-control {
            border-radius: 10px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: #007bff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
        
        .btn-primary {
            background: linear-gradient(45deg, #007bff, #0056b3);
            border: none;
            border-radius: 10px;
            padding: 0.75rem;
            font-weight: 600;
            transition: transform 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            background: linear-gradient(45deg, #0056b3, #004085);
        }
        
        .btn-outline-primary {
            border-radius: 10px;
            border-width: 2px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .social-login {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e9ecef;
        }
        
        .btn-google {
            background-color: #db4437;
            color: white;
            border: none;
            border-radius: 10px;
            margin-bottom: 0.5rem;
        }
        
        .btn-google:hover {
            background-color: #c23321;
            color: white;
        }
        
        .btn-facebook {
            background-color: #3b5998;
            color: white;
            border: none;
            border-radius: 10px;
        }
        
        .btn-facebook:hover {
            background-color: #2d4373;
            color: white;
        }
        
        .forgot-password {
            color: #007bff;
            text-decoration: none;
            font-size: 0.9rem;
        }
        
        .forgot-password:hover {
            color: #0056b3;
            text-decoration: underline;
        }


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family); 
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

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

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #7B81C8 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay-alter {
 
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.static-event-title {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 15px;
  border-radius: 5px;
}

.event-static {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #E56C74;
  color: white;
  padding: 8px 14px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-static i {
  font-size: 16px;
}

.event-static h6 {
  font-size: 16px;
  margin: 0;
}

.side-card {
  position: absolute;
  left: 0;
  top: 20px;
  width: 150px;
  background-color: #E56C74;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  color: white;
  padding: 20px;
  z-index: 1000;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.side-card h6, .side-card h5, .side-card p {
  margin-bottom: 10px;
}

.side-card .btn {
  background-color: white;
  color: #E56C74;
  border: none;
}

.side-card .btn:hover {
  background-color: #f8d2d5;
  color: #E56C74;
}

.side-card i {
  margin-right: 8px;
}


/*---------------------------------------
  CUSTOM ICON COLOR               cv
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}


/*--------------------------------------- date-tag
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--secondary-color);
}

.navbar {
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-family: var(--title-font-family); 
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: var(--h5-font-size);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

 
        /* Estilos para o sidebar de botões */
        .sidebar {
          position: fixed;
          right: 20px;
          top: 50%;
          transform: translateY(-50%);
          display: flex;
          flex-direction: column;
          gap: 10px;
          z-index: 1000;
      }

      .sidebar-button {
          width: 60px;
          height: 60px;
          border-radius: 50%;
          background-color: #E56C74;
          display: flex;
          justify-content: center;
          align-items: center;
          color: white;
          cursor: pointer;
          transition: all 0.3s ease;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      .sidebar-button:hover {
          transform: scale(1.1);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      }

      .sidebar-button svg {
          width: 30px;
          height: 30px;
          fill: white;
      }

      /* Tooltip para os botões */
      .sidebar-button {
          position: relative;
      }

      .sidebar-button .tooltip {
          position: absolute;
          right: 70px;
          background-color: #333;
          color: white;
          padding: 5px 10px;
          border-radius: 4px;
          font-size: 14px;
          white-space: nowrap;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
      }

      .sidebar-button:hover .tooltip {
          opacity: 1;
          visibility: visible;
      }

      /* Estilos para o painel lateral de conteúdo */
      .side-panel {
          position: fixed;
          top: 0;
          right: -350px;
          width: 350px;
          height: 100vh;
          background-color: #7B81C8;
          z-index: 1001;
          transition: right 0.3s ease;
          overflow-y: auto;
          box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
      }

      .side-panel.active {
          right: 0;
      }

      .panel-header {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 20px;
          border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      }

      .panel-header h2 {
          color: white;
          font-size: 28px;
          margin: 0;
          font-weight: 700;
      }

      .panel-header .subtitle {
          color: #e0e0e0;
          margin-bottom: 0;
          font-size: 18px;
          font-weight: normal;
      }

      .close-btn {
          background: none;
          border: none;
          color: white;
          font-size: 30px;
          cursor: pointer;
          padding: 5px;
      }

      .panel-content {
          padding: 0;
      }

      .menu-item {
          padding: 20px;
          border-bottom: 1px solid rgba(255, 255, 255, 0.2);
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: white;
          text-decoration: none;
          transition: background-color 0.3s;
      }

      .menu-item:hover {
          background-color: rgba(255, 255, 255, 0.1);
      }

      .menu-item .arrow {
          font-size: 20px;
      }

      .icon-container {
          display: flex;
          align-items: center;
          gap: 15px;
      }

      /* Overlay para fundo escurecido quando o painel está aberto */
      .overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100vw;
          height: 100vh;
          background-color: rgba(0, 0, 0, 0.5);
          z-index: 999;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
      }

      .overlay.active {
          opacity: 1;
          visibility: visible;
      }

      /* Estilos para os ícones do painel */
      .panel-icon {
          width: 40px;
          height: 40px;
      }

      /* Estilos responsivos */
      @media (max-width: 768px) {
          .sidebar {
              right: 10px;
          }
          
          .sidebar-button {
              width: 50px;
              height: 50px;
          }
          
          .sidebar-button svg {
              width: 25px;
              height: 25px;
          }
          
          .side-panel {
              width: 300px;
          }
      }

      @media (max-width: 480px) {
          .sidebar {
              bottom: 20px;
              top: unset;
              transform: none;
              flex-direction: row;
              right: 50%;
              transform: translateX(50%);
          }
          
          .side-panel {
              width: 100%;
              right: -100%;
          }
      }
.carousel-custom-container {
  height: 500px; /* Altura fixa - ajuste conforme necessário */
  width: 100%;
  position: relative;
}

.carousel-custom-block {
  height: 100%;
}

.custom-block-image {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Garante que a imagem cubra o espaço mantendo proporções vertical */
}

/* Garante que o overlay ocupe todo o espaço */
.custom-block-overlay {
  height: 100%;
}

.news-card {
  transition: transform 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

.news-card h5 {
  color: #333;
  font-weight: 600;
}

.date-tag {
  background-color: #7B81C8; /* Azul Bootstrap */
  color: white;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
  z-index: 1;
}


.news-label {
  position: absolute;
  top: 10px;
  left: 10px;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background: 
  linear-gradient(15deg, #13547a 0%, #7B81C8 100%),
  url('../images/cv_white.webp') no-repeat right 50px center/300px 300px;
background-blend-mode: overlay;
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}


/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
}

.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.custom-block:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.custom-block > a {
  width: 100%;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}

.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}

.custom-block-overlay {
  height: 100%;
  min-height: 350px;
  padding: 0;
}

.custom-block-overlay > a {
  height: 100%;
}

.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}

.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

.social-share {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
  color: var(--secondary-color);
}

.bg-design {
  background-color: #00B0FF;
}

.bg-graphic {
  background-color: #00BFA6;
}

.bg-advertising {
  background-color: #F50057;
}

.bg-finance {
  background-color: #536DFE;
}

.bg-music {
  background-color: #F9A826;
}

.bg-education {
  background-color: #00BFA6;
}


/*--------------------------------------- contact
  TOPICS               
-----------------------------------------*/
.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}

.topics-listing-page .site-header {
  padding-bottom: 65px;
}

.custom-block-topics-listing-info {
  margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
  height: inherit;
}

.custom-block-topics-listing .custom-block-image {
  width: 200px;
}


/*---------------------------------------
  PAGINATION              
-----------------------------------------*/
.pagination {
  margin-top: 40px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active>.page-link, .page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}


/*---------------------------------------
  TIMELINE              
-----------------------------------------*/
.timeline-section {
  background-image: url('../images/doc_wp.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: #FFDA22;
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFDA22 ;
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid var(--white-color);
  position: absolute;
  background-color:  #7B81C8;
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}


/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*--------------------------------------- date
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  border-bottom: 10px solid var(--secondary-color);
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer .dropdown-menu {
  padding: 0;
}

.site-footer .dropdown-item {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
  padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
  padding-bottom: 12px;
}

.site-footer .dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
  background-color: var(--primary-color);
  border-color: transparent;
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-medium);
  line-height: normal;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*--------------------------------------- carou
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: var(--secondary-color);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing > .d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

