/* Styles that are clearer as plain CSS than as Tailwind utilities. */

html { scroll-behavior: smooth; }

a:hover { text-decoration: underline; }

/* Feature icons (54px blue, as on the original) */
.feature-icon {
    font-size: 54px;
    line-height: 1;
    color: #4091ad;
}

/* Package circles: coral ring that turns into a blue double ring on hover */
.package-holder {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    padding-top: 5px;
    border: 2px solid #ed7870;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.2s ease-out;
}
.package:hover .package-holder {
    padding-top: 1px;
    border: 6px double #4091ad;
    background: #fff;
    box-shadow: 0 8px 24px rgba(64, 145, 173, 0.18);
}
.package-holder img { margin-top: 0; }

/* Hero slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #4091ad;
    font-size: 28px;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.group:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #4091ad; color: #fff; }
@media (hover: none) {
    .slider-arrow { opacity: 0.9; transform: none !important; width: 36px; height: 36px; font-size: 22px; margin-top: -18px; }
}

/* Main navigation */
.nav-link {
    display: block;
    padding: 6px 19px;
    font-size: 16px;
    color: #60646d;
    transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link.is-current { background: #4091ad; color: #fff; text-decoration: none; }

.mobile-link {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-link:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }

/* Slider dots */
.hero-dot,
.testimonial-dot {
    height: 10px;
    width: 10px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.hero-dot { background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.testimonial-dot { height: 8px; width: 8px; background: #dcdee4; }
.hero-dot.is-active { background: #fff; width: 22px; }
.testimonial-dot.is-active { background: #ed7870; width: 18px; }

/* Footer gallery thumbnails */
.gallery-thumb {
    display: block;
    width: 60px;
    border-radius: 3px;
    transition: opacity 0.2s;
}
.gallery-thumb:hover { opacity: 0.6; }

/* Footer social icons */
.social-link {
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    transition: all 0.25s ease;
}
.social-link:hover {
    background: #fff !important;
    border-color: currentColor;
    text-decoration: none;
}

/* ============ Inner pages ============ */

/* "About <span>Us</span>" headings: blue, coral span, short dark rule underneath */
.page-title {
    margin: 0 0 30px;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #4091ad;
}
.page-title span { color: #ed7870; }
.page-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    margin: 14px auto 0;
    background: #393939;
}
@media (min-width: 768px) { .page-title { font-size: 36px; } }

.prose-text p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 22px;
    text-align: justify;
}
.prose-text h2 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #595959;
}
.prose-text strong { color: #3a3c41; }

.framed-img {
    padding: 3px;
    border: 1px solid #ececec;
    background: #fff;
}

/* Team profiles */
.profile-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border: 1px solid #ececec;
    background: #fafafa;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.profile-card:hover { border-color: #d7e6ec; box-shadow: 0 6px 24px rgba(64, 145, 173, 0.12); }
.profile-photo {
    width: 100%;
    max-width: 250px;
    align-self: center;
    flex-shrink: 0;
    padding: 5px;
    border: 1px solid #ececec;
    background: #fff;
}
@media (min-width: 640px) {
    .profile-card { flex-direction: row; align-items: flex-start; }
    .profile-photo { width: 220px; align-self: flex-start; }
}
@media (min-width: 1024px) { .profile-photo { width: 250px; } }

.photo-placeholder {
    display: flex;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f5f7, #fbe9e7) content-box;
    color: #4091ad;
    font-size: 13px;
    text-align: center;
}
.photo-placeholder i { font-size: 48px; color: #ed7870; }

/* Package tables */
.package-box {
    margin-bottom: 40px;
    padding: 15px;
    border: 5px solid #ddd;
    border-radius: 5px;
    background: #fff;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.package-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
}
.package-table th,
.package-table td { border: 1px solid #ddd; padding: 8px 6px; }
.package-table thead th {
    padding: 8px 6px;
    background: #4091ad;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}
.package-table tbody th {
    background: #f7edec;
    color: #676767;
    font-size: 14px;
    font-weight: 500;
}
.package-table tbody tr:nth-child(even) td { background: #fafafa; }
.package-table tbody tr:hover td { background: #eef6f9; }
.package-table .price-row td { font-weight: 700; color: #4091ad; }
.tick {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ed7870;
    color: #fff;
    font-size: 11px;
}
.discount-pill {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 999px;
    background: #ed7870;
    color: #fff;
    font-weight: 700;
}

/* Locations */
.contact-icon {
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    text-align: center;
    color: #ed7870;
}

/* Testimonials */
.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ececec;
    background: #fafafa;
}
@media (min-width: 640px) { .testimonial-card { flex-direction: row; align-items: center; } }

/* Gallery */
.gallery-card {
    display: block;
    padding: 3px;
    border: 1px solid #dadada;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.gallery-card:hover { border-color: #4091ad; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); text-decoration: none; }
.gallery-card h2 {
    margin: 0;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #3a3c41;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-arrow {
    position: absolute;
    top: 50%;
    display: flex;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 30px;
    transition: background 0.2s;
}
.lb-arrow:hover { background: #4091ad; }

/* Scroll-top visibility (sits above the chat button) */
#scroll-top { bottom: 92px; }
#scroll-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============ Chat assistant ============ */
.apb { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: 'Raleway', sans-serif; }

.apb-launcher {
    position: relative;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ed7870;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(237, 120, 112, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
}
.apb-launcher:hover { transform: scale(1.06); background: #e5655c; }
.apb-icon-close, .apb.is-open .apb-icon-open { display: none; }
.apb.is-open .apb-icon-close { display: inline; }
.apb.is-open .apb-launcher { background: #4091ad; box-shadow: 0 6px 20px rgba(64, 145, 173, 0.4); }
.apb-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #4091ad;
    font-size: 11px;
    font-weight: 700;
}
.apb-badge[hidden] { display: none; }

.apb-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: flex;
    width: 370px;
    height: min(560px, calc(100vh - 110px));
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    animation: apb-in 0.22s ease-out;
}
.apb-panel[hidden] { display: none; }
@keyframes apb-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

.apb-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-top: 4px solid #ed7870;
    background: #4091ad;
    color: #fff;
}
.apb-avatar {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #ed7870;
    font-size: 20px;
}
.apb-title { flex: 1; line-height: 1.3; }
.apb-title strong { display: block; font-size: 15px; }
.apb-title span { font-size: 12px; opacity: 0.9; }
.apb-dot { display: inline-block; width: 8px; height: 8px; margin-right: 3px; border-radius: 50%; background: #7ee2a0; }
.apb-close { padding: 4px 8px; font-size: 24px; color: #fff; opacity: 0.85; }
.apb-close:hover { opacity: 1; }

.apb-messages {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 16px 14px 8px;
    background: #f0f5f7;
    overscroll-behavior: contain;
}
.apb-msg {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    animation: apb-in 0.2s ease-out;
}
.apb-bot { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; color: #3a3c41; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.apb-user { align-self: flex-end; border-bottom-right-radius: 4px; background: #4091ad; color: #fff; }
.apb-bot a { color: #4091ad; font-weight: 600; text-decoration: underline; }
.apb-bot a:hover { color: #ed7870; }

.apb-typing { display: flex; gap: 4px; padding: 12px 14px; }
.apb-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9ba0aa; animation: apb-blink 1s infinite ease-in-out; }
.apb-typing span:nth-child(2) { animation-delay: 0.15s; }
.apb-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes apb-blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.apb-chips {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0 6px;
}
.apb-chip {
    padding: 6px 11px;
    border: 1px solid #4091ad;
    border-radius: 999px;
    background: #fff;
    color: #4091ad;
    font-size: 12.5px;
    line-height: 1.3;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}
.apb-chip:hover { background: #4091ad; color: #fff; }

.apb-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e6eaec; background: #fff; }
.apb-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #dcdee4;
    border-radius: 999px;
    color: #3a3c41;
    font-size: 14px;
    outline: none;
}
.apb-input:focus { border-color: #4091ad; box-shadow: 0 0 0 3px rgba(64, 145, 173, 0.15); }
.apb-send {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ed7870;
    color: #fff;
    font-size: 15px;
}
.apb-send:hover { background: #4091ad; }

.apb-actions { display: flex; gap: 8px; padding: 0 12px 12px; background: #fff; }
.apb-action {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.apb-action:hover { text-decoration: none; filter: brightness(1.08); color: #fff; }
.apb-call { background: #4091ad; }
.apb-wa { background: #25d366; }

/* Phones: chat fills the screen */
@media (max-width: 480px) {
    .apb { right: 14px; bottom: 14px; }
    .apb-panel { position: fixed; inset: 0; width: auto; height: 100%; border-radius: 0; }
    .apb.is-open .apb-launcher { display: none; }
    #scroll-top { right: 14px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
