/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-color: #e2e8f0;
    --neon-glow: 0 0 10px rgba(0, 210, 255, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 1px;
}
.navbar-brand span {
    color: var(--primary-color);
}
.nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: var(--neon-glow);
}
.btn-hire {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px;
    box-shadow: var(--neon-glow);
    border: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
/* Background Glow Circles */
.hero-bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    z-index: -1;
}
.hero-bg-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    bottom: 10%;
    right: 10%;
    z-index: -1;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: -webkit-linear-gradient(#fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards (Service & Blog) - Updated for Centering */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    
    /* কন্টেন্ট সেন্টারে আনার জন্য এই ৩টি লাইন যোগ করা হয়েছে */
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 80px; /* সাইজ একটু বাড়িয়েছি যাতে দেখতে ভালো লাগে */
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    
    /* আইকন বক্সটিকে মাঝখানে রাখার জন্য */
    margin: 0 auto 25px auto; 
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.glass-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--neon-glow);
    transform: rotateY(360deg); /* হোভার করলে আইকন ঘুরবে (অ্যানিমেশন) */
}

/* Progress Bars */
.skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}
.progress {
    height: 8px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

/* Contact Section */
.contact-wrapper {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
}
.contact-left {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 40px;
    color: white;
}
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: none;
    color: #fff;
}

/* Footer */
footer {
    background: #0b1120;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
}
.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
}



/* ===========================
   ADMIN PANEL STYLES
   =========================== */
.admin-body {
    background-color: #0f172a;
    min-height: 100vh;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255,255,255,0.05);
    min-height: 100vh;
    padding: 20px;
    position: fixed;
    transition: all 0.3s;
    z-index: 1000;
}
.sidebar-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}
.sidebar .nav-link {
    color: #94a3b8 !important;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: 0.3s;
    font-weight: 500;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}
.sidebar .nav-link i {
    width: 25px;
}

/* Admin Content Area */
.main-content {
    margin-left: 260px; /* Sidebar width */
    width: 100%;
    padding: 30px;
    transition: all 0.3s;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}
.stats-icon {
    font-size: 40px;
    opacity: 0.5;
}

/* Dark Tables */
.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-color: #cbd5e1;
    --bs-table-border-color: rgba(255,255,255,0.1);
}
.table-dark-custom th {
    background: rgba(30, 41, 59, 0.9);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.table-dark-custom td {
    vertical-align: middle;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .sidebar { margin-left: -260px; }
    .sidebar.active { margin-left: 0; }
    .main-content { margin-left: 0; }
}



/* ===========================
   INPUT FIELD FIXES
   =========================== */

/* ১. ইনপুট ফিল্ডের ব্যাকগ্রাউন্ড এবং টেক্সট কালার ফিক্স */
.form-control {
    background-color: rgba(30, 41, 59, 0.8) !important; /* গাঢ় ব্যাকগ্রাউন্ড */
    color: #ffffff !important; /* সাদা লেখা */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ২. ফোকাস করলে (ক্লিক করলে) ব্যাকগ্রাউন্ড যাতে সাদা না হয়ে যায় */
.form-control:focus {
    background-color: rgba(30, 41, 59, 1) !important; /* ফোকাসেও গাঢ় থাকবে */
    color: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* ৩. প্লেসহোল্ডার (Placeholder) এর লেখা স্পষ্ট করার জন্য */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important; /* হালকা সাদা/ধূসর */
    opacity: 1; /* ফায়ারফক্সের জন্য */
}

/* ৪. অটোফিল (Browser Autofill) এর ব্যাকগ্রাউন্ড ফিক্স */
/* ব্রাউজার অটোমেটিক পাসওয়ার্ড বসালে ব্যাকগ্রাউন্ড সাদা হয়ে যায়, সেটা আটকানোর জন্য */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #1e293b inset !important;
    -webkit-text-fill-color: white !important;
}