
/* ==========================================================================
   SHIFTIFY BRAND THEME
   Primary Navy: #002B66
   Accent Orange: #FF5500
   ========================================================================== */

/* 0. RESET / GLOBAL */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. TOP TICKER */

.top-ticker {
    width: 100%;
    background-color: #fff4ed;
    border-bottom: 1px solid #ffd6c2;
    padding: 6px 0;
    font-size: 11px;
    color: #333333;
}

.ticker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.ticker-badge {
    color: #ff5500;
    font-weight: 700;
}

/* 2. HERO */

.hero-section {
    position: relative;
    min-height: 420px;
    padding-top: calc(78px + 32px) !important;
    padding-bottom: 52px;
    overflow: hidden;
    isolation: isolate;

    background:
        linear-gradient(
            110deg,
            rgba(0, 27, 64, 0.97) 0%,
            rgba(0, 43, 102, 0.91) 48%,
            rgba(0, 43, 102, 0.72) 100%
        ),
        url("/images/home/hero-family.jpg") center / cover no-repeat;

    color: #fff;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(255, 85, 0, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 153, 255, 0.10),
            transparent 30%
        );
}

/* 3. BACKGROUND EFFECTS */

.hero-grid {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 520px;
    height: 400px;
    opacity: 0.16;

    background-image:
        linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);

    background-size: 42px 42px;
    transform: perspective(500px) rotateX(58deg) rotateZ(-12deg);
    mask-image: linear-gradient(to top, black, transparent 85%);

    animation: heroGridMove 12s linear infinite;
}

@keyframes heroGridMove {
    from {
        transform: perspective(500px) rotateX(58deg) rotateZ(-12deg) translateY(0);
    }
    to {
        transform: perspective(500px) rotateX(58deg) rotateZ(-12deg) translateY(42px);
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero-orb--one {
    width: 180px;
    height: 180px;
    right: 23%;
    top: -90px;

    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 120, 65, .22),
        rgba(255, 85, 0, .02) 70%
    );

    animation: heroFloatOne 7s ease-in-out infinite;
}

.hero-orb--two {
    width: 110px;
    height: 110px;
    right: 7%;
    bottom: 25px;

    background: radial-gradient(
        circle at 35% 35%,
        rgba(100, 180, 255, .18),
        transparent 70%
    );

    animation: heroFloatTwo 6s ease-in-out infinite;
}

@keyframes heroFloatOne {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-15px, 18px, 0);
    }
}

@keyframes heroFloatTwo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 4. HERO CONTAINER */

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);

    align-items: center;
    gap: 55px;
}

/* 5. LEFT CONTENT */

.hero-content {
    max-width: 650px;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 12px;
    margin-bottom: 15px;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;

    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);

    color: #ff8a5c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .35px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5500;

    box-shadow:
        0 0 0 4px rgba(255, 85, 0, .10),
        0 0 10px rgba(255, 85, 0, .7);

    animation: eyebrowPulse 2s infinite;
}

@keyframes eyebrowPulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(255, 85, 0, .10),
            0 0 10px rgba(255, 85, 0, .7);
    }
    50% {
        box-shadow:
            0 0 0 7px rgba(255, 85, 0, .03),
            0 0 16px rgba(255, 85, 0, .9);
    }
}

.hero-heading {
    margin: 0 0 13px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -1.8px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.highlight-orange {
    color: #ff6330;
    text-shadow: 0 5px 22px rgba(255, 85, 0, .22);
}

.hero-heading-small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .88);
    font-size: .53em;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.4px;
}

.hero-description {
    max-width: 590px;
    margin: 0 0 17px;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    line-height: 1.65;
}

/* 6. FEATURE TAGS */

.hero-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 670px;
}

.hero-subcategories span {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .67);
    font-size: 9px;
    line-height: 1;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.hero-subcategories span:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 105, 55, .45);
    background: rgba(255, 85, 0, .11);
    color: #fff;
}

/* 7. RIGHT ACTION AREA */

.hero-actions {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    overflow: visible;
}

/* New wrapper: exact same dimensions as the card */

.hero-action-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    overflow: visible;
}

/* 8. MAIN ESTIMATE CARD */

.hero-action-card {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 340px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .13),
            rgba(255, 255, 255, .055)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .10);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.hero-action-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 26px 65px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .13);
}

/* 9. CARD TOP */

.hero-action-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
}

.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8ff2b7;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .6px;
}

.hero-live span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #42e88a;
    box-shadow: 0 0 8px rgba(66, 232, 138, .8);
}

.hero-action-card__label {
    color: rgba(255, 255, 255, .55);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

/* 10. CARD ICON */

.hero-action-card__icon-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    margin-bottom: 11px;
    animation: boxRotate 8s linear infinite;
    transform-origin: center center;
}

@keyframes boxRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-action-card__icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    background: linear-gradient(
        145deg,
        rgba(255, 102, 48, .95),
        rgba(255, 75, 15, .75)
    );

    box-shadow:
        0 10px 25px rgba(255, 85, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .3);

    transform: rotate(-3deg);
    transition: transform .3s ease;
}

.hero-action-card:hover .hero-action-card__icon {
    transform: rotate(0deg) scale(1.04);
}

.hero-action-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-action-card__pulse {
    position: absolute;
    inset: -5px;
    border-radius: 17px;
    border: 1px solid rgba(255, 100, 50, .25);
    animation: cardPulse 2.5s ease-out infinite;
}

@keyframes cardPulse {
    0% {
        transform: scale(.9);
        opacity: .7;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* 11. CARD TEXT */

.hero-action-card h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -.35px;
}

.hero-action-card h3 span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: .82em;
    font-weight: 500;
}

.hero-action-card > p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    line-height: 1.5;
}

/* 12. ESTIMATE BUTTONS */

.hero-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hero-estimate-btn {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 43px;
    padding: 6px 9px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;

    cursor: pointer;
    text-align: left;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.hero-estimate-btn--ai {
    background: linear-gradient(
        135deg,
        rgba(255, 85, 0, .95),
        rgba(255, 105, 50, .78)
    );
    color: #fff;
    box-shadow: 0 7px 20px rgba(255, 85, 0, .18);
}

.hero-estimate-btn--manual {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.hero-estimate-btn:hover {
    transform: translateY(-2px);
}

.hero-estimate-btn--ai:hover {
    box-shadow: 0 10px 28px rgba(255, 85, 0, .30);
}

.hero-estimate-btn--manual:hover {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .11);
}

.hero-estimate-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    margin-right: 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    font-size: 15px;
    font-weight: 700;
}

.hero-estimate-btn__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.hero-estimate-btn__content strong {
    font-size: 11px;
    line-height: 1.1;
}

.hero-estimate-btn__content small {
    color: rgba(255, 255, 255, .72);
    font-size: 8px;
}

.hero-estimate-btn--ai .hero-estimate-btn__content small {
    color: rgba(255, 255, 255, .85);
}

.hero-estimate-btn__arrow {
    font-size: 16px;
    opacity: .65;
    transition: transform .25s ease, opacity .25s ease;
}

.hero-estimate-btn:hover .hero-estimate-btn__arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 13. TRUST INDICATORS */

.hero-action-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;

    margin-top: 11px;
    padding-top: 9px;

    border-top: 1px solid rgba(255, 255, 255, .09);
}

.hero-action-trust span {
    color: rgba(255, 255, 255, .55);
    font-size: 7px;
    white-space: nowrap;
}

/* 14. DIRECT BOOKING */

.hero-contact-booking {
    width: 100%;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-contact-heading {
    margin-bottom: 7px;
    text-align: center;
    color: rgba(255, 255, 255, .65);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
}

.hero-contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
}

.hero-contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    min-width: 0;
    min-height: 35px;
    padding: 6px 4px;

    border-radius: 7px;

    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;

    transition: transform .2s ease, filter .2s ease;
}

.hero-book-call {
    background: #1769aa;
    border: 1px solid rgba(255, 255, 255, .2);
}

.hero-book-whatsapp {
    background: #168b55;
    border: 1px solid rgba(255, 255, 255, .15);
}

.hero-contact-buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    color: #fff;
}

.hero-contact-buttons i {
    flex-shrink: 0;
    font-size: 12px;
}

/* 15. FLOATING BADGES */

.hero-floating-badge {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 8px 10px;

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;

    background: rgba(5, 30, 65, .88);
    backdrop-filter: blur(12px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);

    color: rgba(255, 255, 255, .85);
    font-size: 8px;
    font-weight: 700;
    pointer-events: none;
}

/* Badge text */

.hero-floating-badge small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .55);
    font-size: 7px;
    font-weight: 500;
}

.hero-floating-badge__icon,
.hero-floating-badge__check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    border-radius: 7px;
    background: rgba(255, 85, 0, .14);
    color: #ff7545;
    font-size: 8px;
    font-weight: 800;
}

.hero-floating-badge__check {
    background: rgba(66, 232, 138, .12);
    color: #69e99c;
}

/* Top badge: touches top-right card edge */

.hero-floating-badge--top {
    top: 0;
    right: 0;
    transform: translate(35%, -50%);
    animation: floatingBadgeTop 4s ease-in-out infinite;
}

/* Bottom badge: touches bottom-left card edge */

.hero-floating-badge--bottom {
    bottom: 0;
    left: 0;
    transform: translate(-35%, 50%);
    animation: floatingBadgeBottom 4.5s ease-in-out infinite;
}

@keyframes floatingBadgeTop {
    0%, 100% {
        transform: translate(35%, -50%) rotate(1deg);
    }
    50% {
        transform: translate(35%, calc(-50% - 5px)) rotate(0deg);
    }
}

@keyframes floatingBadgeBottom {
    0%, 100% {
        transform: translate(-35%, 50%) rotate(-1deg);
    }
    50% {
        transform: translate(-35%, calc(50% + 5px)) rotate(0deg);
    }
}

/* 16. TABLET */

@media (max-width: 991px) {

    .hero-section {
        padding-top: calc(68px + 24px) !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-actions {
        min-height: auto;
    }

    .hero-action-wrapper {
        max-width: 380px;
    }

    .hero-action-card {
        max-width: 380px;
    }

    .hero-floating-badge--top {
        right: 0;
        transform: translate(25%, -50%);
    }

    .hero-floating-badge--bottom {
        left: 0;
        transform: translate(-25%, 50%);
    }
}

/* 17. MOBILE */

@media (max-width: 767px) {

    .hero-section {
        min-height: auto;
        padding: 36px 0 40px;
    }

    .hero-container {
        gap: 27px;
    }

    .hero-heading {
        font-size: 35px;
        letter-spacing: -1.2px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-subcategories span {
        font-size: 8px;
        padding: 5px 7px;
    }

    .hero-action-wrapper {
        max-width: 100%;
    }

    .hero-action-card {
        max-width: 100%;
        padding: 17px;
    }

    .hero-floating-badge {
        display: none;
    }

    .hero-grid {
        opacity: .08;
    }
}

/* 18. SMALL MOBILE */

@media (max-width: 480px) {

    .hero-section {
        padding-top: calc(64px + 20px) !important;
    }

    .eyebrow-pill {
        font-size: 8px;
    }

    .hero-heading {
        font-size: 30px;
    }

    .hero-heading-small {
        font-size: .55em;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.6;
    }

    .hero-subcategories {
        gap: 5px;
    }

    .hero-subcategories span {
        font-size: 7px;
        padding: 4px 6px;
    }

    .hero-action-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .hero-action-card {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        border-radius: 15px;
    }

    .hero-action-card h3 {
        font-size: 17px;
    }

    .hero-action-trust {
        gap: 3px;
    }

    .hero-action-trust span {
        font-size: 6px;
    }

    .hero-contact-buttons {
        gap: 6px;
    }

    .hero-contact-buttons a {
        min-height: 34px;
        font-size: 9px;
        gap: 5px;
    }
}

/* 19. ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .hero-grid,
    .hero-orb,
    .eyebrow-dot,
    .hero-action-card__pulse,
    .hero-floating-badge {
        animation: none !important;
    }

    .hero-action-card,
    .hero-estimate-btn,
    .hero-contact-buttons a,
    .hero-subcategories span {
        transition: none !important;
    }
}
