/*

TemplateMo 590 topic listing

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

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #13547a;
  --secondary-color:              #80d0c7;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #80d0c7;
  --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); 
}


/*---------------------------------------
  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);
}
.container_logo{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}
.container_logo:hover{
  color: #000;
}
.container_logo span{
  font-size: 27px;
  font-weight: 800;
  text-wrap: nowrap;
}

/*---------------------------------------
  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%, #80d0c7 100%);
  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);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.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: 170px;
  padding-bottom: 100px;
}

.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);
}


/*---------------------------------------
  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;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  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: 20px;
  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;
}


/*---------------------------------------
  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/colleagues-working-cozy-office-medium-shot.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: var(--secondary-color);
  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: var(--secondary-color);
  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 #fff;
  position: absolute;
  background-color: var(--secondary-color);
  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;
}


/*---------------------------------------
  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);
}


/*---------------------------------------
  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;
  }
  .contenu_section_1{
    flex-direction: column-reverse;
    align-items: center !important;
    justify-content: center;
    width: 100%;
  }
  .contenu_section_1 .container1{
    width: 100% !important;
  }
  .contenu_section_1 .container2{
    width: 100% !important;
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 40px !important;
  }
    .contenu_section_1 .container1 iframe{
      width: 100%;
    }
    .container_section_2 div ul{
      display: flex;
      flex-direction: column !important;
    }
    .container_section_3{
      display: flex;
      flex-direction: column-reverse !important;
    }
    .container_section_3 .course_includes{
      margin-top: 30px;
    }
}

@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;
  }
}

.contianer_user_info{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  position: relative;
}
.contianer_user_info:hover span{
 color: #13547a;
 cursor: pointer;
}
.contianer_user_info:hover a{
  background-color: #13547a;
  color: white;
  cursor: pointer;
}
.contianer_user_info span{
  color: white;
}

.menu_profile{
  box-shadow: 1px 1px 8px rgba(194, 194, 194, 0.89);
  position: absolute;
  bottom: -160px;
  padding: 15px 0;
  background-color: white;
  border-radius: 0px 0px 10px 10px;
  display: none;
    opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;

  transition: 
    opacity 0.25s ease,
    transform 0.25s ease;
}
.menu_profile.open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.menu_profile ul{
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center !important;
  padding-left: 0;
  padding: 0 15px;

}
.menu_profile ul li{
  
  padding: 5px 5px;
  margin: auto;
  width: 100%;
}
.menu_profile ul li form button{
  background: #ffffff00;
  border: none;
  padding: 0;
}
.menu_profile ul li form button:hover{
  background: #eeeeee !important;
  color: #000 !important;
  cursor: pointer;
}

.menu_profile ul li{
  color: #000;
  font-size: 17px;
}
.menu_profile ul li:hover{
  background: #eeeeee !important;
  color: #000 !important;
  cursor: pointer;
}

.list-courses{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content:center;
  flex-wrap: wrap;
  gap: 20px;
}
.list-courses div{
  margin-bottom: 5px;
}
.list-courses div div{
  display: flex;
  flex-direction: column;
}
.image-course{
  width: 200px;
  height: 100px;
}
.title-course{
  font-size: 18px;
  text-align: center;
}
.container_pagination{
  width: 100%;
  display: flex;
  justify-content: center;
}
.container_pagination nav div:last-child div:first-child{
  display: none;
}
.contenu_section_1{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items:start;
  margin-top: 30px;
}
.contenu_section_1 .container1{
  width: 60%;
  border: 3px solid rgb(124, 124, 124);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contenu_section_1 .container2{
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 5px;
  margin-top: 25px;
  width:35%;
}
.contenu_section_1 .container2 h3{
  font-size: 23px;
}
.contenu_section_1 .container2 h3 .icone1{
  color: #F9A826;
}
.contenu_section_1 .container2 h3 .icone2{
  color: #2681f9;
}
.contenu_section_1 .container2 h3 .icone3{
  color: #269af9;
}
.contenu_section_1 .container2 h3 .icone4{
  color: #2634f9;
}
.contenu_section_1 .container2 h3 .icone5{
  color: #6526f9;
}
.container_section_2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.container_section_2 div{
  border: 2px solid #717275;
  border-radius: 8px;
  padding: 18px;
  width: 80%;
}
.container_section_2 div ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 18px;
}
.container_section_2 div ul li{
  font-size: 16px;
  color: #000000;
  max-width: 45%;
}
.container_section_3{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.course_includes{
  height: fit-content;
}
.course_includes,.course_content{
  border: 1px solid burlywood;
}
.course_includes{
  border-radius: 8px;
}
.course_includes div{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 18px;
  border-top: 1px solid burlywood;
}
.course_includes div:first-child{
  border-top: none;
  background-color: #13547a;
  color: white;
  border-radius: 8px 8px 0 0;
}
.course_includes div:first-child h5{
  color: white;
}
.course_includes div span{
  display: flex;
  align-items: center;
  gap: 6px;
}
.course_includes div span i{
  font-size: 20px;
}
.course_content div{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 8px;
  border-top: 1px solid burlywood;
}
.course_content div:first-child{
  border-top: none;
}
.course_content div h6{
  margin-bottom: 0;
}
.container_section_4{
  display: flex;
  justify-content: center;
}
.container_section_4 button{
  border: none;
  background-color: #13547a;
  color: white;
  padding: 11px 45px;
  border-radius: 8px;
  box-shadow: 1px 1px 8px rgb(129, 129, 129);
  font-size: 20px;
}
.container_section_4 button:hover{
  box-shadow: none;
}
.navbar_lesson{
    background-image: linear-gradient(15deg, #2d84b6 0%, #80d0c7 100%);
}

/* lesson_contents */
.section1_lesson{
  margin-top: 100px;
 padding: 0px 3%;

}
.lesson_contents{
  display: flex;
  gap: 5px;
  justify-content: space-between;
}
.lesson_contents #video_lesson{
  width: 75%;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 0px 0px 5px rgb(201, 200, 200);
  position: relative;
} 
.container_list_lesson{
  width: 25%;
  display: flex;
  flex-direction: column;
   
}
.container_list_lesson .list_header{
  border: 1px solid black;
  display: flex;
  justify-content: space-between;
  padding:10px;
}
.container_list_lesson .list_body{
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  border: 1px solid black;
  position: relative;
}
.container_list_lesson .list_body div:nth-last-child(2){
  border-bottom: 1px solid burlywood !important;
}
.container_list_lesson .list_body div a{
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #000;
}
#button_show_list,#button_show_list1{
  background-image:linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  width: 60px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  right: 0px;
  z-index: 100;
  display: none;
}
#button_show_list1 i{
  font-size: 30px;
}
#button_show_list i{
  font-size: 30px;
}
.list_body div{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 8px;
  border-top: 1px solid burlywood;
}
.container_bar_progress{
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  height: 15px;
}
.container_bar_progress span{
  position: absolute;
  top: -20px;
  right: 20px;
}
.bar_progress{
  background: #5b5b5b;
  width: 90%;
  height: 15px;
  border-radius: 15px;
}
.bar_progress div{
  background: #000;
  width: 10%;
  height: 15px;
  border-radius: 15px;
}
.contenu{
  padding: 20px;
}
.contenu_header{
  background: #e6e6e6;
  margin-top: 60px;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgb(180, 180, 180);
}
.contenu_header ul{
  display: flex;
  list-style-type: none;
  gap: 15px;
  justify-content: center;
  align-items: center;
  padding: 7px;
}
.contenu_header ul li a{
  color: #000;
}
/* test_lesson */
.header_test{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_test div{
  display: flex;
  flex-direction: row;      /* بدل column */
  justify-content: center;
  align-items: center;
  gap: 8px;

  border: 2px dashed black; /* border متقطع */
  width: 140px;             /* طول أكثر */
  height: 50px;             /* ارتفاع أقل */
  border-radius: 30px;      /* شكل ساعة */
}
.header_test div i{
  font-size: 18px;
}

.header_test div span{
  font-weight: bold;
}

.test_lesson{
  border: 1px solid rgb(192, 192, 192);
  box-shadow: 1px 1px 3px rgb(192, 192, 192);
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 100vh;
  width: 75%;
  overflow-y: auto;
}
.test_lesson .title_test{
  text-align: center;
}
.container_test{
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.container_test .test{
  border: 1px solid rgb(175, 174, 174);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.container_test .test h4{
  text-align: center;
  font-size: 20px;
}
.container_test .test div{
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}
.container_test .test div input{
    transform: scale(1.5);
}
.container_btn_submit{
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.container_btn_submit button{
  padding: 10px 40px;
  border-radius: 10px;
  background: #00BFA6;
  color: white;
}
/* result page */
.alert_test_success,.alert_test_fail,.alert_time_fail{
  background-color: #0000009a;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9900;
}
.alert_time_fail{
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.alert_time_fail div{
  background-color: white;
  width: fit-content;
  height: fit-content;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.alert_time_fail div .icon{
  font-size: 48px;
}
.alert_time_fail div .btn{
  background-color: #16a34a;
  color: white;
}
.result-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    font-family: system-ui;
    background: #f3f3f3;
    border-radius: 14px;
}

.result-header {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.result-header.success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.result-header.fail {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.score-box {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 8px solid #22c55e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-circle span {
    font-size: 36px;
    font-weight: bold;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.summary-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.summary-item.correct { border-left: 4px solid #22c55e; }
.summary-item.wrong   { border-left: 4px solid #ef4444; }
.summary-item.time    { border-left: 4px solid #3b82f6; }

.actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn.primary { background: #22c55e; color: white; }
.btn.secondary { background: #3b82f6; color: white; }
.btn.link { color: #374151; }
/* page mycourses */

/* Sidebar */
.sidebar {
    width: 260px;
    background: #fff;
    min-height: 100vh;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-shadow: 1px 1px 3px rgb(230, 229, 229);
}

.profile {
    text-align: center;
    padding: 20px;
}

.avatar {
    width: 70px;
    height: 70px;
    background: #c2185b;
    color: #fff;
    font-size: 30px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_sidebar {
    list-style: none;
    padding-left: 0px;
}

.menu_sidebar li {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.menu_sidebar li.active {
    background: #f1f1f1;
    font-weight: bold;
}

.menu_sidebar .logout {
    color: red;
}

/* Main */
.main {
    flex: 1;
    padding: 20px;
}

/* Navbar */
.container_profile{
  display: flex;
  justify-content: space-around;
}

/* Alert */
.alert {
    background: #f8ecc4;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ecf3f2;
    text-align: center;
}

/* Courses */
.courses {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgb(194, 194, 194);
    box-shadow: 1px 1px 3px rgb(194, 194, 194);
}

.course-info {
    width: 60%;
}

.course-info h4 {
    margin-bottom: 10px;
}

.progress {
    background: #eee;
    height: 8px;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.progress span {
    display: block;
    height: 100%;
    background: #0d6efd;
}

.actions {
    margin-top: 10px;
}

.btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: #0d6efd;
    color: #fff;
}

.course-image img {
    width: 180px;
    border-radius: 8px;
}



.okio{
  background: #ebf3ff;
  color: #00BFA6 !important;
}
.locked{
    pointer-events: none;
    opacity: .5;
    cursor: not-allowed;
}

.alert1 {
  position: fixed;
  top: 80px;
  right: -400px;
  min-width: 300px;
  max-width: 90%;
  padding: 16px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  animation: slideIn 0.6s ease forwards,
  slideOut 0.6s ease forwards 4s;
}
 /* success */
.alert-success1 {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
    /* error */
.alert-error1 {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: white !important;
}

  /* animations */
@keyframes slideIn {
  from { right: -400px; opacity: 0; }
  to   { right: 20px; opacity: 1; }
}
@keyframes slideOut {
  from { right: 20px; opacity: 1; }
  to   { right: -400px; opacity: 0; }
}

#button_download_pdf{
position: fixed;
top: 10px;
right: 10px;
}
#button_download_pdf button{
  padding:10px 20px; 
  border-radius:50px; 
  background:#0ea5e9; 
  color:white; 
  border:none; 
  cursor:pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#button_download_pdf button i{
  font-size: 19px;
  margin-top: 5px;
}
.container_certife{
position: absolute;
bottom: 0px;
width: 100%;
}










/* width */
::-webkit-scrollbar {
    width: 6px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #00bfa69f; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #00BFA6; 
  }

.navbar-nav1{
     display: flex;
    justify-content: center;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  #navbarNav{
    display: flex;
    justify-content: space-evenly !important;
  }
  .contaner_button_test{
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
 .button_test{
    background-color: #13547a;
    color: white;
    border: none;
    padding: 8px 45px;
    border-radius: 8px;
    margin: auto;
    box-shadow: 1px 1px 8px rgb(129, 129, 129);
 }
 .programe_header {
         background: linear-gradient(135deg, #39a871, #107e47);
         color: #fff;
         padding: 40px;
         text-align: center;
      }

      .programe_header h1 {
         margin-bottom: 10px;
      }

      .programe_course_info {
         display: flex;
         justify-content: center;
         margin: 30px 0;
      }

      .programe_card {
         background: #fff;
         width: 80%;
         max-width: 600px;
         padding: 20px;
         border-radius: 12px;
         box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      }

      .programe_card h2 {
         margin-bottom: 15px;
         color: #107e47;
      }

      .programe_card ul li {
         margin-bottom: 10px;
         list-style: none;
      }

      .programe_lessons {
         width: 80%;
         max-width: 700px;
         margin: auto;
         margin-bottom: 40px;
      }

      .programe_lessons h2 {
         margin-bottom: 15px;
         color: #107e47;
      }

      .programe_lesson {
         background: #fff;
         padding: 12px;
         margin-bottom: 8px;
         border-radius: 8px;
         border-right: 5px solid #107e47;
         transition: 0.3s;
      }

      .programe_lesson:hover {
         background: #eef3ff;
      }

      .programe_footer {
         background: #107e47;
         color: #fcfdfd;
         text-align: center;
         padding: 15px;
      }
      .course_content_pdf{
        width: 100%;
        position: absolute;
        left: -9999px;
        top: 0;
        background: #fffdfd;
        border: none;
      }
.loading-alert{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1e3c72;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    font-size: 14px;
    display: none;
    z-index: 9999;
}
.loading-alert .spinner{
    display: inline-block; 
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
  }

/*  form search un furmation */

.container_form_resulta{
  display: flex;
  justify-content: center;
}
.container_form_resulta .form_resulta{
  width: 50%;
  background: #ffffff;
  border-radius: 0px 0px 14px 14px;
  display: flex;
  flex-direction: column;
 }
.container_form_resulta .form_resulta div{
  padding: 10px 20px;
  background-color: #eeeeeea6;
  border-radius: 14px;
  margin: 4px 10px;
  display: none;
  cursor: pointer;
}
.container_form_resulta .form_resulta div:hover{
  background: #e9e7e7;
}

.new_style_a{
  color: #000;
}
.new_style_a:hover{
  background-color: none;
}
/* page contact */
.container_contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container_button_contact{
  display: flex;
  justify-content: center;
  width: 100%;
}
.menu_span{
  color: #000 !important;
}
.button_logout{
  color: #000 !important;
}
.button_test:hover{
  color: white;
}