:root {
  --bs-primary: #006699;
  --bs-primary-rgb: 0, 102, 153;
  --bs-secondary: #f9a82a;
  --bs-secondary-rgb: 249, 168, 42;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.btn-outline-primary {
  border-color: var(--bs-primary) !important;
  color: var(--bs-primary) !important;
  background: #FFF;
}

.btn-outline-primary:hover {
  border-color: var(--bs-secondary) !important;
  color: var(--bs-secondary) !important;
  background: #FFF;
}

.btn-primary:active,
.btn-primary:focus {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-primary-light {
  background-color: rgba(var(--bs-primary-rgb),.1) !important;
}

.bg-light-dark {
  background-color: rgb(238, 239, 240);
}

.text-primary {
  color: var(--bs-primary) !important;
}
.border-primary {
  border-color: var(--bs-primary) !important;
}

.svg-fluid svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  line-height: 1;
}

.hex-badge {
    background-color: var(--bs-secondary);
    clip-path: polygon(
        50% 0%,   93% 25%,
        93% 75%,  50% 100%,
        7% 75%,   7% 25%
    );
    width: 150px;   /* ratio 1:1 */
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
}

.img-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
}

.h-constrain > svg, .h-constrain > img {
    height : 100%;
    width : auto;
}

.w-constrain > svg, .w-constrain > img {
    width : 100%;
    height : auto;
}

#demo{
  background-image:url('/assets/img/mygp-meeting-alpha.jpeg');
  background-size:cover;
  background-position: center center;
}

.brained{
  background-image:url('/assets/img/mygp-brain.png');
  background-size:contain;
  background-position: center center;
  background-repeat: no-repeat
}

.modal .modal-body img,
.modal .modal-body svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

.modal .modal-content {
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  margin:2rem 0;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 101%;
  height: 101%;
  margin-left: -0.5%;
  border: 0;
  transform-origin: center;
}

/* Timeline Q1 2026 Styles */
.timeline-container {
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
}

.timeline-header {
    text-align: center;
    color: #333;
    margin-bottom: 50px;
}

.timeline-header h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.timeline-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: rgb(0, 103, 154);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item.timeline-left .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    text-align: right;
}

.timeline-item.timeline-right .timeline-content {
    margin-left: 52%;
    margin-right: 0;
    text-align: left;
}

.timeline-item.timeline-left .timeline-content h5 {
    flex-direction: row-reverse;
}

.timeline-item.timeline-right .timeline-content h5 {
    flex-direction: row;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid rgb(0, 103, 154);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 8px rgba(0, 103, 154, 0.1);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content h5 {
    color: rgb(0, 103, 154);
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-content .timeline-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-icon {
    display: inline-block;
    font-size: 1.5rem;
}

/* Responsive design pour timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-header h3 {
        font-size: 1.8rem;
    }
}
