@font-face {
    font-family: 'ProductSans';
    src: url('../fonts/ProductSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ProductSans';
    src: url('../fonts/ProductSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

html {
    font-family: 'ProductSans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-feature-settings: 'liga' 0;
    font-variant-ligatures: none;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* BACKGROUND VIDEO */
.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* TRANSLUCENT ANGLED SHAPE */
.overlay-shape {
    position: absolute;
    left: 0;
    width: 80%;
    height: 100%;
    background: url('../images/hexagon-bg.svg') no-repeat center/cover;
    z-index: -1;
}

/* CONTENT */
.hero-content {
    position: absolute;
    top: 40%;
    left: 7%;
    padding-right: 20px;
    transform: translateY(-50%);
    max-width: 550px;
}

.hero-logo {
    width: 390px;
    margin-bottom: 10px;
    margin-left: -40px;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #000;
    margin-bottom: 25px;
}

.blue {
    color: #0884D5;
    font-weight: 700;
}

/* BUTTON */
.cta-btn {
    display: inline-block;
    background: #0884D5;
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgb(24 49 216 / 30%);
    transition: 0.2s ease-in-out;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 128, 216, 0.4);
}

.cta-wrap {
    position: relative;
    display: inline-block;
}

.cta-expand {
    position: absolute;
    top: 28px;
    left: 0;
    width: 350px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: .4s ease;
    overflow: hidden;
}

.cta-expand.show {
    transform: scaleX(1);
    opacity: 1;
}

.cta-expand input {
    border: none;
    outline: none;
    padding-left: 10px;
    flex: 1;
    margin-top: 0px;
}

.cta-submit {
    background: none;
    cursor: pointer;
    width: 15%;
    margin-top: 3px;
}

.cta-submit:hover {
    transform: translateX(2px);
    transition: 0.2s;
}

.error-text {
    font-size: 14px;
    color: red;
    display: none;
    margin-left: 14px;
}

.error-text.show {
    display: block;
    margin-top: 5px;
}

@media (max-width: 992px) {

    .overlay-shape {
        display: none;
    }

    /* Video dark overlay */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.75);
        z-index: -1;
    }

    .hero {
        height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        text-align: center;
        padding: 0 20px;
        z-index: 1;
    }

    .hero-logo {
        /* width: 220px;
        height: 100px; */
        margin: 0 auto 16px;
        display: block;
    }

    .cta-btn {
        font-size: 14px;
    }

    .cta-wrap {
        display: flex;
        justify-content: center;
    }

    /* CTA expand centered */
    .cta-expand {
        left: 50%;
        transform-origin: center;
        transform: translateX(-50%) scaleY(0);
        width: 100%;
        max-width: 320px;
        top: 12px;
    }

    .cta-expand.show {
        transform: translateX(-50%) scaleY(1);
    }

    h1 {
        font-size: 28px;
    }

}

/* ------------------------------
   FEATURES SECTION
------------------------------ */

.features-section {
    padding: 80px 0;
    text-align: center;
}

.features-title {
    font-size: 40px;
    font-weight: 400;
}

.features-title .brand {
    font-size: 50px;
    font-weight: 700;
    background: linear-gradient(90deg, #1AA9E5 0%, #6D47E4 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-sub {
    max-width: 680px;
    margin: 12px auto 50px;
    color: #6d6d6d;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 300;
}


.hex-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    justify-items: center;
}

.hex-item {
    width: 300px;
}

.hex-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.hex-item:hover .hex-inner {
    transform: rotateY(180deg);
}

.hex-front,
.hex-back {
    position: absolute;
    width: 100%;
    height: 307px;
    backface-visibility: hidden;
}

.hex-front img,
.hex-back img {
    width: 100%;
    height: 307px;
    display: block;
}

/* Small hex + icon */
.small-hex {
    position: absolute;
    top: 80px;
    left: 115px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Title text */
.hex-title {
    margin-top: -125px;
    margin-left: 65px;
    width: 175px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    z-index: 2;
    position: relative;
}

/* Backside */
.hex-back {
    transform: rotateY(180deg);
    position: relative;
}

.hex-back-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 255px;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    pointer-events: none;
}

@media (max-width: 1399px) {
    .hex-item {
        width: 260px;
    }

    .hex-front,
    .hex-back,
    .hex-front img,
    .hex-back img {
        height: 265px;
    }

    .small-hex {
        top: 70px;
        left: 95px;
        width: 60px;
        height: 60px;
    }

    .hex-title {
        margin-top: -110px;
        margin-left: 55px;
        width: 160px;
        font-size: 13px;
    }

    .hex-back-text {
        width: 220px;
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    .hex-grid {
        gap: 20px;
        padding: 0 20px;
    }

    .hex-item {
        width: 230px;
    }

    .hex-front,
    .hex-back,
    .hex-front img,
    .hex-back img {
        height: 235px;
    }

    .small-hex {
        top: 60px;
        left: 82px;
        width: 55px;
        height: 55px;
    }

    .hex-title {
        margin-top: -95px;
        margin-left: 45px;
        width: 145px;
        font-size: 12.5px;
    }

    .hex-back-text {
        width: 200px;
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .hex-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 40px;
        justify-items: center;
    }

    .hex-item {
        width: 300px;
    }

    .small-hex {
        left: 50%;
        transform: translateX(-50%);
    }

    .hex-title {
        margin-left: 0;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

/* ------------------------------
   CONTENT SECTION
------------------------------ */

/* ---- GLOBAL SECTION LAYOUT ---- */

.section-block>div {
    max-width: 600px;
    z-index: 2;
}

.section-block {
    display: flex;
    align-items: center;
    padding: 1px 6%;
    position: relative;
    overflow: hidden;
}


.section-title .line {
    display: inline-block;
    white-space: nowrap;
}

/* ---- SHARED TEXT STYLING ---- */
.section-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
}

.section-highlight {
    padding: 4px 16px;
    border-radius: 18px;
    font-weight: 600;
    display: inline-block;
    margin: 0 6px;
    color: #fff;
}

.section-text {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
    color: #505050;
    max-width: 580px;
}

/* ---- IMAGE STYLE UNIFIED ---- */
.section-image {
    width: 100%;
    height: auto;
    z-index: 2;
}

.analytics-section,
.dialer-section {
    padding-left: 0%;
}


/* ---- SECTION BACKGROUNDS ---- */

.section-connected {
    background-image: url('../images/wave-bg-right.webp');
    background-size: 60%;
    background-position: right -150px;
    background-repeat: no-repeat;
}

.dialer-section {
    background-image: url('../images/wave-bg-left.webp');
    background-size: 60%;
    background-position: left 295px;
    background-repeat: no-repeat;
}


.section-connected::before,
.analytics-section::before,
.calendar-section::before,
.dialer-section::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    /* background: radial-gradient(circle at top right, #f4f8ff, #ffffff); */
    opacity: 0.9;
}

/* ---- COLOR VARIANTS ---- */
.connected-highlight {
    background: #00AAFF;
}

.analytics-highlight {
    background: #6033E8;
}

.calendar-highlight {
    background: #FBBD23;
    color: #000;
}

.dialer-highlight {
    background: #FF8181;
    color: #000;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1399px) {
    .section-block {
        padding: 70px 5%;
    }

    .section-title {
        font-size: 40px;
    }

    .section-text {
        font-size: 20px;
    }

    .section-image {
        max-width: 525px;
    }
}


@media (max-width: 1199px) {
    .section-block {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 35px;
    }

    .section-text {
        font-size: 19px;
    }

    .section-image {
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .section-block {
        flex-direction: column;
        text-align: center;
        padding: 10px 6%;
    }

    .section-block>div {
        max-width: 100%;
    }

    .section-title {
        font-size: 40px;
        line-height: 1.25;
    }

    .section-title .line {
        white-space: normal;
    }

    .section-text {
        max-width: 100%;
        font-size: 18px;
    }

    .section-image {
        max-width: 560px;
        margin-top: -30px;
    }

    .section-block::before {
        display: none;
    }

    .section-connected,
    .dialer-section {
        background-image: none;
    }

}

/* ------------------------------
   BRAND MESSAGE SECTION
------------------------------ */
.brand-message-section {
    position: relative;
    width: 100%;
    height: 270px;
    background: url("../images/brand-message-bg.webp") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.brand-message-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    width: 90%;
}

.brand-message-content p {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 900px;
    margin: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .brand-message-section {
        height: 200px;
    }

    .brand-message-content p {
        font-size: 18px;
    }
}

/* ------------------------------
   TESTIMONIAL SECTION
------------------------------ */

.testimonial-section {
    padding: 90px 0;
    background: url("../images/blue-dot-bg.webp") no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    text-align: center;
}

.decor-line-left {
    position: relative;
    left: -530px;
    height: 55px;
    pointer-events: none;
}

.decor-line-right {
    position: relative;
    right: -530px;
    bottom: 405px;
    height: 55px;
    pointer-events: none;
}

.testimonial-section-title {
    font-size: 36px;
    font-weight: 600;
}

.testimonial-section-subtitle {
    margin-top: 10px;
    font-size: 20px;
    color: #354052;
    font-weight: 500;
}

.testimonial-grid {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(3, 330px);
    justify-content: center;
    gap: 32px;
}

.testimonial-card {
    position: relative;
    width: 330px;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #ccc;
    cursor: pointer;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

/* Hide unwanted controls visually */
video::-internal-media-controls-download-button,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel {
    display: none !important;
}

/* Sound Icon */
.sound-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(4px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
}

.testimonial-card:hover .sound-toggle {
    opacity: 1;
    visibility: visible;
}

/* Name & role */
.testimonial-info {
    position: absolute;
    bottom: 18px;
    left: 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.testimonial-info strong {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    font-size: 15px;
}

.testimonial-info span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #fff;
    padding-left: 10px;
}

@media (max-width: 1199px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 300px);
    }

    .testimonial-card {
        width: 300px;
        height: 330px;
    }

    .decor-line-left,
    .decor-line-right {
        display: none;
    }
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 24px;
    }

    .testimonial-card {
        width: 100%;
        max-width: 330px;
    }
}


/* ------------------------------
   CONTACT SECTION
------------------------------ */

.contact-section {
    max-width: 1350px;
    margin: auto;
    padding: 80px 20px;
    padding-bottom: 0px;
    text-align: center;
}

.contact-section h2 {
    font-size: 40px;
    font-weight: 700;
}

.contact-section p.contact-section-subtitle {
    margin-top: 30px;
    font-size: 20px;
    color: #4d4d4d;
    font-weight: 300;
}

/* Layout */
.content-wrapper {
    margin-top: 40px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 80px;
}

/* LEFT IMAGE AREA */
.left-box {
    max-width: 600px;
    position: relative;
}

.left-box img.person {
    width: 100%;
    height: auto;
    display: block;
}

/* RIGHT FORM SECTION */
.right-box {
    max-width: 450px;
    text-align: left;
    padding-left: 50px;
    border-left: 1px solid #363636;
}

.right-box h3 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 700;
}

.right-box h3 span {
    background: linear-gradient(145.2deg, #2163DB 67.29%, #35CACB 85.92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Form Inputs */
input {
    width: 100%;
    padding: 16px;
    border-radius: 30px;
    border: 1px solid #d9dce3;
    font-size: 17px;
    margin-top: 20px;
    outline: none;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
}

input:not(.cta-expand input):focus {
    border: 2px solid #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

#contactEmail.input-error {
    border: 2px solid red;
    box-shadow: 0 0 6px red;
}

/* Button */
button {
    width: 170px;
    padding: 16px;
    margin-top: 32px;
    border: none;
    outline: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    background: linear-gradient(90deg, #59A8EA 0%, #8773EA 100%);
    color: white;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
}

/* Disabled button style */
#contactForm button[type="submit"]:disabled {
    background-color: #ccc;
    pointer-events: none;
    opacity: .65;
}

.form-message {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 5px;
    visibility: hidden;
}

.form-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    visibility: visible;
}

.form-message.error {
    color: white;
    background-color: #ff4d4d;
    border: 1px solid #ff4d4d;
    visibility: visible;
}

/* Responsive */

@media (max-width: 1399px) {
    .contact-section h2 {
        font-size: 36px;
    }

    .contact-section p.contact-section-subtitle {
        font-size: 18px;
    }

    .content-wrapper {
        gap: 60px;
    }

    .left-box {
        max-width: 550px;
    }

    .right-box h3 {
        font-size: 28px;
    }

    .right-box {
        margin-bottom: 25px;
    }
}

@media (max-width: 1199px) {
    .content-wrapper {
        gap: 50px;
        margin-bottom: -26px;
    }

    .left-box {
        max-width: 480px;
    }

    .right-box {
        max-width: 420px;
        padding-left: 40px;
        margin-bottom: 50px;
    }

    input {
        font-size: 16px;
        padding: 14px;
        display: block;
    }

    button {
        width: 160px;
        padding: 14px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .right-box {
        border-left: none;
        padding-left: 0;
        max-width: 100%;
        text-align: center;
    }

    input {
        text-align: left;
    }
}


/* ------------------------------
   FOOTER SECTION
------------------------------ */

.footer-wrapper {
    width: 100%;
    background: #f4f8fb;
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left Logo Only */
.footer-logo img {
    width: 270px;
    max-width: 100%;
}

/* Right Contact Section */
.footer-right h4 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-right p.description {
    font-size: 17px;
    color: #5a5a5a;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0;
    font-size: 20px;
    color: #202020;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.6;
}

/* Hover effect only for clickable links */
.contact-item.email:hover {
    color: #2764f5;
    cursor: pointer;
}

/* Remove underline from email link */
.contact-item a {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

/* ------------------------------
   MODAL SECTION
------------------------------ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}


.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem)
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000
}

.modal-backdrop.show {
    opacity: .5
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px)
}

.modal-header .btn-close {
    padding: .5rem .5rem;
    margin: -.5rem -.5rem -.5rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    }

}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    opacity: 1
}

.btn {
    margin-top: 10px;
    margin-left: 10px;
    font-weight: 400;
    line-height: 1.5;
    padding: .375rem .75rem;
    border-radius: .25rem;
    width: 95%;
    max-width: 100%;
}

.btn-primary {
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    pointer-events: none;
    opacity: .65
}


/* ----------------------------------
   APPOINTMENT TIME PICKER SECTION
----------------------------------- */

.time-picker-container {
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* Header */
.time-picker-header {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.week-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    white-space: nowrap;
}

/* Arrow Buttons */
.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    background: #0279b3;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.arrow svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Hover */
.arrow:hover {
    background: #015b86;
}

/* Disabled / inactive */
.arrow.inactive {
    opacity: 0.5;
    background: #ccc;
    cursor: not-allowed;
}

/* Date Slots */
.date-slot {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

.date-slot-item {
    flex: 1 0 18%;
    margin: 0;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.date-slot-item.active {
    border: 1px solid #0279b3;
    background: rgba(2, 121, 179, 0.1);
}

.date-slot-item.disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.date-slot-day {
    font-size: 13px;
    color: #666;
}

.date-slot-date {
    font-size: 15px;
    color: #000;
    font-weight: 600;
}

/* Time Slots */
.time-slot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}


.time-slot-item {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0 8px;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time-slot-item:hover,
.time-slot-item.picked {
    background: #0279b3;
    border-color: #0279b3;
    color: #fff;
}

.time-slot-item.disabled {
    background: #f0f0f0;
    color: #ccc;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .time-slot {
        grid-template-columns: repeat(2, 1fr);
    }

    .week-title {
        font-size: 16px;
    }

    .arrow {
        height: 34px;
        width: 34px;
    }

    .arrow i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .time-slot {
        grid-template-columns: 1fr;
    }

    .time-picker-header {
        gap: 10px;
    }

    .week-title {
        font-size: 15px;
    }
}

/* ----------------------------------
   SCROLL TO TOP BUTTON
----------------------------------- */

#scrollTopBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
}