/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.411);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.popup-overlay.is-open {
    display: flex;
}

/* Modal */
.popup {
    width: min(980px, 100%);
    border-radius: 18px;
    border: 1px solid 0 24px 80px rgba(0, 0, 0, .45);
    box-shadow: rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, var(--card), #0b1220);
    overflow: auto;

    transform: translateY(16px) scale(.98);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
}

.popup-overlay.is-open .popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 520px;
}

/* Left image panel */
.popup-media {
    position: relative;
    padding: 26px;
    background:
        radial-gradient(1000px 420px at 20% 10%, rgba(79, 140, 255, .35), transparent 55%),
        radial-gradient(700px 420px at 80% 80%, rgba(34, 197, 94, .25), transparent 55%),
        linear-gradient(180deg, #0e1630, #0a1022);
}

/* Replace this background image with your own */
.media-photo {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(10, 16, 34, 0.192), rgba(10, 16, 34, 0.568)),
        url('../images/resource/owner-img1.jpg');
    background-size: cover;
    background-position: 0px 70px;
    background-repeat: no-repeat;
    filter: saturate(1.05);
}

.media-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}



.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent2);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .18);
}

.media-title {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.15;
    letter-spacing: -.3px;
    color: #ffffff;
}

.media-sub {
    margin: 10px 0 0;
    color: rgba(234, 240, 255, 0.979);
    max-width: 44ch;
    line-height: 1.5;
    font-size: 14.5px;
}

.media-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 20, 32, .45);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(234, 240, 255, .88);
    font-size: 13.5px;
}

.tick {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(79, 140, 255, .22);
    border: 1px solid rgba(79, 140, 255, .35);
    display: grid;
    place-items: center;
    font-size: 12px;
}

/* Right form panel */
.popup-form {
    padding: 26px;
    background: rgba(0, 0, 0, 0.61);
    position: relative;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(10, 12, 18, .25);
    color: var(--text);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.popup-close:hover {
    transform: scale(1.03);
    background: rgba(10, 12, 18, .35);
    border-color: rgba(255, 255, 255, .18);
}

.form-head h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.2px;
    color: #ffffff;
}

.form-head p {
    margin: 8px 0 0;
    color: whitesmoke;
    font-size: 13.5px;
    line-height: 1.45;
}

form {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: block;
    font-size: 15px;
    color: rgb(255, 255, 255);
    margin-bottom: 6px;
}

.field {
    background: rgba(7, 10, 18, .35);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    padding: 12px 12px;
    color: whitesmoke;
    outline: none;
    width: 100%;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.field:focus {
    border-color: rgba(79, 140, 255, .55);
    box-shadow: 0 0 0 5px rgba(79, 140, 255, .12);
    background: rgba(7, 10, 18, .55);
    transform: translateY(-1px);
}

select.field {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(234, 240, 255, 0.993) 50%),
        linear-gradient(135deg, rgba(234, 240, 255, 0.966) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.submit {
    margin-top: 4px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, rgba(255, 179, 79, 0.95), rgba(197, 34, 34, 0.979));
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.note {
    font-size: 12px;
    color: rgba(241, 241, 241, 0.856);
    margin: 0;
    padding: 2px 10px;
    background: rgba(0, 0, 0, 0.432);
    border-radius: 17px;
}

/* Responsive */
@media (max-width: 860px) {
    .popup-grid {
        grid-template-columns: 1fr;
    }

    .popup-media {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .popup-form {
        padding: 18px;
        top: 15%;
    }

    .popup-media {
        display: none;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .popup {
        border-radius: 16px;
    }

    .feature-card {
        margin: 20px 0 !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .popup,
    .popup-close,
    .field,
    .submit,
    .open-btn {
        transition: none !important;
    }
}

/* ===== Card Styling ===== */
.feature-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 350px;
    margin: 0 0 50px;

    /* animation base */
    transform: translateY(6px) scale(0.98);
    transition: transform .35s ease, box-shadow .35s ease, opacity .7s ease;
}

.feature-card .card-body {
    padding: 0 26px 0;
}

.feature-badge img {
    width: 80%;
    border-radius: 14px;
    place-items: center;
    transition: transform ease-in-out 0.3s;

    transform-style: preserve-3d;
    backface-visibility: hidden;

}

.feature-card .card-title {
    font-weight: 700;
    letter-spacing: .2px;
}

/* Hover animation */
.feature-card:hover {
    transform: translateY(-5px) scale(1) ;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.feature-card:hover img{
    transform: rotateY(360deg) !important;
    cursor: pointer;
}


.route-service {
    padding: 60px 20px;
    background: #ffffff;
}


.route-container {
    max-width: 900px;
    margin: auto;
}

.route-service h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111;
}

.route-service h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 22px;
    color: #222;
}

.route-service p {
    line-height: 1.8;
    color: #555;
}

.route-service ul,
.route-service ol {
    padding-left: 20px;
}

/* 
/* .route-service li{
    list-style: auto !important;
} */
*/ .route-service li {
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    color: #444;
}

.contact-info {
    margin-top: 10px;
}

@media (max-width:768px) {

    .route-service h2 {
        font-size: 26px;
    }

    .route-service h3 {
        font-size: 20px;
    }

}

.page-banner-form-section {
    background: linear-gradient(180deg, #e50000 0%, #c90000 100%);
    padding: 200px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-banner-form-section:before {
    position: absolute;
    top: 0;
    left: 0;
    /* inset: 1; */
    background: #0000009f;
}

.page-banner-form-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}


.banner-content h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 24px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.breadcrumb-list li {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding-right: 14px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
}

.breadcrumb-list li a {
    color: #fff;
    text-decoration: none;
}

.banner-form-box {
    background: #0000009f;
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    max-width: 1200px;
}

.banner-form .form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 18px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: inline-block;
    width: fit-content;
    background: #ffbf00;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.form-group label span {
    color: #c40000;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 44px;
    border: 2px solid #ffbf00;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

.form-group input::placeholder {
    color: #888;
    font-weight: 600;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ffd84d;
}

.submit-group {
    justify-content: flex-end;
}

.submit-group button {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 4px;
    background: #1400ff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-group button:hover {
    background: #0d00b8;
}

/* Large Tablet */
@media (max-width: 991px) {
    .banner-content h1 {
        font-size: 42px;
    }

    .banner-form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .page-banner-form-section {
        padding: 120px 0 50px;
    }

    .banner-content h1 {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .breadcrumb-list {
        margin-bottom: 10px;
    }

    .banner-form-box {
        padding: 18px 14px;
    }

    .banner-form .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .submit-group button {
        height: 46px;
    }
}



.service-content-wrapper {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* 
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.sub-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d90429;
} */

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.service-card,
.why-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.service-card:hover,
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.service-card h5,
.why-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.service-card p,
.why-card p {
    margin-bottom: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.tips-box,
.checklist-box {
    background: #fff5f5;
    border-left: 4px solid #d90429;
    padding: 20px 22px;
    border-radius: 12px;
}

.tips-box ul,
.checklist-box ul {
    padding-left: 18px;
}

.tips-box ul li,
.checklist-box ul li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.7;
}

.tips-box ul li:last-child,
.checklist-box ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .service-content-wrapper {
        padding: 28px;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .sub-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .service-content-wrapper {
        padding: 20px;
        border-radius: 14px;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .sub-title {
        font-size: 1.15rem;
    }

    .content-block p,
    .tips-box ul li,
    .checklist-box ul li {
        font-size: 14px;
    }
}



/* Marquee Section Wrapper */
.marquee-section {
    background-color: #c90000;
    /* Light grey background */
    /* padding: 40px 0; */
    /* border-top: 1px solid #e2e8f0; */
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    /* Hide the scrolling elements outside the viewport */
    position: relative;
}



/* Container that holds the track */
.marquee-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    /* Faded edges effect */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* The sliding track */
.marquee-track {
    display: flex;
    align-items: center;
    gap: 50px;
    /* Space between items */
    width: max-content;
    /* 30s is the speed. Lower = faster, Higher = slower */
    animation: scrollMarquee 30s linear infinite;
    padding-left: 25px;
}

/* Pause animation when user hovers over it */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Individual Marquee Item */
.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    /* background: #ffffff; */
    padding: 15px 30px;
    border-radius: 50px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); */
    /* border: 1px solid #f1f5f9; */
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.marquee-item:hover {
    color: #CC9700;
    border-color: #bfdbfe;
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.1);
}

.marquee-item i {
    color: #CC9700;
    font-size: 1.5rem;
}

/* Image Logo version (If you want to use brand logos instead of text) */
.marquee-logo img {
    height: 40px;
    /* Uniform height for logos */
    width: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.marquee-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Keyframes for the infinite scroll */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translates exactly half the width to create a seamless loop */
        transform: translateX(calc(-50% - 25px));
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .marquee-track {
        gap: 30px;
    }

    .marquee-item {
        padding: 12px 20px;
        font-size: 20px;
    }
}