/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */
 

 /* Fonts and Colors */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  line-height: 1.5rem !important;
}


h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600 !important;
  font-size: 200%;
}

h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600 !important;
  font-size: 160%;
}


p, button, nav li {
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

p {
    font-size: 1.1rem !important;
    font-weight: 300;
    color: #333333;

}

.academy-red {
  color: #900000;
}

.academy-green {
  color: #447c74;
}

.academy-blue {
  color: #19588e !important;
}

/* Background color */

.background-pattern {
  background:
    radial-gradient(circle at 20% 10%, rgba(25, 88, 142, 0.2), rgba(25, 88, 142, 0) 30%),
    radial-gradient(circle at 75% 40%, rgba(103,26,47, 0.2), rgba(103,26,47, 0) 30%),
    radial-gradient(circle at 90% 80%, rgba(25, 88, 142, 0.1), rgba(25, 88, 142, 0) 30%),
    radial-gradient(circle at 10% 70%, rgba(103,26,47, 0.2), rgba(103,26,47, 0) 25%),
    radial-gradient(circle at 50% 90%, rgba(25, 88, 142, 0.2), rgba(25, 88, 142, 0) 25%),
    radial-gradient(circle at 85% 20%, rgba(103,26,47, 0.15), rgba(103,26,47, 0) 20%),
    white;
}


/* Navbar */
.navbar {
  padding: 20px 30px;
}

.navbar-brand {
  width: 120px;
  height: auto;
}

.navbar-nav .nav-link {
  color: rgb(116, 115, 115);
}

.navbar-nav .nav-link:hover,
.navbar-nav .btn:hover {
  font-weight: bold;
}

/* Main Buttons */

/* Primary Button with Gradient */

.btn {
  padding: 10px 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem;


}
.btn-primary {
  background-image: linear-gradient(to right, #19588e, #163d6d);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-image: linear-gradient(to right, #163d6d, #122b5a);
  color: white;
}

/* Outline Secondary Button */
.btn-outline-secondary {
  color: #19588e;
  border-color: #19588e;
  background-color: transparent;
}

.btn-outline-secondary:hover {
  color: #FFF;
  background-color: #1c749b;
  border-color: #1a6a8d;
}




/* HERO  SECTION*/


.hero-section {
  min-height: 70vh;
}

.small-title {
  color: #19588e;
  margin-bottom: 1rem;
  font-weight: bold;
}

.subtitle {
  color: #505050;
  margin-bottom: 2rem;
}

.hero-image {
  margin: auto;
  display: flex;
  max-height: 80vh;
  justify-content: center;
  align-items: center;
}

.button-group .btn {
  padding: 0.75rem 1.5rem;
}



.section-separator {
  width: 50vw;
  height: 2px;
  background-color: rgba(200, 200, 200, 0.5);
  margin: 40px auto;
}
/* Speaker about card */

.speaker-card-img{
  object-fit: cover; 
  height: 200px;
}

/* Stat Cards */
.stat-card {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  padding: 20px;
  margin: 10px;
  overflow: hidden;
  position: relative;
  min-height: 32vh;
  background: rgba(255,255,255,0.8);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.4);
}


.number-highlight {
  font-size: 2.5rem;
  font-weight: bold;
  color: #19588e;
  display: block;
  margin-bottom: 10px;
}

.stat-card h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.stat-card p {
  font-size: 0.9rem;
  color: #6c757d;
}

.card-cta {
  margin-top: 20px;
  display: block;
}

.card-cta a, .lavora-con-noi-span a {
  color: #19588e;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.card-cta a:hover {
  color: #163d6d;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Event Cards */
#event_card {
  object-fit: cover;
}
.card-event {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.card-event:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-event-img-top {
  border-radius: 8px 8px 0 0;
  transition: opacity 0.3s ease-in-out;
}

.card-event-img-top:hover {
  opacity: 0.9;
}

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

.card-event-title {
  color: #19588e;
  font-weight: bold;
  padding-top: 5px;
}

.card-event-text {
  color: #6c757d;
}

.card-event-title, .card-event-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%; /* Adjust if necessary */
}



.badge {
  font-weight: normal;
  background-color: #447c74; /* A color that matches your theme */
}


.newsletter-glass-card h2 {
  font-weight: bold;
  margin-bottom: 15px;
}

.newsletter-glass-card p {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 25px;
}

/* Email Icon Circle */
.icon-circle {
  display: inline-block;
  background-color: #D7E9F7;
  border-radius: 50%;
  padding: 10px;
  margin-right: 10px;
}

.newsletter-icon {
  color: #19588e;
  font-size: 1.5rem;
}

.newsletter-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WEBINAR HERO  SECTION*/
.webinar-hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 400px;
  /* Adjust the height as needed */
  color: #fff;
  /* White text color for better contrast */
}

/* Add a semi-transparent overlay to ensure text readability */
.webinar-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(135, 135, 135, 0.7);
  z-index: 0;

}

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


/* Footer */
footer {
  background-color: transparent;
  color: #343a40;
  opacity: 0.6;
}

footer a {
  text-decoration: none;
  color: #454d55;
}

footer a:hover {
  color: #19588e;
}



th, td {
  background-color: transparent !important;
}

#ebooks-list {
min-height: 90vh;
}


.badge-relatore {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: thin;
  color: #19588e;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  background-color: #19578e3f;
}

.team-card {

  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  margin: 10px;
  overflow: hidden;
  position: relative;
  min-height: 32vh;
  background: rgba(255,255,255,0.8);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}

.team-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


.team-card-profile {
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures uniform card height */
}

.team-card-profile .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-card-profile .card-title {
  font-size: clamp(0.8rem, 2vw, 1.2rem); /* Responsive font size adjustment */
}

.bold-title {
  font-weight: bold !important;
}

.webinar-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Icon Detail */
.icon-detail {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-container {
  background-color: #19588e3f;
  border-radius: 10px;
  padding: 10px;
  width: 100px;
  /* You can adjust this if needed */
  height: 100px;
  /* You can adjust this if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  font-size: 2em;
  margin-bottom: 10px;
}

.icon-container:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.icon-container i {
  font-size: 2rem;
  color: #19588e;
}

.detail-text {
  margin-top: 10px;
  color: #19588e;
}

/* Ensure 2 columns on medium screens and larger, 2 per row on small screens */
.icon-detail-container .col-md-6 {
  flex: 0 0 50%;
  /* 2 per row on medium and larger screens */
  max-width: 50%;
}

.icon-detail-container .col-6 {
  flex: 0 0 50%;
  /* 2 per row on small screens */
  max-width: 50%;
}

@media (max-width: 767.98px) {
  .icon-detail-container .col-6 {
    flex: 0 0 50%;
    /* 2 per row on small screens */
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .icon-detail-container .col-6 {
    flex: 0 0 100%;
    /* 1 per row on extra small screens */
    max-width: 100%;
  }
}

/* Programma Section */
.programma-section h2 {
  color: #19588e;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.programma-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.programma-card {
  border-radius: 10px;
  color: #555;
  line-height: 1.6;
  margin: 0 auto;
}

.accordion-button {
  background-color: #19588e;
  /* Primary color */
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #163c5b;
  /* Darker shade of the primary color */
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background-color: #f7f9fc;
  /* Light background color */
  color: #333;
  padding: 20px;
  border-radius: 5px;
  font-size: 1rem;
}

.accordion-item {
  border: 1px solid #ddd;
  /* Light border color */
  border-radius: 5px;
  margin-bottom: 1rem;
}

.accordion-header {
  margin-bottom: 0;
  background-color: #f7f9fc;
  /* Matching background color for header */
  border-bottom: 1px solid #ddd;
}

.accordion-button::after {
  /*content: '\f078';*
  /* FontAwesome chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {  
  /* FontAwesome chevron-up */
  color: #fff;
  transform: rotate(0deg);
}

/* Glass Card Style */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Dettagli Title Style */
.dettagli-title {
  font-weight: bold;
  color: #19588e;
  text-transform: uppercase;
  margin-bottom: 20px;
}


/* TABLE */

.table tbody tr {
  cursor: pointer;
}

.table tbody tr:hover {
  background-color: #f1f1f1;
}

.table tbody tr {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.table tbody tr:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.table tbody tr:focus {
  outline: none;
}

/* Ensure image responsiveness with max size constraints */
.speaker-section img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

/* Limit initial text display for descriptions */
.description-collapsed {
  max-height: 8em;
  overflow: hidden;
  white-space: nowrap;
}

.subtitle-description {
  transition: opacity 0.3s ease, max-height 0.3s ease;
  max-height: 100px; /* Adjust based on your content */
  opacity: 1;
}

.hidden-description {
  max-height: 3rem;
  opacity: 1;
  overflow: hidden;
}