:root {
    --primary-bg: #1e293b;
    --accent: #0ea5e9;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --card-bg: #ffffff;
    --transition-speed: 0.4s;
    font-size: 100%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f1f5f9;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

span {
    color: var(--accent);
}

/* --- 1. Sticky Menu Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 1.5rem 0;
    box-shadow: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #0A0732, #2B2B8F);
    padding: 1.1rem 0;
    box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.25rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: #ffffff;
}

.btn-outline-light {
    border: 0.125rem solid #ffffff;
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: #1e40af;
}

.btn-accent {
    background: linear-gradient(135deg, #2563eb, #a855f7);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    transition: opacity var(--transition-speed);
}

.btn-accent:hover {
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- 2. Text Slideshow Section --- */
.hero-slideshow {
    height: 100vh;
    min-height: 40rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('/home/images/bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e40af, #6b21a8);
    opacity: 0.3;
    pointer-events: none;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}


.hero-slideshow .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 3;
    padding: 2rem 1rem;
}

.logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-logo {
    height: 8rem;
    width: auto;
    object-fit: contain;
}

.slideshow-wrapper {
    position: relative;
    height: 12rem;
    width: 100%;
    max-width: 800px;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    pointer-events: none;
}

.slide-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-content h1 {
    font-size: calc(1.8rem + 1.5vw);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.slide-content h1 span {
    color: #67e8f9;
}

.slide-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 50rem;
    margin: 0 auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 5;
    margin-top: 2rem;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #2563eb, #a855f7);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 0.75rem;
    text-align:center;
    text-decoration:none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary-hero {
    border: 0.125rem solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 0.75rem;
    text-align:center;
    text-decoration:none;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin-top: 2rem;
}

.dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.dot.active {
    background-color: #67e8f9;
    transform: scale(1.2);
}

/* --- 3. Services Section --- */
.services-section, .about-section, .screenshot-section, .testimonial-section, .pricing-section, .contact-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.125rem;
    padding: 0 1rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.1875rem 1.875rem;
    border-radius: 1rem;
    text-align:center;
    box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0,0,0,0.05), 0 0.125rem 0.25rem -0.0625rem rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 1.25rem 1.5625rem -0.3125rem rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 4. About Section --- */
.about-section {
    background-color: #ffffff;
}

.about-content {
    max-width: 100vh;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.about-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.875rem;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, #2563eb, #a855f7);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(168, 85, 247, 0.2);
    transition: all var(--transition-speed);
}

.btn-about:hover {
    gap: 0.9375rem;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.25rem rgba(168, 85, 247, 0.4);
    color: #ffffff;
}

.btn-about i {
    color: #ffffff;
}

/* --- 5. TV Screenshot Section --- */
.tv-mockup-container {
    max-width: 53.125rem;
    margin: 0 auto;
    background: #000;
    padding: 0.9375rem;
    border-radius: 1.5rem;
    box-shadow: 0 1.5625rem 3.125rem -0.75rem rgba(0,0,0,0.25);
    position: relative;
    margin-bottom: 4rem;
}

.tv-frame {
    position: relative;
    width: 100%;
    height: 28.125rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #111;
}

.tv-screen-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.tv-screen-item.active {
    opacity: 1;
}

.tv-screen-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-mockup-container .slider-dots {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    padding: 0.2rem;
    transform: translateX(-50%);
    margin-top: 0;
}

.tv-mockup-container .slider-dots .dot {
    background-color: rgba(15, 23, 42, 0.2);
}

.tv-mockup-container .slider-dots .dot.active {
    background-color: var(--accent);
}

/* --- 6. Testimonials Section --- */
.testimonial-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 3.5rem;
}

.testimonial-wrapper {
    display: flex;
    width: 200%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    width: 50%;
    padding: 0.5rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 1.875rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 16.25rem;
    border: 0.0625rem solid #e2e8f0;
}

.testimonial-section .slider-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding: 0.2rem;
}

.testimonial-section .slider-dots .dot {
    background-color: rgba(15, 23, 42, 0.2);
}

.testimonial-section .slider-dots .dot.active {
    background-color: var(--accent);
}

.stars {
    color: #f59e0b;
    margin-bottom: 0.9375rem;
    font-size: 0.9rem;
}

.review-text {
    color: #475569;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: #e2e8f0;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.user-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.user-details p {
    font-size: 0.8rem;
    color: #64748b;
}

/* --- 7. Contact Section --- */
.subtitle {
    text-align: center;
    max-width: 37.5rem;
    margin: 0.5rem auto 2.5rem auto;
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 2.5rem 1.875rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.02);
}

.contact-icon-box {
    width: 3.75rem;
    height: 3.75rem;
    background: #f0fdf4;
    color: #22c55e;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.25rem;
}

.contact-card:nth-child(2) .contact-icon-box {
    background: #f0f9ff;
    color: #0284c7;
}

.contact-card:nth-child(3) .contact-icon-box {
    background: #fef2f2;
    color: #ef4444;
}

.contact-card h4 {
    margin-bottom: 0.625rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- 8. Footer Section --- */
footer {
    background: linear-gradient(135deg, #0f1c4a 0%, #310d54 100%);
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
}

footer strong {
    color: #ffffff;
    font-weight: 600;
}

#backToTop {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0.25rem 0.875rem rgba(14, 165, 233, 0.4);
    font-size: 1rem;
    transition: background 0.4s ease, transform 0.2s;
    z-index: 1000;
}

#backToTop:hover {
    background: linear-gradient(135deg, #0284c7, #1d4ed8);
    transform: scale(1.05);
}






/* --- 9. Media Queries --- */
@media (max-width: 64rem) {
    .container { padding: 0 1.5rem; }
    .services-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .tv-mockup-container { max-width: 90%; }
    .tv-frame { height: auto; aspect-ratio: 16 / 9; }
    .btn-outline-light {display: none;}
    .btn-primary-hero i {display:none;}
}

@media (max-width: 62rem) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; 
        width: 100%; background: linear-gradient(135deg, #1e40af, #6b21a8); 
        padding: 1.5rem; gap: 1.25rem; box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.15); text-align: center;
        overflow-y: auto; max-height: 80vh;
    }
    .nav-menu.show { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-link { display: block; padding: 0.5rem 0; font-size: 1.05rem; }
    .btn-outline-light, .btn-accent { display: none; width: 100%; max-width: 20rem; margin: 0.25rem auto; }
    
    .hero-slideshow { padding-top: 4rem; }
    .hero-logo { height: 7rem; }
    .logo-wrapper { margin-bottom: 15px; }
    .slideshow-wrapper { height: 25vh; }
    .btn-primary-hero i {display:none;}
    
    .testimonial-wrapper { width: 200%; }
    .testimonial-slide { display: grid; grid-template-columns: 1fr; width: 50%; gap: 1.5rem; }
    .testimonial-card { min-height: auto; }
}

@media (max-width: 48rem) {
    .btn-outline-light {display: none;}
    .services-section, .about-section, .screenshot-section, .testimonial-section, .pricing-section, .contact-section { padding: 3.5rem 0; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2, .about-content h2 { font-size: 1.8rem; }
    .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .hero-slideshow { padding-top: 4rem; }
    .hero-logo { height: 7rem; }
    .logo-wrapper { margin-bottom: 15px; }
    .slideshow-wrapper { height: 25vh; }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 18rem;
        gap: 0.85rem;
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-primary-hero, .btn-secondary-hero { width: 100%; padding: 0.8rem 1rem; }
    .btn-primary-hero i {display:none;}
}

@media (max-width: 30rem) {
    .navbar-brand { font-size: 1.3rem; }
    .btn-outline-light {display: none;}
    .hero-logo { height: 6rem; }
    .logo-wrapper { margin-bottom: 15px; }
    .slideshow-wrapper { height: 25vh; }
    .slide-content h1 { font-size: 1.4rem; line-height: 1.3; }
    .slide-content p { font-size: 0.9rem; }
    .btn-primary-hero i {display:none;}
    .about-content p { font-size: 1rem; line-height: 1.6; }
    .service-card, .contact-card { padding: 2rem 1.25rem; }
    #backToTop { bottom: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; }
    
    .hero-btns { max-width: 90%; }
}

/* --- Pricing Section --- */
.pricing-section {
    background: #f8fafc;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.plan-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15,23,42,0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.plan-card.featured {
    border-color: #0e7c5a;
    transform: scale(1.03);
    box-shadow: 0 18px 50px rgba(14,124,90,0.12);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-ribbon {
    position: absolute; top: -12px; right: 20px;
    background: #FABD33; color: #0f172a;
    padding: 6px 14px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px;
}
.plan-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0e7c5a;
}
.plan-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 6px 0 0;
    color: #0f172a;
}
.plan-price {
    margin: 18px 0 6px;
    display: flex; align-items: baseline;
}
.plan-price .amount {
    font-size: 2.5rem; font-weight: 800; color: #0f172a;
}
.plan-price .currency { font-size: 1.3rem; font-weight: 700; color: #64748b; margin-right: 4px; }
.plan-price .per { color: #64748b; font-size: 0.9rem; margin-left: 6px; }
.plan-period { color: #64748b; font-size: 0.85rem; margin-bottom: 18px; }
.plan-features {
    list-style: none; padding: 0; margin: 0 0 24px;
    color: #334155;
}
.plan-features li {
    padding: 7px 0; font-size: 0.9rem;
    display: flex; align-items: flex-start; gap: 10px;
}
.plan-features li i { color: #0e7c5a; margin-top: 3px; flex-shrink: 0; }
.btn-plan {
    margin-top: auto;
    background: #0e7c5a;
    color: white;
    border: none;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all .2s;
    text-align: center;
    display: block;
}
.btn-plan:hover { background: #075c40; transform: translateY(-1px); }
.btn-plan.outline {
    background: white; color: #0e7c5a;
    border: 2px solid #0e7c5a;
}
.btn-plan.outline:hover { background: #0e7c5a; color: white; }

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.method-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 18px rgba(15,23,42,0.02);
}
.method-card .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #0e7c5a; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.method-card.bkash   .icon { background: #E2136E; }
.method-card.paypal  .icon { background: #003087; }
.method-card.cheque  .icon { background: #d97706; }
.method-card.cash    .icon { background: #16a34a; }
.method-card.wire    .icon { background: #2563eb; }
.method-card.bank    .icon { background: #0e7c5a; }
.method-card h4 { margin: 0 0 6px; font-size: 1rem; color: #0f172a; }
.method-card p { color: #64748b; font-size: 0.85rem; margin: 0; }