/* --- CSS Variables & Reset --- */
:root {
    --bg-main: #0b1120; /* Deep dark background */
    --bg-secondary: #0f172a;
    --accent: #10b981; /* Neon Green/Cyan */
    --accent-dark: #059669;
    --accent-glow: rgba(16, 185, 129, 0.5);
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --section-spacing: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: fontBtwo;
}

@font-face{
	font-family: fontBone;
	src: url(../fonts/fontBone.ttf);
}
@font-face{
	font-family: fontBtwo;
	src: url(../fonts/fontBtwo.ttf);
}
@font-face{
	font-family: fontEone;
	src: url(../fonts/Poppins-Regular.ttf);
}
@font-face{
	font-family: fontEtwo;
	src: url(../fonts/Roboto-Regular.ttf);
}
@font-face{
	font-family: fontEthree;
	src: url(../fonts/Roboto-Thin.ttf);
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: fontBtwo; /* Body font */
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, .logo, .btn {
   font-family: fontBtwo; /* Heading font */
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Modern Gradient Text Effect */
.gradient-text, .gradient-text-small {
    background: linear-gradient(to right, var(--text-white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin: 20px 0; }
.gradient-text-small { font-size: 2.5rem; font-weight: 700; }

.section-header.center { text-align: center; margin-bottom: 60px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px; }

/* Abstract Background Blobs (The "Modern" Feel) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(16, 185, 129, 0.3); }
.blob-2 { bottom: 10%; right: -5%; width: 400px; height: 400px; background: rgba(59, 130, 246, 0.2); }
.blob-3 { top: 20%; right: 30%; width: 300px; height: 300px; background: rgba(16, 185, 129, 0.25); }


/* --- Premium Navbar --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    z-index: 1001; /* মোবাইলে মেনু ওপেন থাকলেও লোগো উপরে থাকবে */
}

.accent-dot { color: var(--accent); }

/* Nav Links Base */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent);
}

/* Animated Underline Hover Effect */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.text-sm { font-size: 0.8rem; margin-left: 5px; transition: transform 0.3s; }

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}

.dropdown:hover .text-sm { transform: rotate(180deg); color: var(--accent); }

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-menu li a i { color: var(--accent); font-size: 1.1rem; }
.dropdown-menu li a:hover { background: rgba(16, 185, 129, 0.1); color: var(--accent); padding-left: 25px; }

/* Nav Right & CTA */
.nav-right { display: flex; align-items: center; gap: 20px; }

.btn-nav {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(16, 185, 129, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-nav::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%; background: var(--accent);
    transition: 0.4s ease; z-index: -1;
}

.btn-nav:hover::before { left: 0; }
.btn-nav:hover { color: var(--bg-main); border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-white);
    border-radius: 3px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(11, 17, 32, 0.98);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        backdrop-filter: blur(20px);
    }

    .nav-links.active { left: 0; }
    
    .nav-item { font-size: 1.5rem; margin: 10px 0; }
    
    .dropdown-menu {
        position: static; opacity: 1; visibility: visible;
        transform: none; background: transparent; border: none;
        box-shadow: none; display: none; text-align: center;
    }
    
    .dropdown:hover .dropdown-menu { display: block; }
    .btn-nav { display: none; /* Hide button on very small screens to save space, or keep it inside the menu */ }

    /* Hamburger Animation to 'X' */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--accent); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--accent); }
	
}

/* --- Buttons --- */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg-main);
}
.btn-glow:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-light);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-nav {
    padding: 10px 25px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid var(--accent-glow);
}
.btn-nav:hover { background: var(--accent); color: var(--bg-main); }
.btn-full { width: 100%; justify-content: center; font-size: 1.1rem; }


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}
.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}
.badge-tech {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid var(--accent-glow);
}
.hero-btns { display: flex; gap: 20px; }

/* Hero Visual Placeholder (Tech Box) */
.tech-box-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--glass-bg), rgba(15, 23, 42, 0.8));
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}
.tech-box-placeholder::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.4;
}
.screen-content {
    text-align: center;
    z-index: 2;
    color: var(--accent);
}
.screen-content i { font-size: 4rem; margin-bottom: 20px; display: block; }
.screen-content span { font-family: 'monospace'; font-size: 1.5rem; font-weight: bold; }
.loading-bar {
    width: 150px; height: 4px; background: rgba(255,255,255,0.1);
    margin: 20px auto; border-radius: 10px; overflow: hidden;
}
.loading-bar::after {
    content: ''; display: block; width: 50%; height: 100%; background: var(--accent);
    animation: loading 2s infinite ease-in-out;
}
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }


/* --- Services Section --- */
.services-section { padding: var(--section-spacing) 0; position: relative; }
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.05));
    z-index: -1; opacity: 0; transition: 0.4s;
}
.glass-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-glow);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.glass-card:hover::before { opacity: 1; }

.icon-box {
    width: 70px; height: 70px; background: rgba(16, 185, 129, 0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px; margin-bottom: 30px; color: var(--accent);
    font-size: 1.8rem; transition: 0.4s;
}
.glass-card:hover .icon-box { background: var(--accent); color: var(--bg-main); box-shadow: 0 0 20px var(--accent-glow); }
.glass-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-white); }
.glass-card p { color: var(--text-muted); margin-bottom: 30px; }
.learn-more {
    text-decoration: none; color: var(--accent); font-weight: 600;
    display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.learn-more:hover { gap: 15px; color: var(--text-white); }


/* --- Why Us Section (Modern Additions) --- */
.why-us-section { padding-bottom: var(--section-spacing); }
.why-us-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-content h2 { font-size: 2.5rem; margin-bottom: 25px; }
.why-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }
.feature-list { list-style: none; }
.feature-list li {
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
    font-size: 1.1rem; font-weight: 500;
}
.feature-list li i { color: var(--accent); font-size: 1.3rem; }
.glass-panel {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 50px; border-radius: 24px; backdrop-filter: blur(15px);
    display: flex; justify-content: space-around; align-items: center;
    text-align: center; position: relative;
}
.stat-item h3 { font-size: 3rem; color: var(--accent); font-weight: 800; }
.stat-item p { color: var(--text-light); font-weight: 600; }
.stat-divider { width: 2px; height: 80px; background: var(--glass-border); }


/* --- Contact Section (Redesigned) --- */
.contact-section { padding: var(--section-spacing) 0; position: relative; }
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 0;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 30px; overflow: hidden; backdrop-filter: blur(20px);
}
.contact-info-side {
    padding: 60px; background: rgba(16, 185, 129, 0.05);
    display: flex; flex-direction: column; justify-content: center;
}
.contact-info-side h2 { font-size: 2.2rem; margin-bottom: 20px; }
.contact-info-side p { color: var(--text-muted); margin-bottom: 40px; }
.info-items .item {
    display: flex; align-items: center; gap: 15px; margin-bottom: 25px;
    font-size: 1.1rem; color: var(--text-light);
}
.info-items .item i { color: var(--accent); font-size: 1.4rem; }

.contact-form-side { padding: 60px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.95rem; }
.input-wrapper {
    position: relative; display: flex; align-items: center;
    background: rgba(11, 17, 32, 0.6); border: 1px solid var(--glass-border);
    border-radius: 12px; padding: 5px 15px; transition: 0.3s;
}
.input-wrapper:focus-within { border-color: var(--accent); box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); }
.input-wrapper i { color: var(--text-muted); font-size: 1.2rem; margin-right: 10px; }
.input-wrapper input, .input-wrapper textarea {
    width: 100%; background: transparent; border: none; color: var(--text-white);
    padding: 12px 0; font-size: 1rem; font-family: 'Inter', sans-serif;
}
.input-wrapper input:focus, .input-wrapper textarea:focus { outline: none; }
.textarea-wrapper { align-items: flex-start; padding-top: 15px; }
.textarea-wrapper i { margin-top: 5px; }
.success-msg { text-align: center; margin-top: 20px; color: var(--accent); font-weight: 600; }


/* --- Footer --- */
footer {
    background: #070b15; padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.footer-logo { font-size: 2rem; font-weight: 800; color: var(--text-white); margin-bottom: 20px; }
.copyright { color: var(--text-muted); margin-bottom: 30px; }
.social-links { display: flex; gap: 20px; }
.social-links a {
    width: 45px; height: 45px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--text-light); text-decoration: none; transition: 0.3s;
}
.social-links a:hover { background: var(--accent); color: var(--bg-main); transform: translateY(-5px); }


/* --- Animations --- */
.slide-up { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fade-in { opacity: 0; transition: opacity 1s ease-in; }
.show { opacity: 1; transform: translateY(0); }


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .gradient-text { font-size: 3rem; }
    .hero-grid, .why-us-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual, .why-visual { order: -1; } /* Visuals on top on mobile */
    .tech-box-placeholder { height: 350px; }
    .contact-wrapper { border-radius: 24px; }
    .contact-info-side, .contact-form-side { padding: 40px; }
    .nav-links { display: none; /* Hide Menu on Tablet/Mobile for simplicity */ }
    .btn-nav { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 768px) {
    .gradient-text { font-size: 2.5rem; }
    .gradient-text-small, .why-content h2, .contact-info-side h2 { font-size: 2rem; }
    .hero-section { padding-top: 120px; text-align: center; }
    .hero-btns { justify-content: center; }
    .stat-divider { display: none; }
    .glass-panel { flex-direction: column; gap: 30px; padding: 30px; }
    .section-header.center { text-align: left; }
}