@font-face {
    font-family: 'Nebula Hollow';
    src: url('../includes/TIPOGRAFIA/nebula_2/Nebula-Hollow.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nebula Regular';
    src: url('../includes/TIPOGRAFIA/nebula_2/Nebula-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.contact-bg {
  background-image: url('../css/background.jpg');
  background-size: cover;
  background-position: center;
}

.contact-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
  z-index: 1;
}

.contact-bg > .container {
  position: relative;
  z-index: 2; /* Ensure content is above overlay */
}

/* Testimonial Slider */
.testimonial-slide {
    display: none;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

/* Timeline for About Page */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #0EA5E9; /* sky-500 */
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #0EA5E9; /* sky-500 */
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item:nth-child(odd) .flex-grow {
    padding-left: calc(50% + 20px);
    text-align: left;
}

.timeline-item:nth-child(even) .flex-grow {
    padding-right: calc(50% + 20px);
    text-align: right;
}

.timeline-item:nth-child(odd) .flex-shrink-0 {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    text-align: right;
    padding-right: 20px;
}

.timeline-item:nth-child(even) .flex-shrink-0 {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    text-align: left;
    padding-left: 20px;
}

@media (max-width: 768px) { /* md breakpoint */
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item .flex-grow {
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item .flex-shrink-0 {
        position: static;
        width: auto;
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        margin-bottom: 10px;
    }

    .timeline-item:nth-child(odd) .flex-shrink-0,
    .timeline-item:nth-child(even) .flex-shrink-0 {
        position: relative;
        left: auto;
        right: auto;
        width: auto;
        padding-left: 60px;
        padding-right: 0;
    }
}

.header-bg {
    background-color: #1C2839;
}