/* =========================== Banner Background Video & Slider Styles ========================= */

.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 27, 51, 0.55);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
}

.banner-content__title {
    color: #ffffff !important;
}

.banner-content__desc {
    color: #ffffff !important;
}

.banner-content .banner-form-wrapper .banner-form-text .text {
    color: #ffffff !important;
}

/* Override my-120 margin for non-home pages */
body:not(.home-page) .my-120 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

@media (min-width: 576px) {
    body:not(.home-page) .my-120 {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

@media (min-width: 992px) {
    body:not(.home-page) .my-120 {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

/* Slider Navigation */
.banner-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100%;
    pointer-events: none;
}

.banner-slider-prev,
.banner-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.2rem;
}

.banner-slider-prev:hover,
.banner-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.banner-slider-prev {
    left: 30px;
}

.banner-slider-next {
    right: 30px;
}

/* Slider Dots */
.banner-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active,
.banner-dot:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-slider-prev,
    .banner-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .banner-slider-prev {
        left: 15px;
    }
    
    .banner-slider-next {
        right: 15px;
    }
    
    .banner-slider-dots {
        bottom: 20px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider-prev,
    .banner-slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .banner-slider-prev {
        left: 10px;
    }
    
    .banner-slider-next {
        right: 10px;
    }
    
    .banner-slider-dots {
        bottom: 15px;
    }
    
    .banner-dot {
        width: 8px;
        height: 8px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.banner-slide.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

/* =============================================================
   Homepage v2 — shared design tokens (professional/international look)
   Reused across: banner, about, destinations, stats_strip sections.
   Do not duplicate these rules inside individual section blade files.
   ============================================================= */

/* Tagline pill: small rounded badge placed above section headings */
.tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: hsl(var(--warning) / 0.12);
    color: hsl(var(--warning-d-300));
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.tagline-pill__icon,
.tagline-pill i {
    color: hsl(var(--warning));
}

.tagline-pill--on-dark {
    background: hsl(0 0% 100% / 0.12);
    color: hsl(var(--warning));
}

/* Dual CTA pill buttons with a small circular arrow */
.btn-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 36px;
    padding: 14px 8px 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-pill--filled {
    background: hsl(var(--base));
    color: hsl(var(--white));
}

.btn-pill--filled:hover {
    background: hsl(var(--base-d-100));
    color: hsl(var(--white));
}

.btn-pill--outline {
    background: transparent;
    border-color: hsl(var(--border-color));
    color: hsl(var(--heading-color));
}

.btn-pill--outline:hover {
    border-color: hsl(var(--base));
    color: hsl(var(--base));
}

.btn-pill__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: hsl(var(--warning));
    color: hsl(var(--white));
    font-size: 13px;
    flex-shrink: 0;
}

.banner-content__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

/* About section image collage */
.about-collage {
    position: relative;
    padding-bottom: 40px;
}

.about-collage__main img {
    width: 100%;
    border-radius: 16px;
}

.about-collage__accent {
    position: absolute;
    right: -10%;
    bottom: 0;
    width: 55%;
    z-index: 2;
    box-shadow: 0 15px 40px hsl(var(--black) / 0.15);
    border-radius: 16px;
    overflow: hidden;
    border: 6px solid hsl(var(--white));
}

.about-collage__accent img {
    width: 100%;
    display: block;
}

.about-collage__badge {
    position: absolute;
    left: -10px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: hsl(var(--white));
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px hsl(var(--black) / 0.12);
}

.about-collage__badge strong {
    display: block;
    font-size: 22px;
    color: hsl(var(--base));
    line-height: 1;
}

.about-collage__badge span {
    font-size: 13px;
    color: hsl(var(--text-color));
}

@media (max-width: 991px) {
    .about-collage__accent {
        right: 0;
        width: 45%;
    }
}

/* Destinations grid: rounded card with circular flag/icon + pill CTA */
.destinations-section {
    position: relative;
    padding: 100px 0;
    background-color: hsl(var(--base-d-700));
    background-size: cover;
    background-position: center;
}

.destinations-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(var(--base-d-700) / 0.92), hsl(var(--base-d-800) / 0.96));
}

.destinations-section .container {
    position: relative;
    z-index: 2;
}

.text--white-70 {
    color: hsl(var(--white) / 0.7);
}

.destination-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: hsl(var(--white) / 0.08);
    border: 1px solid hsl(var(--white) / 0.12);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-6px);
    background: hsl(var(--white) / 0.14);
}

.destination-card__flag {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px hsl(var(--black) / 0.25);
}

.destination-card__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card__flag--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--warning) / 0.16);
    color: hsl(var(--warning));
    font-size: 24px;
}

.destination-card__title {
    color: hsl(var(--white));
    font-size: 18px;
    margin-bottom: 6px;
}

.destination-card__desc {
    color: hsl(var(--white) / 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.destination-card__cta {
    padding: 10px 8px 10px 20px;
    gap: 20px;
    font-size: 13px;
}

.destination-card__cta.btn-pill--outline {
    border-color: hsl(var(--white) / 0.3);
    color: hsl(var(--white));
}

.destination-card__cta.btn-pill--outline:hover {
    border-color: hsl(var(--warning));
    color: hsl(var(--warning));
}

/* Banner "title-shape" decorative doodle ships as a static blue PNG in the
   theme (assets/templates/basic/images/shapes/t-1.png) — not driven by the
   admin base-color system since it's a baked image, not CSS. Hue-rotating
   it shifts the swirl from blue toward green so it matches the rest of the
   now-green theme instead of clashing as the one leftover blue element. */
.title-shape img,
.title-shape-two img {
    filter: hue-rotate(231deg) saturate(1.1);
}

/* Stats strip: navy band with orange icon badges + animated counters */
.stats-strip {
    position: relative;
    padding: 70px 0;
    background-color: hsl(var(--base-d-800));
    background-size: cover;
    background-position: center;
}

.stats-strip__overlay {
    position: absolute;
    inset: 0;
    background: hsl(var(--base-d-800) / 0.85);
}

.stats-strip .container {
    position: relative;
    z-index: 2;
}

.stats-strip__item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stats-strip__badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: hsl(var(--warning));
    color: hsl(var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stats-strip__badge--sm {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
}

.stats-strip__number {
    font-size: 34px;
    font-weight: 700;
    color: hsl(var(--white));
    line-height: 1;
}

.stats-strip__label {
    color: hsl(var(--white) / 0.7);
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .destinations-section,
    .stats-strip {
        padding: 60px 0;
    }

    .stats-strip__item {
        justify-content: center;
        text-align: left;
    }
}

/* ============================ Pricing plan cards ========================
   Tiered visual treatment so Free / Popular / Premium cards no longer look
   identical (flat gray box + same gem icon for every plan, no hierarchy). */
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: hsl(var(--white));
    border: 1px solid #eceff2;
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -12px rgb(0 0 0 / 0.15);
}

/* The header/list/footer no longer sit inside their own boxed panel — that
   nested "card inside a card" look (two visible borders + gray padding
   peeking around a white inner box) read as unfinished. Padding/border now
   live on .plan-card itself, so children just stack in normal flow. */
.plan-card__header {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.plan-card__feature-list {
    flex-grow: 1;
    margin-bottom: 24px;
}

.plan-card__badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: hsl(var(--base) / 0.1);
    color: hsl(var(--base));
    flex-shrink: 0;
}

.plan-card__icon {
    color: hsl(var(--base));
    font-size: 18px;
}

.plan-card__tagline {
    display: block;
    font-size: 12.5px;
    color: hsl(var(--base));
    font-weight: 600;
    margin-top: -4px;
}

/* Free tier: quiet, dashed outline so it reads as "no commitment" rather
   than competing visually with the paid plans. */
.plan-card--free {
    border: 1.5px dashed #d7dbe0;
}

.plan-card--free .plan-card__badge {
    background: #eef1f4;
    color: #6b7280;
}

/* Whichever plan is flagged "Most Popular" (admin-set, or the middle plan
   by default — see resolvePopularPlanId()) gets a solid dark card + ribbon
   + gradient CTA so it stands out clearly from the rest of the list. */
.plan-card--popular {
    background: hsl(var(--heading-color));
    border-color: hsl(var(--heading-color));
    box-shadow: 0 20px 40px -16px hsl(var(--heading-color) / 0.45);
    transform: scale(1.03);
    z-index: 1;
}

.plan-card--popular:hover {
    transform: scale(1.03) translateY(-6px);
}

.plan-card--popular .plan-card__name,
.plan-card--popular .plan-card__price {
    color: hsl(var(--white)) !important;
}

.plan-card--popular .plan-card__duration {
    color: hsl(var(--white) / 0.7);
}

.plan-card--popular .plan-card__badge {
    background: hsl(var(--white) / 0.15);
    color: hsl(var(--white));
}

.plan-card--popular .plan-card__text {
    color: hsl(var(--white) / 0.85);
}

.plan-card--popular .plan-card__icon {
    color: hsl(var(--base));
}

.plan-card--popular .plan-card__footer {
    border-top-color: hsl(var(--white) / 0.15);
}

.plan-card__ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, hsl(var(--base)), #34d399);
    color: hsl(var(--white));
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 10px -2px hsl(var(--base) / 0.5);
    white-space: nowrap;
}

/* Gradient CTA to match the ribbon so the popular card's button reads as
   the primary action across the whole pricing row. */
.plan-card__cta--popular {
    background: linear-gradient(90deg, hsl(var(--base)), #34d399) !important;
    border: none !important;
}

.plan-card__cta--popular:hover {
    filter: brightness(1.05);
}

@media (max-width: 767px) {
    .plan-card--popular {
        transform: none;
    }

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

/* ============================ Header refresh =============================
   The top bar now only carries the real account actions (Login/Employer
   Login); everything else (Internship, Freelancer, Blog, Contact, CMS
   pages) lives in the bounded "More" nav dropdown so the header can't
   overflow no matter how many pages an admin adds. */

/* Sticky header gets a soft shadow + blur once scrolled, instead of just an
   abrupt background swap, so it reads as a deliberate floating bar. */
.header.fixed-header {
    box-shadow: 0 8px 24px -16px hsl(var(--black) / 0.25);
    background-color: hsl(var(--body-color) / 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    backdrop-filter: saturate(180%) blur(8px);
}

/* Skeleton Loading Animation */
.skeleton-loader {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 6px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-title { height: 24px; margin-bottom: 12px; width: 60%; }
.skeleton-card { height: 120px; width: 100%; margin-bottom: 16px; border-radius: 12px; }

/* Dark Mode Support */
[data-theme="dark"] {
    --body-color: #0F172A;
    --text-color: #94A3B8;
    --heading-color: #F8FAFC;
    background-color: #0F172A !important;
    color: #94A3B8 !important;
}
[data-theme="dark"] .card,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .job-card,
[data-theme="dark"] .header {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}


