/* ============================================================
   Geo Testimonial Widget
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Container ---- */
.geo-t-box {
    background: linear-gradient(135deg, var(--geo-bg1, #4F1313), var(--geo-bg2, #170808));
    border-radius: 28px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Subtle inner glow */
.geo-t-box::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at 30% 30%, rgba(93, 30, 30, 0.25), transparent 60%);
    pointer-events: none;
}

/* ---- Eyebrow / Section Label ---- */
.geo-t-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* ---- Slides wrapper ---- */
.geo-t-slides {
    position: relative;
    z-index: 1;
    min-height: 160px;   /* prevents layout jump during transitions */
}

/* ---- Individual slide ---- */
.geo-t-slide {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.geo-t-slide.is-active {
    display: block;
    animation: geoTFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes geoTFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Quote mark ---- */
.geo-t-qmark {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 60px;
    color: rgba(215, 161, 110, 0.40);
    line-height: 0.75;
    margin-bottom: 20px;
    display: block;
    user-select: none;
}

/* ---- Quote text ---- */
.geo-t-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* ---- Description ---- */
.geo-t-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin: 0 0 22px;
    max-width: 360px;
}

/* ---- Author ---- */
.geo-t-author {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #D7A16E;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

/* ---- Dots row ---- */
.geo-t-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* ---- Single dot ---- */
.geo-t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    outline: none;
}

.geo-t-dot.is-active {
    background: #D7A16E;
    border-color: #D7A16E;
    transform: scale(1.15);
}

.geo-t-dot:hover:not(.is-active) {
    border-color: rgba(215, 161, 110, 0.55);
    background: rgba(215, 161, 110, 0.15);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .geo-t-box         { padding: 30px 26px; border-radius: 20px; }
    .geo-t-quote       { font-size: 20px; }
    .geo-t-qmark       { font-size: 48px; margin-bottom: 16px; }
    .geo-t-desc        { font-size: 13px; max-width: 100%; }
    .geo-t-slides      { min-height: 140px; }
}

@media (max-width: 480px) {
    .geo-t-quote       { font-size: 18px; }
    .geo-t-box         { padding: 24px 20px; }
}
