/* Enquire Now Tab Styles - Enhanced Attractive Tab Version */
.enquire-now-tab {
    position: fixed;
    right: 0;
    top: 68%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enquire-now-tab-btn {
    background: linear-gradient(135deg, #00c4cc 0%, #7d2ae8 100%);
    color: white;
    padding: 15px 10px;
    border-radius: 12px 0 0 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow:
        -4px 0 20px rgba(0, 196, 204, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: 180px;
    border-right: 3px solid rgba(255, 255, 255, 0.3);
}

/* Tab hover effect - slides out */
.enquire-now-tab:hover {
    right: -5px;
}

.enquire-now-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enquire-now-tab-btn:hover::before {
    opacity: 1;
}

.enquire-now-tab-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.8) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Icon style */
.enquire-now-tab-btn .tab-icon {
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    font-size: 18px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.enquire-now-tab-btn:hover .tab-icon {
    transform: translateX(50%) translateY(-3px);
    opacity: 1;
}

/* Pulsing glow effect */
@keyframes tab-pulse {

    0%,
    100% {
        box-shadow:
            -4px 0 20px rgba(0, 196, 204, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow:
            -4px 0 25px rgba(0, 196, 204, 0.5),
            0 6px 20px rgba(125, 42, 232, 0.25),
            0 0 15px rgba(0, 196, 204, 0.4);
    }
}

.enquire-now-tab-btn {
    animation: tab-pulse 3s ease-in-out infinite;
}

/* Hover state enhancements */
.enquire-now-tab-btn:hover {
    box-shadow:
        -6px 0 30px rgba(0, 196, 204, 0.5),
        0 6px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(125, 42, 232, 0.3);
    padding: 22px 18px;
    animation: none;
}

/* Active state */
.enquire-now-tab-btn:active {
    transform: scale(0.98);
    box-shadow:
        -2px 0 15px rgba(0, 196, 204, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Notification badge */
.enquire-now-tab .notification-badge {
    position: absolute;
    top: 3px;
    /* right: -5px; */
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Tab corner fold effect */
.enquire-now-tab-btn .corner-fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent rgba(255, 255, 255, 0.3) transparent transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .enquire-now-tab-btn {
        padding: 18px 14px;
        font-size: 14px;
        min-height: 160px;
    }

    .enquire-now-tab-btn:hover {
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .enquire-now-tab {
        right: -2px;
    }

    .enquire-now-tab-btn {
        padding: 16px 12px;
        font-size: 13px;
        min-height: 140px;
        border-radius: 10px 0 0 10px;
    }

    .enquire-now-tab-btn:hover {
        padding: 18px 14px;
    }

    .enquire-now-tab-btn::after {
        left: 6px;
        width: 3px;
    }

    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .enquire-now-tab-btn {
        padding: 14px 10px;
        font-size: 12px;
        min-height: 120px;
        border-radius: 8px 0 0 8px;
    }

    .enquire-now-tab-btn:hover {
        padding: 16px 12px;
    }

    .enquire-now-tab-btn .tab-icon {
        font-size: 16px;
        bottom: 12px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .enquire-now-tab-btn {
        animation: none;
    }

    .notification-badge {
        animation: none;
    }

    .enquire-now-tab:hover {
        right: 0;
    }
}



/* Responsive adjustments for notification badge */
@media (max-width: 1440px) {
    .enquire-now-tab .notification-badge {
        width: 21px;
        height: 21px;
        font-size: 11px;
        top: 2px;
        right: 10px;
    }
}

@media (max-width: 1200px) {
    .enquire-now-tab .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -1px;
        right: 10px;
        border-width: 1.5px;
    }
}

@media (max-width: 1024px) {
    .enquire-now-tab .notification-badge {
        width: 19px;
        height: 19px;
        font-size: 10px;
        top: 2px;
        right: 16px;
        border-width: 1.5px;
    }
}

@media (max-width: 900px) {
    .enquire-now-tab .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: 2px;
        right: 16px;
        border-width: 1.5px;
    }
}

@media (max-width: 768px) {
    .enquire-now-tab .notification-badge {
        width: 17px;
        height: 17px;
        font-size: 9px;
        top: -1px;
        right: 10px;
        border-width: 1px;
        box-shadow: 0 1px 8px rgba(255, 107, 107, 0.5);
    }
}

@media (max-width: 600px) {
    .enquire-now-tab .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 8px;
        top: 1px;
        right: 15px;
        border-width: 1px;
    }
}

@media (max-width: 480px) {
    .enquire-now-tab .notification-badge {
        width: 15px;
        height: 15px;
        font-size: 8px;
        top: -1px;
        right: 10px;
        border-width: 1px;
        box-shadow: 0 1px 6px rgba(255, 107, 107, 0.5);
    }
}

@media (max-width: 400px) {
    .enquire-now-tab .notification-badge {
        width: 14px;
        height: 14px;
        font-size: 7px;
        top: -1px;
        right: 10px;
        border-width: 1px;
    }
}

@media (max-width: 360px) {
    .enquire-now-tab .notification-badge {
        width: 13px;
        height: 13px;
        font-size: 7px;
        top: 1px;
        right: 13px;
    }
}

@media (max-width: 320px) {
    .enquire-now-tab .notification-badge {
        width: 12px;
        height: 12px;
        font-size: 6px;
        top: -1px;
        right: 10px;
        box-shadow: 0 1px 4px rgba(255, 107, 107, 0.5);
    }
}

/* Tablet landscape specific */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .enquire-now-tab .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 2px;
        right: 13px;
    }
}

/* Mobile landscape specific */
@media (max-width: 768px) and (orientation: landscape) {
    .enquire-now-tab .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 8px;
        top: -1px;
        right: 10px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .enquire-now-tab .notification-badge {
        border-width: 1.5px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .enquire-now-tab .notification-badge {
        animation: none;
        transform: scale(1.05);
        /* Slightly larger for visibility without animation */
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .enquire-now-tab .notification-badge {
        border: 2px solid #1a1a1a;
        box-shadow: 0 2px 10px rgba(255, 107, 107, 0.6);
    }

    @media (max-width: 768px) {
        .enquire-now-tab .notification-badge {
            border: 1px solid #1a1a1a;
        }
    }
}

/* Print styles */
@media print {
    .enquire-now-tab .notification-badge {
        display: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .enquire-now-tab .notification-badge {
        border-width: 2px;
        /* Slightly thicker for better touch visibility */
    }
}