/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #09090b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Typography & Utilities */
h1, h2, h3, h4 { color: var(--text-light); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.text-gradient {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-primary {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(188, 19, 254, 0.3);
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.4);
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}
.btn-outline:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
header.sticky {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; }
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: #fff; }

/* Mobile Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #121215;
    z-index: 1001;
    transition: left 0.4s ease;
    padding: 30px 20px;
    border-right: 1px solid var(--glass-border);
    overflow-y: auto;
}
.sidebar.active { left: 0; }
.sidebar-close { text-align: right; font-size: 1.5rem; cursor: pointer; margin-bottom: 20px; color: #fff; }

/* সাইডবারের ভেতরের মেনুর স্টাইল */
.sidebar .nav-links { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 15px; 
    width: 100%; 
}
.sidebar .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1.1rem;
}
.sidebar .nav-links .btn {
    margin-top: 15px;
    padding: 12px 0;
    border-bottom: none;
}

.sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 1000; display: none; backdrop-filter: blur(5px);
}
.sidebar-overlay.active { display: block; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 10%; right: 10%; width: 400px; height: 400px;
    background: var(--neon-purple); filter: blur(150px); opacity: 0.2; border-radius: 50%; z-index: -1;
}
.hero::after {
    content: ''; position: absolute; bottom: 10%; left: 10%; width: 300px; height: 300px;
    background: var(--neon-cyan); filter: blur(150px); opacity: 0.2; border-radius: 50%; z-index: -1;
}
.hero-content { max-width: 800px; text-align: center; margin: 0 auto; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; align-items: center;}

/* Specific Sections */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; }
.service-icon { font-size: 2.5rem; color: var(--neon-cyan); margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    color: #fff; border-radius: 8px; font-family: 'Poppins', sans-serif;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--neon-cyan);
}
.map-placeholder { width: 100%; height: 300px; border-radius: 16px; border: 1px solid var(--glass-border); overflow: hidden; }

/* Footer */
footer { background: #050505; padding: 60px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; color: #fff; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--neon-cyan); }
.footer-bottom { text-align: center; color: var(--text-muted); padding-top: 20px; border-top: 1px solid var(--glass-border); font-size: 0.9rem; }

/* Floating Buttons */
.floating-btn {
    position: fixed; z-index: 999;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}
.btn-whatsapp { bottom: 20px; right: 20px; background: #25D366; }
.btn-whatsapp:hover { transform: scale(1.1); box-shadow: 0 0 15px #25D366; }
.btn-call { bottom: 20px; left: 20px; background: var(--neon-cyan); display: none; }
.btn-call:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--neon-cyan); }
.btn-top { bottom: 80px; right: 20px; background: var(--bg-card); border: 1px solid var(--glass-border); opacity: 0; pointer-events: none; }
.btn-top.show { opacity: 1; pointer-events: auto; }
.btn-top:hover { background: var(--neon-purple); }

/* =========================================
   Responsive Media Queries (মোবাইলের জন্য ফিক্স করা হয়েছে)
   ========================================= */
@media (max-width: 768px) {
    /* শুধুমাত্র হেডারের মেনু হাইড হবে, সাইডবারের মেনু নয় */
    header .nav-links { display: none; }
    
    /* সাইডবারের মেনু যেন ঠিকমতো দেখায় তার জন্য */
    .sidebar .nav-links { display: flex; }
    
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn-call { display: flex; } /* Show call button only on mobile */
    .grid-2 { grid-template-columns: 1fr; }
}
