.lang-btn {
    position: fixed !important;
    right: 20px;
    bottom: 80px;
    background: #ff5005 !important;
    /* color: #ff5005; */
    border-radius: 50% !important;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border: 2px dotted black;
}

.lang-popup {
    position: fixed;
    right: 20px;
    bottom: 50px;
    background: #ff5005;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 9999;
}

.lang-option {
    padding: 7px 0;
    cursor: pointer;
}

.lang-option a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.lang-btn img {
    height: 35px;
    width: 40px;
}


.hero .carousel-item {
    height: 40vh;
    background-size: contain;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.514);
    /* dark overlay, opacity adjust करें */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 10%;
}

.carousel-caption h1,
.carousel-caption h5,
.carousel-caption small {
    color: #ff5005;
}

.carousel-caption p {
    color: whitesmoke;
}

/* Dots ko round aur clean banane ke लिए */
.hero .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
}

.hero .bg1 {
    background-image: url("/images/img1.png");
}

.hero .bg2 {
    background-image: url("/images/img2.png");
}

.hero .bg3 {
    background-image: url("/images/img3.png");
}

.hero .bg4 {
    background-image: url("/images/img4.png");
}

.hero .bg5 {
    background-image: url("/images/img5.png");
}

.hero .bg6 {
    background-image: url("/images/img6.png");
}

.hero .bg7 {
    background-image: url("/images/img7.png");
}

.hero .bg8 {
    background-image: url("/images/img8.png");
}

.hero .bg9 {
    background-image: url("/images/img9.png");
}

#testimonialCarousel .bgt {
    height: 40vh;
    background-size: contain;
    background-position: center;
    position: relative;
    background-image: url("/images/testimonial.png");
}



.icon-circle {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
    box-shadow: 0 4px 7px #ff500583;
    z-index: 9999;
    margin-right: 10px;
    flex-shrink: 0;
    border: 2px dotted #ff5005;
}

.whatsapp-footer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    /* border-radius: 50px; */
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 100%;
    transition: background 0.3s ease;
    justify-content: center;
}

.whatsapp-footer:hover {
    background-color: #1ebe57;
    /* slightly darker on hover */
}




/*  comman buttons */
/* From Uiverse.io by adamgiebl */
.btn {
    border: 1px solid #ff5005;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
    color: #ff5005;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
    background-color: transparent;
}

.btn:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color: #ff5005;
    z-index: -1;
}

.btn:hover,
.btn:focus {
    color: white;
}

.btn:hover:before,
.btn:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

.btn:active {
    transform: scale(0.9);
}

.img-border,
#testimonialCarousel {
    border: 2px dotted #ff5005;
}

.hero {
    border-bottom: 2px dotted #ff5005;
}

.form-control {
    border: 1px inset #ff5005;
}

.form-control:focus {
    background-color: var(--bs-body-bg);
    border-color: #ff5005;
    outline: 0;
     box-shadow: 0 0 0 2px #ff50058a;
}

body{
    background-image: url('/images/gif.gif');
    color: white;
    min-height: 100vh;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero .carousel-item {
        height: 30vh;
    }
    
    .carousel-caption {
        top: 5%;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    header .container img {
        width: 150px !important;
    }
    
    .whatsapp-footer {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .lang-btn {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 70px;
    }
    
    .icon-circle {
        width: 45px;
        height: 45px;
    }
    
    .feature-section .col-md-3 {
        margin-bottom: 15px;
    }
    
    .feature-section .icon {
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .feature-section .icon:hover {
        transform: scale(1.1);
    }
    
    .subscription-plan {
        margin-bottom: 20px;
    }
    
    #chat-box, #admin-chat-box {
        height: 300px !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    /* Astro pages responsive */
    .card-header h4, .card-header h5 {
        font-size: 1.1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .badge {
        font-size: 0.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero .carousel-item {
        height: 25vh;
    }
    
    .carousel-caption h1 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .btn-lg {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    table {
        font-size: 14px;
    }
    
    .card-header {
        font-size: 18px;
    }
    
    /* Astro pages mobile */
    .card-header h4 {
        font-size: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .feature-section h6 {
        font-size: 0.85rem;
    }

}

/* Chat improvements */
#chat-box, #admin-chat-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Form improvements */
.form-control:focus {
    border-color: #ff5005;
    box-shadow: 0 0 0 0.2rem rgba(255, 80, 5, 0.25);
}

/* Card improvements */
.card {
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    border-bottom: none;
}

/* Button improvements */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Table responsive */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

/* Badge improvements */
.badge {
    padding: 5px 10px;
    font-size: 12px;
}

/* Modal improvements */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-radius: 10px 10px 0 0;
}

/* Alert improvements */
.alert {
    border-radius: 10px;
    border: none;
}

/* Input group improvements */
.input-group .btn {
    border-left: none;
}

/* Subscription card improvements */
.subscription-plan {
    transition: transform 0.3s ease;
}

.subscription-plan:hover {
    transform: translateY(-5px);
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar styling */
#chat-box::-webkit-scrollbar,
#admin-chat-box::-webkit-scrollbar {
    width: 8px;
}

#chat-box::-webkit-scrollbar-track,
#admin-chat-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#chat-box::-webkit-scrollbar-thumb,
#admin-chat-box::-webkit-scrollbar-thumb {
    background: #ff5005;
    border-radius: 10px;
}

#chat-box::-webkit-scrollbar-thumb:hover,
#admin-chat-box::-webkit-scrollbar-thumb:hover {
    background: #e04704;
}
