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

:root {
    --primary: #00f5ff;
    --dark: #0a0a0a;
    --nav-dark: #111827;
    --card: #1f2937;
    --text: #f1f5f9;
    --gray: #64748b;
}

body {
    font-family:
        'Hind Siliguri',                                          
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,   
        Oxygen, Ubuntu, Cantarell, sans-serif;                
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============== UTILITY CLASSES ============== */
.section {
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
}

/* ============== NAVBAR ============== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: var(--nav-dark);
    padding: 1rem 20px;
    border-top: 1px solid rgba(0, 245, 255, 0.15);
}

.mobile-links {
    list-style: none;
}

.mobile-links li {
    margin-bottom: 1rem;
}

.mobile-links .nav-link {
    font-size: 1.2rem;
    display: block;
    padding: 12px 0;
}

/* ============== HERO ============== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1e2937 100%);
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease forwards;
}

.hero-name {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-bio {
    font-size: 1.25rem;
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: #0a0a0a;
    box-shadow: 0 10px 30px -10px var(--primary);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -10px var(--primary);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #0a0a0a;
    transform: translateY(-4px);
}

/* Profile Image */
.hero-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInRight 1s ease forwards;
}

.profile-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary), #67e8f9);
    box-shadow: 
        0 0 30px 8px rgba(0, 245, 255, 0.4),
        0 0 60px 15px rgba(0, 245, 255, 0.2);
    animation: glowPulse 3s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #0a0a0a;
}

.profile-info {
    margin-top: 2rem;
    text-align: center;
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.profile-role {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

/* ============== ABOUT ============== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    opacity: 0.9;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* ============== SKILLS ============== */
.skills-section {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;       
    gap: 3rem;
    align-items: start;
    max-width: 1200px;                   
    margin: 0 auto;
}

.skills-bars {
    display: grid;
    gap: 1.45rem;
}

.skill-item {
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateX(6px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
}

.skill-icon-small {
    color: var(--primary);
    font-size: 1.2rem;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-name {
    color: var(--text);
    flex: 1;
    font-size: 1.05rem;
}

.skill-percentage {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.progress-container {
    height: 10px;
    background: #1e293b;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, var(--primary));
    width: 0;
    border-radius: 50px;
    transition: width 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 12px var(--primary);
}


.skills-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-content: start;
}

.skill-card {
    background: #161b22;
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 16px;
    padding: 1.6rem 0.75rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    cursor: default;
    min-height: 115px;
}

.skill-card:hover {
    border-color: var(--primary);
    background: #1a2332;
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.15);
}

.skill-card-icon {
    font-size: 2.4rem;
    color: var(--primary);
}

.skill-card-name {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* ── SVG icon styles — progress bar (small) ───── */
.skill-svg-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--primary);
    display: block;
    flex-shrink: 0;
}

/* ── SVG icon styles — skill cards (large) ───── */
.skill-card-svg {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--primary);
    display: block;
    flex-shrink: 0;
}

/* ============== PROJECTS ============== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 245, 255, 0.15);
}

.project-image {
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-info {
    padding: 1.8rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.project-desc {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.btn-project {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-project:hover {
    background: var(--primary);
    color: #0a0a0a;
}

/* ============== CONTACT ============== */
.contact-section {
    background: linear-gradient(135deg, #1e2937, #0a0a0a);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.85;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Social icons — */
.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon::after,
.social-icon::before {
    display: none !important;
}

.social-icon .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #1e2937;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


.social-icon > i {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #1e2937;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-label {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s;
}

/* Platform-specific hover colors */
.social-icon.facebook:hover > i   { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 0 24px rgba(24,119,242,0.5); }
.social-icon.instagram:hover > i  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #e6683c; color: #fff; box-shadow: 0 0 24px rgba(220,39,67,0.5); }
.social-icon.telegram:hover > i   { background: #0088cc; border-color: #0088cc; color: #fff; box-shadow: 0 0 24px rgba(0,136,204,0.5); }
.social-icon.whatsapp:hover > i   { background: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 0 24px rgba(37,211,102,0.5); }
.social-icon.linkedin:hover > i   { background: #0077b5; border-color: #0077b5; color: #fff; box-shadow: 0 0 24px rgba(0,119,181,0.5); }
.social-icon.discord:hover > i    { background: #5865f2; border-color: #5865f2; color: #fff; box-shadow: 0 0 24px rgba(88,101,242,0.5); }
.social-icon.github-contact:hover > i { background: #333333; border-color: var(--primary); color: #fff; box-shadow: 0 0 24px rgba(0,245,255,0.4); }

.social-icon:hover {
    transform: translateY(-6px);
}

.social-icon:hover .social-label {
    opacity: 1;
    color: var(--primary);
}

.contact-note {
    text-align: center;
    font-style: italic;
    opacity: 0.7;
}

/* ============== FOOTER ============== */
.footer {
    background: #020617;
    padding: 4rem 0 0;                      /* top padding; bottom handled by footer-bottom */
    border-top: 1px solid rgba(0, 245, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── 3-column grid ───────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    align-items: start;
}

/* ── Brand column ────────────────────────────────────────────── */
.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 260px;
}

/* Available-for-work badge */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 245, 255, 0.06);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    width: fit-content;
}

/* Pulsing green dot */
.footer-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%   { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.55); }
    60%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);    }
    100% { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0);    }
}

/* ── Quick links column ──────────────────────────────────────── */
.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 1.1rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-nav-link:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* Suppress nav-link underline pseudo-element inside footer */
.footer-nav-link::after { display: none !important; }

/* ── Contact column ──────────────────────────────────────────── */
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
    transition: color 0.25s ease;
    word-break: break-all;
}

.footer-email i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-email:hover { color: var(--primary); }

.footer-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.88rem;
}

.footer-location i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ── Divider ──────────────────────── */
.footer-divider {
    height: 1px;
    background: rgba(0, 245, 255, 0.08);
}

/* ── Bottom bar ─────────────── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 0;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: #475569;
}

.footer-name { color: var(--primary); }

/* ── Back-to-top button ──────────────────────── */
.footer-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.25);
    color: var(--primary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-top-btn:hover {
    background: rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 18px rgba(0, 245, 255, 0.25);
    transform: translateY(-3px);
}

.footer-top-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ── Responsive ─────────────────────── */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    /* Brand col spans full width on mobile */
    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
}

/* Preserve old .footer-made in case it's used elsewhere */
.footer-made {
    margin-top: 12px;
    font-size: 0.95rem;
    opacity: 0.6;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 20px 6px rgba(0,245,255,0.4), 0 0 40px 12px rgba(0,245,255,0.2);
    }
    to {
        box-shadow: 0 0 40px 15px rgba(0,245,255,0.6), 0 0 70px 25px rgba(0,245,255,0.3);
    }
}

@keyframes bounce {
    0%, 20%   { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(15px); }
    80%, 100% { transform: translateX(-50%) translateY(0); }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-name { font-size: 2.8rem; }
    .profile-circle { width: 260px; height: 260px; }
    .hero-buttons { justify-content: center; }

    .skills-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* tablet stacked: 4-col fits the full width nicely */
    .skills-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.9rem;
    }
    .skill-card { padding: 1.4rem 0.7rem; min-height: 105px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links  { display: none; }
    .mobile-menu.active { display: block; }
    .section { padding: 80px 0; }
    .section-title { font-size: 2.4rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .hero-text { padding-top: 40px; }
    .skills-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.7rem;
    }
    .skill-card { padding: 1.1rem 0.5rem; min-height: 90px; }
    .skill-card-icon { font-size: 2rem; }
    .skill-card-svg  { width: 2rem; height: 2rem; }
    .skill-card-name { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .profile-circle { width: 240px; height: 240px; }
    .skills-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    .skill-card { padding: 1rem 0.4rem; min-height: 82px; }
    .skill-card-icon { font-size: 1.7rem; }
    .skill-card-svg  { width: 1.7rem; height: 1.7rem; }
    .skill-card-name { font-size: 0.66rem; }
    .social-icons { gap: 1rem; }
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 245, 255, 0.06);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 50px;
    padding: 5px 12px;
    margin-right: 8px;       
    flex-shrink: 0;
}


.lang-btn {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 50px;
    transition: all 0.25s ease;
    letter-spacing: 0.03em;
    line-height: 1;
}


.lang-btn.active {
    background: var(--primary);
    color: #0a0a0a;
}

.lang-btn:not(.active):hover {
    color: var(--primary);
}


.lang-sep {
    color: rgba(0, 245, 255, 0.3);
    font-size: 0.75rem;
    user-select: none;
    pointer-events: none;
}


@media (max-width: 768px) {
    .lang-toggle {
        margin-right: 6px;
        padding: 4px 10px;
    }
    .lang-btn {
        font-size: 0.78rem;
        padding: 2px 5px;
    }
}


html[lang="bn"] body {
    /* Bengali script-এ smoother antialiasing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


html[lang="bn"] .hero-bio {
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* About section paragraphs */
html[lang="bn"] .about-text p {
    line-height: 1.9;
    letter-spacing: 0.01em;
}

/* Project descriptions */
html[lang="bn"] .project-desc {
    line-height: 1.85;
}

/* Section headings */
html[lang="bn"] .section-title {
    font-weight: 700;
    letter-spacing: -0.01em; 
}

/* Hero title & name */
html[lang="bn"] .hero-title {
    font-weight: 600;
}

/* Contact subtitle */
html[lang="bn"] .contact-subtitle {
    line-height: 1.75;
}

/* Navbar links */
html[lang="bn"] .nav-link {
    font-weight: 500;
    letter-spacing: 0;    
}

/* Highlight pills */
html[lang="bn"] .highlight-item span {
    line-height: 1.4;
    font-weight: 500;
}

/* Project titles */
html[lang="bn"] .project-title {
    line-height: 1.5;
    font-weight: 600;
}

/* ── Backdrop ─────────────────────────────────────────────────── */
.lm-backdrop {
    position: fixed;
    inset: 0;                    
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lm-backdrop.lm-visible {
    opacity: 1;
}

.lm-backdrop.lm-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ── Card ──────────────────────────────────── */
.lm-card {
    position: relative;
    background: #111827;                /* --nav-dark এর সাথে match */
    border: 1px solid rgba(0, 245, 255, 0.18);
    border-radius: 24px;
    padding: 48px 44px 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    overflow: hidden;

    /* card entry */
    transform: scale(0.92) translateY(12px);
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 0 1px rgba(0, 245, 255, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(0, 245, 255, 0.05);
}

.lm-backdrop.lm-visible .lm-card {
    transform: scale(1) translateY(0);
}

/* ── Decorative glow ──────────────────────── */
.lm-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

/* ── Logo ──────────────────────────────────── */
.lm-logo {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00f5ff, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* ── Heading ───────────────────────────────────────── */
.lm-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lm-heading-en {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e2e8f0;
}

.lm-heading-bn {
    font-family: 'Hind Siliguri', sans-serif;
    color: #cbd5e1;
}

.lm-divider {
    color: rgba(0, 245, 255, 0.4);
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1;
}

/* ── Subtitle ─────────────────────────────────────────────────── */
.lm-sub {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 32px;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ── Buttons container ────────────────────────────────────────── */
.lm-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ── Individual language button ───────────────────────────────── */
.lm-btn {
    flex: 1;
    max-width: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: #1f2937;            
    border: 1.5px solid rgba(0, 245, 255, 0.12);
    border-radius: 16px;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background   0.25s ease,
        transform    0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow   0.25s ease;
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
}

.lm-btn:hover {
    border-color: #00f5ff;
    background: #162030;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 245, 255, 0.15);
}

.lm-btn:focus-visible {
    outline: 2px solid #00f5ff;
    outline-offset: 3px;
}

.lm-btn:active {
    transform: translateY(-1px);
}


.lm-btn.lm-selected {
    border-color: #00f5ff;
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 24px rgba(0, 245, 255, 0.2);
}

/* ── Flag emoji ───────────────────────────────────────────────── */
.lm-flag {
    font-size: 2rem;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji",
                 "Noto Color Emoji", sans-serif;
}

/* ── Button label ─────────────────────────────────────────────── */
.lm-btn-label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Bengali button label — Hind Siliguri */
#lm-btn-bn .lm-btn-label {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 1.05rem;
}

/* ── Mobile responsive ────────────────────────────────────────── */
@media (max-width: 480px) {
    .lm-card {
        padding: 36px 24px 32px;
        border-radius: 20px;
    }

    .lm-heading {
        font-size: 1rem;
        flex-direction: column;
        gap: 4px;
    }

    .lm-divider {
        display: none;           
    }

    .lm-buttons {
        gap: 12px;
    }

    .lm-btn {
        padding: 18px 12px;
    }

    .lm-flag {
        font-size: 1.7rem;
    }
}
