/* aboutnew.css - Styles pour la section About - Image ajustée pour préserver le texte */

/* Reset pour l'image-3 */
.about-image-wrapper {
    position: relative;
    padding-top: 100px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    min-height: 950px;
    overflow: visible;
    margin-top: -30px !important;
}

/* Icon two positioning */
.icon-two.bounce-y {
    top: 500px !important;
    position: absolute !important;
    z-index: 1 !important;
    display: block !important;
    width: 352px !important;
    height: 263px !important;
    background: url('../images/icons/building.png') no-repeat center center !important;
    background-size: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: -5% !important; /* Shift 5% to the right */
}

/* Shape one positioning */
.shape-one.bounce-y {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: absolute !important;
    z-index: -1 !important;
    display: block !important;
    width: 284px !important;
    height: 295px !important;
    background: url('../images/icons/shape-one.png') no-repeat center center !important;
    background-size: contain !important;
    opacity: 0.8 !important;
    visibility: visible !important;
    background-size: 284px 295px !important;
}

/* Images avec dimensions ajustées */
.image-1 {
    position: relative;
    top: 0px;
    margin-left: 0;
    overflow: hidden;
    margin-bottom: 0;
    z-index: -1;
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
}

.image-1 img {
    animation: bounce-x 10s infinite;
    width: 750px;
    height: 696px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 15px;
}

.image-3 {
    position: absolute;
    border: 0px solid #ffae00;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-3 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Bouton play */
.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    margin-left: -70px;
    margin-top: -70px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.play-btn:before {
    position: absolute;
    height: 110px;
    width: 110px;
    border: 2px dashed #001376;
    border-radius: 50%;
    left: 15px;
    top: 15px;
    content: "";
    animation: zoomInOut 2s infinite;
}

.play-btn .icon {
    position: relative;
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001376;
    padding-left: 5px;
    color: #ffffff;
    font-size: 22px;
    border-radius: 50%;
}

/* Animations */
@keyframes bounce-x {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Classes pour les animations wow.js */
.wow {
    visibility: hidden;
}

.zoomIn {
    animation-name: zoomIn;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

/* Styles de base pour les images */
img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* Lightbox image */
.lightbox-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-image:hover {
    transform: scale(1.05);
}

/* Icônes Font Awesome */
.fa {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-play:before {
    content: "\f04b";
}

/* ===============================================
   PROFESSIONAL ABOUT SECTION ENHANCEMENTS
   =============================================== */

/* About Section Base Styles */
.about-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    position: relative !important;
}

.about-section .auto-container {
    position: relative !important;
}

.row {
    position: relative !important;
}

.about-section .content-box {
    margin-bottom: 200px !important;
    position: relative !important;
    z-index: 10 !important;
    transform: scale(0.9) !important;
    transform-origin: top center !important;
}

/* Adjust parent container to allow movement */
.about-section .outer-box.two {
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
}

/* Image Box - Left Column */
.about-section .outer-box.two .image-box {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    position: relative !important;
}

/* Content Box - Right Column */
.about-section .outer-box.two .content-box {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 0 !important;
}

/* Content Box Typography */
.about-section .content-box .sec-title {
    margin-bottom: 30px !important;
    text-align: center !important;
}

/* Reduce space between top sec-title and outer-box */
.about-section > .auto-container > .sec-title {
    margin-bottom: 20px !important;
    text-align: center !important;
}

.about-section .outer-box {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Highlights Header */
.highlights-header {
    margin-bottom: 20px !important;
    padding: 20px !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.highlights-header .highlights-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #001376 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.highlights-header .highlights-subtitle {
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Section Divider Title */
.about-section-divider {
    text-align: center !important;
    margin: 30px auto 15px !important;
    padding: 0 20px !important;
}

.about-section-divider .divider-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #001376 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.about-section-divider .divider-line {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
}

.about-section-divider .divider-line span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 0%, #ffae00 50%, transparent 100%) !important;
    border-radius: 3px !important;
}

.about-section .content-box .sub-title {
    color: #ffae00 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
    display: block !important;
    text-align: center !important;
}

.about-section .content-box h3 {
    font-size: 36px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #001376 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
}

.about-section .content-box .text {
    text-align: center !important;
}

.about-section .content-box .text p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #666666 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.about-section .content-box .text p strong {
    color: #001376 !important;
    font-weight: 600 !important;
}

/* Theme Quote Block */
.about-theme {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-left: 5px solid #ffae00 !important;
    padding: 25px 30px !important;
    margin: 30px auto !important;
    border-radius: 8px !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(0, 19, 118, 0.08) !important;
    display: block !important;
    max-width: 100% !important;
    text-align: center !important;
}

.about-theme i {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 40px !important;
    color: #ffae00 !important;
    opacity: 0.2 !important;
}

.about-theme p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #001376 !important;
    font-weight: 600 !important;
    font-style: italic !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-top: 30px !important;
    text-align: center !important;
}

/* Highlights Section */
.about-highlights {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.about-highlights .highlight-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    padding: 20px 25px !important;
    background: #ffffff !important;
    border-radius: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    border-left: 5px solid #c22439 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    width: 100% !important;
}

.about-highlights .highlight-item:nth-child(2) {
    border-left-color: #fdbd1b !important;
}

.about-highlights .highlight-item:nth-child(3) {
    border-left-color: #3da8e0 !important;
}

.about-highlights .highlight-item:nth-child(4) {
    border-left-color: #c22439 !important;
}

.about-highlights .highlight-item:nth-child(5) {
    border-left-color: #fdbd1b !important;
}

.about-highlights .highlight-item:hover {
    transform: translateX(10px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    border-left-color: #3da8e0 !important;
    background: #ffffff !important;
}

.about-highlights .highlight-item i {
    font-size: 42px !important;
    color: #ffae00 !important;
    margin-right: 20px !important;
    min-width: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 174, 0, 0.1) !important;
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    transition: all 0.4s ease !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.about-highlights .highlight-item:hover i {
    transform: scale(1.1) rotate(5deg) !important;
    background: rgba(255, 174, 0, 0.2) !important;
}

/* Numbered Highlight Styling - Blue Design */
.about-highlights .highlight-item .highlight-number {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-right: 20px !important;
    min-width: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #33A6DD 0%, #1E88C7 100%) !important;
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(51, 166, 221, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Shine effect on number */
.about-highlights .highlight-item .highlight-number::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transform: rotate(45deg) !important;
    transition: all 0.5s ease !important;
    opacity: 0 !important;
}

.about-highlights .highlight-item:hover .highlight-number {
    transform: scale(1.15) rotate(-5deg) !important;
    background: linear-gradient(135deg, #1E88C7 0%, #33A6DD 100%) !important;
    box-shadow: 0 8px 25px rgba(51, 166, 221, 0.5) !important;
}

.about-highlights .highlight-item:hover .highlight-number::before {
    opacity: 1 !important;
    left: 100% !important;
}

/* Update hover border color to match blue theme */
.about-highlights .highlight-item:hover {
    transform: translateX(10px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    border-left-color: #3da8e0 !important;
    background: #ffffff !important;
}

.about-highlights .highlight-text {
    flex: 1 !important;
}

.about-highlights .highlight-text h5 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #001376 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.about-highlights .highlight-text p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    margin: 0 !important;
}

/* Button Box Improvements */
.about-section .btn-box {
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.about-section .btn-box .theme-btn {
    padding: 12px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Yellow button - S'inscrire maintenant */
.about-section .btn-box .theme-btn.bg-yellow {
    background: #fdbd1b !important;
    color: #000000 !important;
    border: none !important;
}

.about-section .btn-box .theme-btn.bg-yellow:hover {
    background: #e5a200 !important;
}

/* Blue button - Visiter notre librairie */
.about-section .btn-box .theme-btn:not(.bg-yellow) {
    background: #3da8e0 !important;
    color: #ffffff !important;
    border: none !important;
}

.about-section .btn-box .theme-btn:not(.bg-yellow):hover {
    background: #2090c8 !important;
}

.about-section .btn-box .theme-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.about-section .btn-box .theme-btn i {
    font-size: 18px !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-section .outer-box.two {
        flex-direction: column !important;
    }
    
    .about-section .outer-box.two .image-box,
    .about-section .outer-box.two .content-box {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .about-section .content-box h3 {
        font-size: 28px;
    }
    
    .about-theme p {
        font-size: 16px;
    }
    
    .about-highlights .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-highlights .highlight-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .about-highlights .highlight-item .highlight-number {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 767px) {
    .about-section .content-box h3 {
        font-size: 24px;
    }
    
    .about-section .btn-box {
        flex-direction: column;
    }
    
    .about-section .btn-box .theme-btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-theme {
        padding: 20px;
    }
    
    .about-theme p {
        font-size: 15px;
        padding-left: 15px;
    }
}

/* ===============================================
   FEATURES SECTION ENHANCEMENTS
   =============================================== */
   
.features-section {
    position: relative !important;
    overflow: visible !important;
    min-height: 600px !important;
    display: block !important;
}

/* Ensure proper positioning context */
.features-section .auto-container {
    position: relative !important;
}

.features-section .row {
    position: relative !important;
}

/* Shape one positioning */
section.features-section .shape-one {
    position: absolute !important;
    top: 84px !important;
    right: 10% !important;
    width: 317px !important;
    height: 305px !important;
    background-image: url(/images/icons/shape-one.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    z-index: 9999 !important;
    display: block !important;
}

.features-section .shape-one.bounce-y {
    animation: bounce-y 5s infinite ease-in-out !important;
}

/* Bounce Y Animation */
@keyframes bounce-y {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}

.bounce-y {
  animation: bounce-y 5s infinite ease-in-out;
}

/* ===============================================
   SENSIBILISATION SECTION - SPEAKER BLOCKS
   Square Edge Design from more.html
   =============================================== */

/* Speaker Block Three - Square Design */
.speakers-section-three .speaker-block-three .inner-box {
    border-radius: 0 !important;
    overflow: hidden;
}

.speakers-section-three .speaker-block-three .image-box {
    border-radius: 0 !important;
}

.speakers-section-three .speaker-block-three .image-box .image {
    border-radius: 0 !important;
}

.speakers-section-three .speaker-block-three .image-box figure {
    border-radius: 0 !important;
}

.speakers-section-three .speaker-block-three .image-box img {
    border-radius: 0 !important;
}

.speakers-section-three .speaker-block-three .content-box {
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

/* SVG Team Shape - Square Base */
.speakers-section-three .speaker-block-three .team-shape svg path.main {
    fill: #ffffff;
}

/* Alternate border colors for speaker blocks */
.speakers-section-three .speaker-block-three:nth-child(1) .content-box {
    border-top: 5px solid #c22439 !important;
}

.speakers-section-three .speaker-block-three:nth-child(2) .content-box {
    border-top: 5px solid #fdbd1b !important;
}

.speakers-section-three .speaker-block-three:nth-child(3) .content-box {
    border-top: 5px solid #3da8e0 !important;
}

.speakers-section-three .speaker-block-three:nth-child(4) .content-box {
    border-top: 5px solid #c22439 !important;
}

.speakers-section-three .speaker-block-three:nth-child(5) .content-box {
    border-top: 5px solid #fdbd1b !important;
}

.speakers-section-three .speaker-block-three:nth-child(6) .content-box {
    border-top: 5px solid #3da8e0 !important;
}

.speakers-section-three .speaker-block-three:nth-child(7) .content-box {
    border-top: 5px solid #c22439 !important;
}

.speakers-section-three .speaker-block-three:nth-child(8) .content-box {
    border-top: 5px solid #fdbd1b !important;
}

/* Speaker Block Hover */
.speakers-section-three .speaker-block-three .inner-box:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

/* ===============================================
   NEWSLETTER/SUBSCRIBE SECTION - SQUARE EDGES
   =============================================== */

/* Main Content Box - Square Edges */
.subscribe-section .outer-box .content-box {
    border-radius: 0 !important;
    background: linear-gradient(to right, #112bb5 0%, #3da8e0 100%) !important;
}

/* Background Shape - Square Edges */
.subscribe-section .outer-box .content-box:before {
    border-radius: 0 !important;
    background-color: #c22439 !important;
}

/* Shape Decoration - Square Edges */
.subscribe-section .outer-box .content-box .shape-ten {
    border-radius: 0 !important;
}

/* Subscribe Form Input - Square */
.subscribe-form input:not([type=submit]) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.subscribe-form input:focus {
    border-color: #fdbd1b !important;
}

/* Subscribe Button - Square */
.subscribe-section .theme-btn.btn-style-one {
    border-radius: 0 !important;
}

.subscribe-section .theme-btn.btn-style-one:before {
    border-radius: 0 !important;
}
