/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #21348f;
    --secondary-color: #4791aa;
    --section-bg-color: #e8f4ff;
    --dark-color: #000000;
    --navbar-bg-color: #10135f;
    --p-color: #717275;
    --highlight-icon-color: #ff0100;
    --bs-info-rgb: 130, 212, 230;
}

button {
    all: unset;
    cursor: pointer;
}

.ponuda-hero {
    background: var(--primary-color);
}

.custom-btn:hover,
.custom-btn2:hover,
.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.navbar-nav .nav-link.custom-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    color: var(--white-color);
}

.ponuda-hero:hover {
    background: var(--navbar-bg-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.custom-border-btn:hover {
    border: 2px solid var(--primary-color);
}

/*---------------------------------------
  NAVBAR             
-----------------------------------------*/

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/*---------------------------------------
  HERO             
-----------------------------------------*/

.hero::after {
    background: rgba(0, 0, 0, 0) linear-gradient(rgba(73, 165, 130, 0.15) 0%, rgb(16, 19, 95) 100%)
        repeat scroll 0% 0%;
}

.custom-border-btn2 {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}
.custom-border-btn2:hover {
    border: 2px solid var(--primary-color);
}

.highlight-info {
    position: absolute;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.highlight-thumb {
    padding: 0px;
    cursor: pointer;
}

@media screen and (max-width: 770px) {
    .date-text,
    .location-text {
        padding: 8px 16px;
    }

    .date-text {
        border-right: 0;
        margin-bottom: 0px;
    }
}

/*---------------------------------------
  ZAŠTO DOĆI             
-----------------------------------------*/

.why-attend {
    background-color: var(--section-bg-color);
}

.why-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 24px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
}

.why-number {
    font-size: 14px;
    font-weight: 700;
    color: #4791aa;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.why-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.why-text {
    margin: 0;
    color: #6c757d;
    line-height: 1.7;
}

/*---------------------------------------
  PROGRAM             
-----------------------------------------*/

.program {
    background: #f8fbff;
}

.program-topic {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 20px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.program-topic:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.program-topic h3 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    color: var(--navbar-bg-color);
}

.program-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: #e8f4ff;
    color: var(--navbar-bg-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.program .custom-btn {
    background: var(--navbar-bg-color);
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.program .custom-btn:hover {
    background: var(--secondary-color);
}

/*---------------------------------------
  MORE             
-----------------------------------------*/

.more {
    background-color: var(--primary-color);
}

.more p {
    color: white;
}

.pIcon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 25px;
    box-sizing: content-box;
}

.pIcon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.moreThanImage {
    object-fit: cover;
    object-position: center;
    width: 100%;
    padding: 0;
    border-radius: 8px;
}

.more .d-flex {
    min-width: 0;
}

.more .d-flex > p,
.more .d-flex > h6 {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 576px) {
    .more .row {
        --bs-gutter-x: 1rem;
    }

    .pIcon {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--secondary-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-right: 14px;
        box-sizing: content-box;
    }

    .pIcon img {
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: block;
    }
}

/*---------------------------------------
  TESTIMONIALS             
-----------------------------------------*/

.testimonials {
    background-color: var(--section-bg-color);
}

.testimonialCard {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 16px 10px;
    box-sizing: content-box;
    border-radius: 16px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonialCard p {
    font-size: 18px;
}

@media (max-width: 990px) {
    .testimonialCard p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonialCard p {
        font-size: 14px;
    }
}

.quoteIcon {
    fill: var(--primary-color);
    width: 40px;
    aspect-ratio: 1/1;
    position: absolute;
    top: 4px;
    left: 10px;
}

.splide {
    padding-bottom: 4rem;
}

.splide__pagination {
    bottom: 0;
}

.testimonials .splide__track {
    overflow: hidden;
    padding-top: 14px;
    padding-bottom: 60px;
    margin-top: -14px;
    margin-bottom: -60px;
}

/*---------------------------------------
  MEDIA             
-----------------------------------------*/

.media {
    background-color: var(--secondary-color);
}

.mediaLogo {
    height: 20px;
    padding: 10px;
    box-sizing: content-box;
}

.media-row a {
    border-right: 1px solid rgb(158, 158, 158);
    min-width: 0;
}

@media (min-width: 991px) {
    .media-row > a:nth-child(4),
    .media-row > a:nth-child(8),
    .media-row > a:last-child {
        border-right: 0;
    }
}

@media (max-width: 990px) {
    .mediaLogo {
        height: 20px;
        padding: 0px;
    }

    .media-row > a:nth-child(3),
    .media-row > a:nth-child(6),
    .media-row > a:last-child {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .media-row > a:nth-child(3),
    .media-row > a:nth-child(6) {
        border-right: 1px solid rgb(158, 158, 158);
    }

    .media-row > a:nth-child(even) {
        border-right: 0;
    }
}

@media (max-width: 575px) {
    .media-row {
        --bs-gutter-x: 0;
    }

    .media-row > a {
        position: relative;
        padding-left: 0;
        padding-right: 0;
    }

    .media-row > a:nth-child(n) {
        border-right: 0;
        margin-top: 24px;
        padding-bottom: 24px;
    }

    .media-row > a:last-child {
        border-bottom: 0;
    }

    .media-row > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 60%;
        height: 1px;
        background: rgb(158, 158, 158);
    }

    .media-row > a:last-child::after {
        display: none;
    }

    .mediaLogo {
        height: 20px;
    }
}

/*---------------------------------------
  ORGANIZER             
-----------------------------------------*/

.organizer {
    background-color: var(--primary-color);
}

/*---------------------------------------
  GALLERY             
-----------------------------------------*/

.gallerySection {
    background-color: var(--section-bg-color);
}

.galleryCard {
    background-color: #f2f9fff2;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.galleryCard img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.yearText {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.imageMain {
    width: 100%;
    height: 250px;
    object-position: center;
    object-fit: cover;
}

.imageRow {
    width: 100%;
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #ececec;
}
.imageRow img {
    flex: 1;
    height: 90px;
    object-fit: cover;
}

.showGalleryText {
    width: 100%;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -5px;
    gap: 5px;
}

.hidden-gallery-item {
    display: none;
}

@media (max-width: 1200px) {
    .imageRow img {
        height: 70px;
    }
}
@media (max-width: 767px) {
    .imageRow img {
        height: 90px;
    }
}
@media (max-width: 430px) {
    .imageMain {
        height: 200px;
    }

    .imageRow img {
        height: 70px;
    }
}

/*---------------------------------------
  PRICING             
-----------------------------------------*/

.pricing {
    background-color: var(--section-bg-color);
}

.priceMargin {
    margin-bottom: 80px;
}

.pricing-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 1200px) {
    .priceMargin {
        margin-bottom: 50px;
    }
}

.call-to-action {
    background-image: url("../images/atc/Vidimo-se-u-Zagrebu.jpg");
}
