/* style.css - সম্পূর্ণ CSS কোড */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0f2c 0%, #1a1f3c 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* মোবাইল ফার্স্ট ডিজাইন */
.container {
    width: 100%;
    padding: 15px;
    margin: 0 auto;
}

/* নেভবার - মোবাইল অপ্টিমাইজড */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 22px;
    color: white;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

/* সোশ্যাল বাটন - মোবাইল */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fb-btn {
    background: #1877f2;
}

.admin-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50px;
    padding: 8px 20px;
    width: auto;
    gap: 5px;
    font-size: 0.95rem;
}

/* হিরো সেকশন - মোবাইল */
.hero-section {
    text-align: center;
    padding: 30px 15px;
    color: white;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.3;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    font-size: 2.2rem;
    display: block;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    padding: 0 10px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 25px;
}

.hero-stats div {
    background: rgba(255,255,255,0.1);
    padding: 15px 5px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.hero-stats div:hover {
    transform: translateY(-5px);
}

.hero-stats i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 5px;
}

.hero-stats h3 {
    font-size: 1.2rem;
    margin: 5px 0;
}

.hero-stats p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* সেকশন টাইটেল */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin: 20px 0 25px;
    position: relative;
    padding: 0 15px;
}

.section-title::before,
.section-title::after {
    display: none;
}

/* ডেমো গ্রিড - মোবাইল */
.demos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 5px 0 20px;
    width: 100%;
}

/* কার্ড - মোবাইল */
.demo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.demo-card:active {
    transform: scale(0.98);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* স্লাইডার - মোবাইল */
.card-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-slide:hover img {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px white;
}

/* অটোপ্লে ইন্ডিকেটর */
.autoplay-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(5px);
}

.autoplay-indicator i {
    font-size: 0.6rem;
    animation: pulse 1s infinite;
}

/* পজ বাটন */
.pause-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(5px);
}

.pause-btn:hover {
    background: rgba(0,0,0,0.7);
}

.card-slider:hover .pause-btn {
    opacity: 1;
}

/* কার্ড কন্টেন্ট - মোবাইল */
.card-content {
    padding: 18px 15px;
}

.card-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.demo-card:hover .card-title::after {
    width: 100%;
}

.card-description {
    color: #666;
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* অ্যাকশন বাটন - মোবাইল */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-btn {
    padding: 12px 8px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.action-btn i {
    font-size: 1rem;
}

.demo-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.buy-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.action-btn:active {
    transform: translateY(2px);
}

/* ফেসবুক ফ্লোটিং বাটন - মোবাইল */
.facebook-float {
    position: fixed;
    bottom: 15px;
    right: 15px;
    left: 15px;
    z-index: 999;
    animation: none;
}

.facebook-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.facebook-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.6);
}

.facebook-btn i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.facebook-btn span {
    border-left: 2px solid rgba(255,255,255,0.3);
    padding-left: 10px;
}

/* ফুটার - মোবাইল */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: white;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.social-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.social-footer a {
    color: white;
    font-size: 1.3rem;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-footer a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.social-footer a:active {
    transform: translateY(2px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright p {
    margin: 5px 0;
}

/* অ্যানিমেশন */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
}

/* টাচ সোয়াইপ ইন্ডিকেটর */
.swipe-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    z-index: 10;
    animation: fadeInOut 2s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}

/* এম্পটি স্টেট */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.empty-state i {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.empty-state p {
    color: white;
    font-size: 1.1rem;
}

/* লোডিং স্টেট */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* স্ক্রলবার কাস্টমাইজেশন */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* টাচ অপ্টিমাইজেশন */
button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ইউটিলিটি ক্লাস */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* ছোট মোবাইলের জন্য (৪০০px এর নিচে) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-title span {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 5px;
    }
    
    .hero-stats h3 {
        font-size: 1rem;
    }
    
    .hero-stats p {
        font-size: 0.75rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .action-btn {
        font-size: 0.85rem;
        padding: 10px 5px;
    }
    
    .action-btn i {
        font-size: 0.9rem;
    }
    
    .facebook-btn {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    
    .facebook-btn i {
        font-size: 1.3rem;
    }
}

/* ট্যাবলেটের জন্য (৭৬৮px পর্যন্ত) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 720px;
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .facebook-float {
        left: auto;
        right: 20px;
        bottom: 20px;
    }
    
    .facebook-btn {
        width: auto;
        margin: 0;
    }
    
    .card-slider {
        height: 180px;
    }
}

/* ডেস্কটপের জন্য (১০২৪px এর উপরে) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 20px;
    }
    
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 30px;
    }
    
    .logo-container {
        justify-content: flex-start;
    }
    
    .nav-links {
        width: auto;
    }
    
    .demos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title span {
        font-size: 3.5rem;
        display: inline;
    }
    
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 50px;
    }
    
    .card-slider {
        height: 220px;
    }
    
    .facebook-float {
        left: auto;
        right: 30px;
        bottom: 30px;
    }
    
    .facebook-btn {
        width: auto;
        margin: 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* বড় ডেস্কটপের জন্য (১৪৪০px এর উপরে) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .demos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .card-slider {
        height: 250px;
    }
}