/* Main CSS File */
/* assets/css/main.css */

/* Fonts for Bengali */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('https://fonts.maateen.me/solaiman-lipi/font.css');
}

[lang="bn"] {
    font-family: 'SolaimanLipi', 'Poppins', sans-serif;
}

/* Glassmorphism Base Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #FFEB3C 0%, #FFD700 100%);
    color: #0f172a;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 235, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 235, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.btn-primary:hover::after {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 99, 235, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-service-order {
    background: rgba(255, 235, 60, 0.1);
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 235, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.dark .btn-service-order {
    color: #ffffff;
}

.btn-service-order:hover {
    background: rgba(255, 235, 60, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 235, 60, 0.2);
}

/* Service Card Animations */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark .service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 235, 60, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer-effect {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FFEB3C, #FFD700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FFD700, #FFEB3C);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    .glass-card {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .btn-primary,
    .btn-secondary {
        background: none;
        border: 1px solid #000;
        color: #000;
    }
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid rgba(255, 235, 60, 0.1);
    border-top: 3px solid #FFEB3C;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Styling */
.glass-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #0f172a;
    transition: all 0.3s ease;
}

.dark .glass-input {
    background: rgba(15, 23, 42, 0.3);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-input:focus {
    outline: none;
    border-color: #FFEB3C;
    box-shadow: 0 0 0 3px rgba(255, 235, 60, 0.1);
}

/* Badge Styling */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(255, 235, 60, 0.1);
    border: 1px solid rgba(255, 235, 60, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #0f172a;
}

.dark .badge {
    color: #ffffff;
}