/* ==========================================================================
   Worldwide Keynote Testimonials  (.gst-*)
   Shared carousel styles for root + subfolder pages.
   Palette borrowed from the site: navy #001664, blue #2098d1,
   gold #c59100, deep gradient #950000 -> #010052.
   Design is deliberately distinct from the existing bootstrap testimonials.
   ========================================================================== */

.gst-section {
    margin: 40px 0;
    padding: 64px 0 74px;
    background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
    overflow: hidden;
}

/* Heading — mirrors the site's .w3-agileits-heading h3 style */
.gst-heading {
    text-align: center;
    margin: 0 0 8px;
    padding: 8px 0 6px;
    color: #000;
    font-size: 26px;
    font-weight: 600;
    font-family: poppins, 'Roboto Condensed', sans-serif;
}
.gst-heading span {
    color: #001664;
}
.gst-subline {
    width: 70px;
    height: 4px;
    margin: 10px auto 34px;
    border-radius: 4px;
    background: linear-gradient(45deg, #950000, #010052);
}

/* Carousel viewport padding so arrows sit outside the cards */
.gst-carousel {
    position: relative;
    margin: 0;
    padding: 6px 54px 10px;       /* side padding = gutter for the arrows */
    visibility: hidden;           /* revealed by JS once slick initialises */
}
.gst-carousel.slick-initialized {
    visibility: visible;
}

/* ---- Equal-height plumbing (required) ---- */
.gst-carousel .slick-track {
    display: flex !important;
}
.gst-carousel .slick-slide {
    height: auto;
}
.gst-carousel .slick-slide > div {
    height: 100%;
    padding: 12px 16px;           /* horizontal padding = gap between cards */
}

/* ---- Card ---- */
.gst-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    background: #ffffff;
    border: 1px solid #e6e9f2;
    border-top: 4px solid #001664;
    border-radius: 14px;
    padding: 26px 24px 22px;
    box-shadow: 0 10px 26px rgba(0, 22, 100, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gst-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 22, 100, 0.16);
}

/* Decorative quote mark */
.gst-card::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 84px;
    line-height: 1;
    color: rgba(32, 152, 209, 0.14);
    pointer-events: none;
}

/* Stars — pinned to the top */
.gst-stars {
    flex: 0 0 auto;
    margin-bottom: 12px;
    color: #c59100;
    font-size: 15px;
    letter-spacing: 2px;
}

/* Quote — pinned to the top, does not stretch */
.gst-quote {
    flex: 0 0 auto !important;
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #2f2f2f;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    text-align: justify;
    font-family: poppins, 'Roboto Condensed', sans-serif;
}

/* Person block — pushed to the bottom (required) */
.gst-person {
    margin-top: auto !important;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #eef0f6;
}
.gst-photo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef1f8;
    border: 2px solid #001664;
    box-shadow: 0 3px 8px rgba(0, 22, 100, 0.18);
}
.gst-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gst-meta {
    min-width: 0;
}
.gst-name {
    margin: 0;
    color: #001664;
    font-size: 15px;
    font-weight: 700;
    font-family: poppins, 'Roboto Condensed', sans-serif;
    line-height: 1.3;
}
.gst-role {
    display: block;
    margin-top: 3px;
    color: #626262;
    font-size: 12.5px;
    line-height: 1.4;
}
.gst-country {
    display: inline-block;
    margin-top: 5px;
    color: #2098d1;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* ---- Arrows ----
   Site ships base slick.css only (no theme), so the theme's positioning
   and text-hiding are recreated here from scratch. */
.gst-carousel .slick-prev,
.gst-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    z-index: 5;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    font-size: 0;                 /* hides Slick's "Previous"/"Next" label */
    line-height: 0;
    color: transparent;
    background: linear-gradient(45deg, #950000, #010052);
    box-shadow: 0 6px 16px rgba(1, 0, 82, 0.28);
    transition: transform .2s ease, opacity .2s ease;
}
.gst-carousel .slick-prev:hover,
.gst-carousel .slick-next:hover,
.gst-carousel .slick-prev:focus,
.gst-carousel .slick-next:focus {
    background: linear-gradient(45deg, #950000, #010052);
    transform: translateY(-50%) scale(1.08);
    opacity: .95;
}
.gst-carousel .slick-prev { left: 6px; }
.gst-carousel .slick-next { right: 6px; }
.gst-carousel .slick-prev:before,
.gst-carousel .slick-next:before {
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    color: #ffffff;
    opacity: 1;
}
.gst-carousel .slick-prev:before { content: "\2039"; }
.gst-carousel .slick-next:before { content: "\203A"; }

/* ---- Dots ---- */
.gst-carousel .slick-dots {
    position: static;
    display: block;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
.gst-carousel .slick-dots li {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0 5px;
    padding: 0;
}
.gst-carousel .slick-dots li button {
    display: block;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    border-radius: 50%;
    background: #c3c9dd;
    transition: background .2s ease, transform .2s ease;
}
.gst-carousel .slick-dots li button:before {
    display: none;                /* drop Slick's default bullet glyph */
}
.gst-carousel .slick-dots li.slick-active button {
    background: #001664;
    transform: scale(1.25);
}

@media (max-width: 991px) {
    .gst-carousel { padding: 6px 42px 10px; }
    .gst-carousel .slick-prev { left: 0; }
    .gst-carousel .slick-next { right: 0; }
}
@media (max-width: 575px) {
    .gst-carousel { padding: 6px 30px 14px; }
    .gst-heading { font-size: 22px; }
    .gst-card { padding: 22px 20px 20px; }
}
