@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --font-primary: 'Inter', 'Poppins', sans-serif;
    --font-bangla: 'Hind Siliguri', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-bangla);
    overflow-x: hidden;
    padding-top: 110px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.top-bar {
    font-size: clamp(11px, 2vw, 13px);
    padding: 6px 0;
}

.top-bar .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.header {
    padding: 12px 0;
}

.header .container {
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: clamp(18px, 4vw, 24px) !important;
}

.logo img {
    height: clamp(30px, 6vw, 40px) !important;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 3vw, 30px);
    align-items: center;
}

.nav a {
    font-size: clamp(13px, 2.5vw, 16px);
    white-space: nowrap;
}

.btn-orange {
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 25px);
    font-size: clamp(12px, 2.5vw, 14px);
}

.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
}

.hero {
    padding: clamp(40px, 10vw, 100px) 20px;
}

.hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
}

.hero h1 {
    font-size: clamp(28px, 8vw, 56px) !important;
    line-height: 1.2;
}

.badge {
    font-size: clamp(12px, 2.5vw, 14px);
    padding: 6px 15px;
}

.hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.btn-primary {
    padding: clamp(12px, 3vw, 18px) clamp(20px, 4vw, 35px);
    font-size: clamp(14px, 2.5vw, 16px);
    width: 100%;
    max-width: 300px;
}

.hero-image {
    order: -1;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 15px !important;
}

.service-card {
    padding: clamp(20px, 4vw, 35px) clamp(15px, 3vw, 20px);
}

.service-icon {
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    font-size: clamp(30px, 6vw, 40px) !important;
}

.service-card h3 {
    font-size: clamp(13px, 2.5vw, 16px) !important;
}

.section-header {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
}

.section-title {
    font-size: clamp(24px, 6vw, 42px) !important;
}

.section-badge {
    font-size: clamp(12px, 2.5vw, 14px);
}

.product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

.product-card img {
    height: clamp(180px, 40vw, 220px) !important;
}

.product-info {
    padding: clamp(15px, 3vw, 25px);
}

.product-info h3 {
    font-size: clamp(16px, 3vw, 20px) !important;
}

.product-info p {
    font-size: clamp(13px, 2.5vw, 14px);
}

.price {
    font-size: clamp(20px, 4vw, 28px) !important;
}

.btn-details {
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 25px);
    font-size: clamp(12px, 2.5vw, 14px);
}

.nfc-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

.nfc-card-img {
    height: clamp(200px, 50vw, 320px) !important;
}

.nfc-card-title {
    font-size: clamp(15px, 3vw, 17px) !important;
    min-height: auto !important;
}

.nfc-price-current {
    font-size: clamp(20px, 4vw, 26px) !important;
}

.nfc-price-old {
    font-size: clamp(13px, 2.5vw, 15px) !important;
}

.nfc-btn {
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    font-size: clamp(12px, 2.5vw, 14px);
}

.team-slider {
    flex-direction: row;
    align-items: stretch;
}

.team-card {
    min-width: 280px !important;
    max-width: 280px !important;
    padding: clamp(30px, 6vw, 40px) clamp(20px, 4vw, 30px) clamp(25px, 5vw, 35px);
    flex-shrink: 0;
}

.team-avatar {
    width: clamp(120px, 25vw, 160px) !important;
    height: clamp(120px, 25vw, 160px) !important;
}

.team-card h3 {
    font-size: clamp(18px, 4vw, 22px) !important;
}

.team-card p {
    font-size: clamp(13px, 2.5vw, 15px) !important;
}

.social-links a {
    width: clamp(38px, 8vw, 45px);
    height: clamp(38px, 8vw, 45px);
}

.team-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
}

.footer .container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
}

.footer h4 {
    font-size: clamp(18px, 3.5vw, 20px) !important;
}

.footer ul li {
    font-size: clamp(13px, 2.5vw, 15px);
}

.page-header {
    padding: clamp(40px, 8vw, 80px) 20px clamp(30px, 6vw, 60px);
}

.page-header h1 {
    font-size: clamp(28px, 7vw, 48px) !important;
}

.page-header p {
    font-size: clamp(14px, 3vw, 18px);
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 15px !important;
}

.category-card {
    padding: clamp(15px, 3vw, 20px);
}

.category-icon {
    font-size: clamp(30px, 6vw, 40px) !important;
}

.container {
    padding: 0 clamp(15px, 3vw, 20px) !important;
}

.dropdown-content {
    min-width: clamp(180px, 40vw, 200px);
    padding: 6px;
}

.dropdown-content a {
    padding: clamp(10px, 2vw, 12px) clamp(15px, 3vw, 20px);
    font-size: clamp(13px, 2.5vw, 14px);
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .btn-primary {
        width: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .nfc-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .team-slider {
        flex-direction: row;
    }
    
    .team-card {
        min-width: 320px !important;
        max-width: 320px !important;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .footer .container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .section-header {
        flex-direction: row !important;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .nfc-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer .container {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }
}

@media (min-width: 1440px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 100px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 20px;
    }
    
    .header .container {
        justify-content: space-between;
    }
}

.scroll-left, .scroll-right, .scroll-bottom {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.scroll-left {
    transform: translateX(-100px);
}

.scroll-right {
    transform: translateX(100px);
}

.scroll-bottom {
    transform: translateY(100px);
}

.scroll-left.animate-in, .scroll-right.animate-in, .scroll-bottom.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-left, .scroll-right, .scroll-bottom {
        opacity: 1;
        transform: none;
    }
}
