/*---------------------------------------
  HIGHLIGHT              
-----------------------------------------*/
.highlight {
    background: var(--primary-color);
    padding-bottom: 16px;
}

.highlight-thumb {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    margin-bottom: 24px;
    /* Modernization */
    border-radius: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add hover lift to highlight */
.highlight-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Remove this if it conflicts with hover layout, but usually it's for overlay */
}

/* Round images to match container */
.highlight-thumb img {
    border-radius: 20px;
}

.highlight-thumb:hover .highlight-title {
    opacity: 0;
    visibility: hidden;
}

.highlight-thumb:hover .highlight-icon {
    opacity: 1;
    visibility: visible;
}

.highlight-thumb:hover .highlight-image {
    transform: scale(1.1);
}

.highlight-info {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.highlight-image {
    display: block;
    width: 100%;
    transition: transform 2s;
}

.highlight-title {
    color: var(--white-color);
    transition: opacity 1s;
    margin-bottom: 0;
}

.highlight-icon {
    color: var(--highlight-icon-color);
    font-size: var(--h1-font-size);
    opacity: 0;
    transition: transform 1s;
    visibility: hidden;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.highlight-icon:hover {
    color: var(--primary-color);
}


/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
    position: relative;
    height: calc(90vh - 84px);
}

.hero::after {
    content: "";
    background: rgba(0, 0, 0, 0) linear-gradient(rgba(39, 48, 83, 0.1) 0%, var(--primary-color) 100%) repeat scroll 0% 0%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin-bottom: -5px;
}

.hero-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero .arrow-icon {
    position: relative;
    top: 50px;
}

.video-wrap {
    z-index: -100;
}

.custom-video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.date-text,
.location-text {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    display: inline-block;
    padding: 10px 20px;
}

.date-text {
    border-right: 0;
}


/*---------------------------------------
  SPEAKERS              
-----------------------------------------*/
.types {
    background: var(--section-bg-color);
}

.speakers-thumb {
    cursor: pointer;
    position: relative;
}

.speakers-thumb-small {
    margin-top: 24px;
}

.speakers-thumb:hover .speakers-info::before {
    background: var(--primary-color);
    width: 100%;
    padding: 15px;
}

.speakers-thumb:hover .speakers-title,
.speakers-thumb:hover .speakers-text {
    color: var(--white-color);
}

.speakers-info {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 20px;
    padding: 10px 15px;
}

.speakers-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--primary-color);
    width: 5px;
    height: 100%;
    transition: all 1s;
}

.speakers-image {
    width: 100%;
}

.speakers-text-info {
    padding: 100px;
}

.speakers-title,
.speakers-text {
    position: relative;
}

.speakers-text {
    font-size: 12px;
    text-transform: uppercase;
}

.speakers-featured-text {
    background: var(--secondary-color);
    border-radius: 4px;
    color: var(--white-color);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    text-transform: uppercase;
    margin: 10px;
    padding: 4px 12px;
}

.speakers-thumb .social-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 15px;
}

.speakers-thumb .social-icon {
    opacity: 0;
    transition: opacity all 1s;
}

.speakers-thumb:hover .social-icon {
    opacity: 1;
    transition-delay: 1s;
}

.sponsor-image {
    max-width: 130px;
    margin: 10px auto;
    height: auto;
}


/*---------------------------------------
  CALL TO ACTION              
-----------------------------------------*/
.commande {
    background-image: url('/assets/splash/splash1.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.commande::after {
    content: "";
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.commande .row {
    position: relative;
    z-index: 2;
}

.commande .custom-btn {
    background: var(--white-color);
    color: var(--dark-color);
}

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

.commande-perso {
    background-image: url('/assets/splash/splash2.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.commande-perso::after {
    content: "";
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.commande-perso .row {
    position: relative;
    z-index: 2;
}

.commande-perso .custom-btn {
    background: var(--white-color);
    color: var(--dark-color);
}


/*---------------------------------------
  SEMANTIC REFACTOR PRESERVATION
-----------------------------------------*/
/* Preserve H4 look to replace About H4 */
.text-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    /* Match Bootstrap default heading margin */
    line-height: 1.4;
    /* Match Bootstrap default heading line-height */
}

/* Preserve H3 look to replace About H3 */
.text-quote {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    color: var(--dark-color);
    letter-spacing: -1px;
    line-height: 1.2;
    /* Match Bootstrap default heading line-height */
    margin-bottom: 0.5rem;
    /* Match Bootstrap default */
}

.about-contact {
    margin-top: 1.5rem;
    font-size: 1.1em;
}

.about-contact a {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    text-decoration: underline;
    transition: color 0.3s;
}

.about-contact a:hover {
    color: var(--secondary-color);
}

.how-to-order {
    padding-bottom: 40px;
}

.how-to-order .row {
    padding: 15px 50px;
}

@media screen and (max-width: 500px) {
    .commande-perso {
        text-align: center;
    }

    .commande-perso p {
        text-align: justify;
    }
}

.how-to-order .custom-btn:hover {
    background: var(--navbar-third-bg-color);
    border-color: var(--navbar-third-bg-color);
}



/* Force H5 look for Types items (now H3) */
.speakers-title {
    font-size: var(--h5-font-size) !important;
    line-height: normal;
}

/* Force H4 look for Themes items (now H3) */
.pricing-title {
    font-size: var(--h4-font-size) !important;
}

/*---------------------------------------
  SPEAKERS (Types) & PRICING (Themes) MODERNIZATION             
-----------------------------------------*/

.speakers-thumb {
    /* Modernization */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speakers-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.speakers-image {
    width: 100%;
    border-radius: 20px;
    /* Ensure image is rounded */
}

/* Adjust speakers info to sit nicely within rounded card */
.speakers-info {
    border-radius: 15px;
    /* Slightly smaller radius for inner card */
    margin: 15px;
    /* Give it some breathing room from edges */
    bottom: 0;
    /* The rest of speakers-info styles are in css/style.css, we override behavior */
}


/* Pricing Thumb (Themes) Modernization */
.pricing-thumb {
    /* Modernization */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* remove any default borders */
}

.pricing-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-title-wrap {
    /* Ensure header respects radius */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.pricing-body {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 1500px) {
    .speakers-text-info {
        padding: 50px;
    }
}

@media screen and (max-width: 991px) {
    .hero {
        height: calc(75vh - 78.39px);
    }
}

@media screen and (max-width: 480px) {
    .hero-text {
        width: 100%;
    }
}