:root{
 --primary:#078447;--primary-dark:#056536;--primary-soft:#eaf6ef;--accent:#f5b400;
 --text:#24332a;--muted:#6f7f76;--border:#dbe8e0;--white:#fff;--shadow:0 12px 35px rgba(25,75,48,.10)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f3f7f4 url('../images/body-pattern.svg') repeat;font-family:Arial,'Noto Sans Bengali',sans-serif;color:var(--text);font-size:15px;line-height:1.7}
a{text-decoration:none;color:inherit}.site-shell{max-width:1180px;margin:20px auto;background:#fff;box-shadow:var(--shadow);border:1px solid #e0ebe5}.topbar{background:var(--primary-dark);color:#fff;font-size:13px;padding:7px 0}.brand-hero{background:linear-gradient(90deg,rgba(26,37,31,.92),rgba(54,63,57,.73)),url('../images/portfolio/p1.svg') center/cover;min-height:150px;display:flex;align-items:center;color:#fff}.brand-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--primary);border:4px solid rgba(255,255,255,.75);font-weight:800}.brand-title{font-size:26px;font-weight:800;margin:0}.brand-subtitle{margin:2px 0 0;color:#d8e5dd}.main-nav{background:var(--primary);padding:0}.main-nav .navbar-nav .nav-link{color:#fff;padding:14px 14px;font-weight:700;font-size:14px}.main-nav .navbar-nav .nav-link:hover,.main-nav .nav-link.active{background:rgba(0,0,0,.15);color:#fff}.navbar-toggler{border-color:rgba(255,255,255,.5)}.navbar-toggler-icon{filter:brightness(0) invert(1)}.page-content{padding:28px 0 38px}.box{background:#fff;border:1px solid var(--border);border-radius:7px;box-shadow:0 5px 18px rgba(14,67,39,.05);overflow:hidden}.box + .box{margin-top:20px}.box-title{margin:0;padding:11px 15px;background:var(--primary);color:#fff;font-size:17px;font-weight:800}.box-body{padding:18px}.hero-box{padding:34px;background:linear-gradient(115deg,rgba(5,101,54,.92),rgba(7,132,71,.72)),url('../images/portfolio/p2.svg') center/cover;color:#fff;border-radius:8px}.hero-box h1{font-size:36px;font-weight:800}.hero-box p{max-width:690px;color:#e8f6ee}.eyebrow{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);padding:4px 10px;border-radius:99px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.btn-brand{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}.btn-brand:hover{background:var(--primary-dark);border-color:var(--primary-dark);color:#fff}.btn-outline-brand{border:1px solid var(--primary);color:var(--primary);font-weight:700}.btn-outline-brand:hover{background:var(--primary);color:#fff}.section-title{font-size:25px;font-weight:800;margin-bottom:6px}.section-text{color:var(--muted);margin-bottom:24px}.feature-card,.service-card,.post-card,.stat-card{border:1px solid var(--border);border-radius:7px;background:#fff;height:100%}.feature-card,.service-card,.stat-card{padding:20px}.icon-badge{width:42px;height:42px;border-radius:8px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900;margin-bottom:12px}.post-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#edf6f1}.post-card .content{padding:17px}.meta{font-size:12px;color:#819087}.post-card h3{font-size:19px;font-weight:800;margin:7px 0}.sidebar .widget{border:1px solid var(--border);background:#fff;border-radius:7px;margin-bottom:18px;overflow:hidden}.widget-title{background:var(--primary);color:#fff;font-size:15px;padding:9px 12px;font-weight:800;margin:0}.widget-body{padding:13px}.widget-list{list-style:none;padding:0;margin:0}.widget-list li{padding:8px 0;border-bottom:1px dashed #dfe9e3}.widget-list li:last-child{border-bottom:0}.widget-list a:hover{color:var(--primary)}.tag{display:inline-block;padding:4px 8px;margin:3px;border-radius:4px;background:#f0f6f2;color:#315842;font-size:12px}.breadcrumb-box{padding:12px 15px;background:#f7faf8;border:1px solid var(--border);border-radius:6px;margin-bottom:20px;font-size:13px}.portfolio-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.portfolio-tabs button{border:1px solid var(--border);background:#fff;padding:8px 15px;border-radius:4px;font-weight:700}.portfolio-tabs button.active,.portfolio-tabs button:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.portfolio-item{border:1px solid var(--border);border-radius:7px;overflow:hidden;background:#fff}.portfolio-item img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover;transition:.25s}.portfolio-item:hover img{transform:scale(1.025)}.article-title{font-size:32px;font-weight:800}.article-body h2{font-size:24px;font-weight:800;margin-top:28px}.article-body p{color:#45544b}.author-card{display:flex;gap:20px;align-items:center}.author-card img{width:120px;height:120px;border-radius:50%;object-fit:cover}.skill-bar{height:9px;background:#e8efeaf;border-radius:9px;overflow:hidden}.skill-fill{height:100%;background:var(--primary)}.timeline{border-left:3px solid var(--primary-soft);padding-left:22px}.timeline-item{position:relative;margin-bottom:22px}.timeline-item:before{content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:var(--primary);left:-30px;top:6px}.contact-info{border-left:4px solid var(--primary);padding:12px 16px;background:#f8fbf9;margin-bottom:12px}.form-control:focus{border-color:var(--primary);box-shadow:0 0 0 .2rem rgba(7,132,71,.12)}.footer{background:#173326;color:#dce7e1;padding:28px 0 16px}.footer h5{color:#fff;font-weight:800}.footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.13);margin-top:18px;padding-top:14px;font-size:13px}.privacy-content h2{font-size:22px;font-weight:800;margin-top:25px}.cta{background:linear-gradient(120deg,#086e3d,#0b9250);padding:25px;border-radius:8px;color:#fff}.cv-head{background:var(--primary-soft);padding:24px;border-radius:8px}.cv-photo{width:145px;height:145px;border-radius:9px;object-fit:cover;background:#fff}.divider{height:1px;background:var(--border);margin:22px 0}@media(max-width:991.98px){.site-shell{margin:0;max-width:none;border:0}.brand-hero{min-height:130px}.main-nav .navbar-nav .nav-link{padding:10px 4px}.sidebar{margin-top:22px}.hero-box h1{font-size:30px}}@media(max-width:575.98px){.page-content{padding:18px 0 28px}.hero-box{padding:24px 18px}.hero-box h1{font-size:27px}.brand-title{font-size:20px}.article-title{font-size:26px}.author-card{align-items:flex-start;flex-direction:column}.cv-head{text-align:center}.cv-photo{margin-bottom:15px}}

/* Portfolio CV Homepage */
.cv-hero{padding:70px 0}.profile-photo{width:180px;height:180px;object-fit:cover;border-radius:50%;background:#fff;padding:8px;box-shadow:0 12px 35px rgba(0,0,0,.12)}
.stat-card,.timeline-item,.skill-card,.testimonial-card,.contact-card{background:#fff;border:1px solid #e7ece9;border-radius:14px;padding:24px;height:100%;box-shadow:0 8px 25px rgba(15,61,46,.05)}
.progress{height:8px}.timeline{position:relative;padding-left:25px}.timeline:before{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;background:#00884a}.timeline-item{position:relative;margin-bottom:18px}.timeline-item:before{content:"";position:absolute;left:-28px;top:28px;width:10px;height:10px;border-radius:50%;background:#00884a;border:2px solid #fff;box-shadow:0 0 0 2px #00884a}.section-kicker{display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#00884a;margin-bottom:8px}.portfolio-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.service-icon{width:48px;height:48px;border-radius:12px;background:#e8f5ee;color:#00884a;display:grid;place-items:center;font-weight:800;margin-bottom:16px}.article-nav{display:grid;grid-template-columns:1fr 1fr;gap:15px}.article-nav a{display:block;background:#fff;border:1px solid #e5ebe7;border-radius:12px;padding:18px;color:inherit}.comment{display:flex;gap:15px;padding:20px 0;border-bottom:1px solid #e8ece9}.comment-avatar{width:46px;height:46px;border-radius:50%;flex:0 0 46px;background:#e8f5ee;display:grid;place-items:center;font-weight:800;color:#00884a}.comment-meta{font-size:.82rem;color:#6c757d}.related-card img{aspect-ratio:16/10;object-fit:cover}.footer a{color:inherit}
@media(max-width:767.98px){.cv-hero{padding:45px 0}.article-nav{grid-template-columns:1fr}.profile-photo{width:145px;height:145px}}


/* =========================================================
   GLOBAL HEADER / NAV / ACCESSIBILITY / SCROLL CONTROLS
========================================================= */
:root{
  --menu-bg: #078447;
  --menu-hover: #056536;
  --topbar-bg: #173326;
  --page-bg: #f3f7f4;
  --text-scale: 1;
}
body{font-size:calc(15px * var(--text-scale));background-color:var(--page-bg);}
body.high-contrast{--page-bg:#000;--text:#fff;--muted:#f0f0f0;--border:#fff;background-image:none;color:#fff}
body.high-contrast .site-shell,body.high-contrast .box,body.high-contrast .feature-card,body.high-contrast .service-card,body.high-contrast .post-card,body.high-contrast .stat-card,body.high-contrast .sidebar .widget,body.high-contrast .portfolio-item,body.high-contrast .skill-card,body.high-contrast .testimonial-card,body.high-contrast .contact-card{background:#111;color:#fff;border-color:#fff}
body.high-contrast a{color:#ff0}
body.underline-links a{text-decoration:underline!important;text-underline-offset:3px}
body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
.skip-link{position:fixed;left:12px;top:-60px;z-index:2000;background:#000;color:#fff;padding:10px 16px;border-radius:4px;font-weight:700}.skip-link:focus{top:12px}
.accessibility-bar{background:#f5f7f6;border-bottom:1px solid #dce6e0;font-size:12px;padding:5px 0}.accessibility-label{font-weight:800;color:#315842}.a11y-btn{border:1px solid #c9d7cf;background:#fff;color:#24332a;border-radius:4px;padding:3px 8px;font-size:11px;font-weight:700}.a11y-btn:hover,.a11y-btn[aria-pressed="true"]{background:var(--menu-bg);color:#fff;border-color:var(--menu-bg)}
.topbar{background:var(--topbar-bg)}.top-contact{display:flex;gap:18px}.top-contact i{margin-right:4px}.social-links{display:flex;gap:9px}.social-links a{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:12px}.social-links a:hover{background:var(--menu-bg);color:#fff}.top-actions{margin-left:auto}.top-search{display:flex;align-items:center;background:#fff;border-radius:5px;overflow:hidden;height:30px}.top-search input{width:145px;border:0;outline:0;padding:3px 9px;font-size:12px;color:#24332a}.top-search button{height:100%;border:0;background:var(--menu-bg);color:#fff;width:34px}.brand-link{color:#fff}.brand-link:hover{color:#fff}.header-badge{padding:7px 11px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);border-radius:5px;font-size:12px;font-weight:700}.header-badge i{color:#b7efcf;margin-right:5px}
.main-nav{background:var(--menu-bg)}.main-nav .navbar-nav .nav-link{transition:background .2s ease}.main-nav .navbar-nav .nav-link:hover,.main-nav .navbar-nav .nav-link:focus,.main-nav .navbar-nav .nav-link.active{background:var(--menu-hover)}.main-nav .dropdown-menu{border:0;border-radius:0 0 6px 6px;box-shadow:0 12px 28px rgba(0,0,0,.16);padding:7px 0;min-width:240px}.main-nav .dropdown-item{padding:9px 15px;font-size:13px;font-weight:600;color:#26362d}.main-nav .dropdown-item:hover,.main-nav .dropdown-item:focus{background:#eaf6ef;color:var(--menu-bg)}.nav-hire{white-space:nowrap}.navbar-toggler:focus{box-shadow:0 0 0 .2rem rgba(255,255,255,.25)}
.scroll-progress{position:fixed;left:0;top:0;width:100%;height:3px;background:transparent;z-index:2100}.scroll-progress span{display:block;width:0;height:100%;background:var(--menu-bg);transition:width .05s linear}.scroll-top{position:fixed;right:20px;bottom:20px;width:44px;height:44px;border:0;border-radius:50%;background:var(--menu-bg);color:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(12px);transition:.2s;z-index:1000}.scroll-top.show{opacity:1;visibility:visible;transform:none}.scroll-top:hover{background:var(--menu-hover);color:#fff}
:focus-visible{outline:3px solid #ffbf00!important;outline-offset:2px}
@media(max-width:767.98px){.top-contact{gap:8px}.top-search input{width:105px}.top-actions{width:100%;justify-content:space-between}.social-links{order:1}.top-search{order:2}.accessibility-bar .container{justify-content:center}.header-badge{display:none!important}.main-nav .dropdown-menu{box-shadow:none;background:rgba(0,0,0,.08)}.main-nav .dropdown-item{color:#fff}.main-nav .dropdown-item:hover,.main-nav .dropdown-item:focus{background:rgba(255,255,255,.12);color:#fff}.scroll-top{right:14px;bottom:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-slider .carousel-item{transition:none}}

/* Lightweight icon fallbacks when Bootstrap Icons font is not bundled */
.bi{font-style:normal;display:inline-block;line-height:1}.bi-envelope::before{content:"✉"}.bi-geo-alt::before{content:"⌖"}.bi-facebook::before{content:"f"}.bi-linkedin::before{content:"in"}.bi-youtube::before{content:"▶"}.bi-github::before{content:"●"}.bi-search::before{content:"⌕"}.bi-send::before{content:"➤"}.bi-patch-check-fill::before{content:"✓"}.bi-universal-access::before{content:"♿"}.bi-arrow-up::before{content:"↑"}.bi-code-slash::before{content:"</>"}.bi-briefcase::before{content:"▣"}
/* হিরো বক্সের মূল ব্যাকগ্রাউন্ড ও শ্যাডো */
.cv-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

/* কিকার বা ছোট টপ হেডিং স্টাইল */
.section-kicker {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

/* প্রোফাইল ইমেজ গ্লো এবং ভাসমান অ্যানিমেশন */
.profile-photo {
    max-width: 280px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: floatAnimation 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
}

/* ইমেজের জন্য ফ্লোটিং অ্যানিমেশন কিফ্রেম */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* স্লাইড পরিবর্তনের সময় টেক্সট অ্যানিমেশন */
.carousel-item .display-4,
.carousel-item .lead,
.carousel-item p,
.carousel-item .d-flex {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* একটিভ স্লাইডের কন্টেন্ট অ্যানিমেশন ট্রিগার */
.carousel-item.active .display-4 { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.carousel-item.active .lead { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.carousel-item.active .carousel-item p { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.carousel-item.active .d-flex { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* নিচের ইন্ডিকেটর ডটগুলোর সুন্দর ডিজাইন */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 30px;
    border-radius: 10px;
    background-color: #6366f1 !important;
}

/* নেভিগেশন বাটনগুলোর স্টাইল */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #6366f1;
    transform: scale(1.1);
}

/* রেসপনসিভ এডজাস্টমেন্ট (মোবাইল স্ক্রিন) */
@media (max-width: 991.98px) {
    .cv-hero {
        padding: 40px 20px;
        text-align: center;
    }
    .profile-photo {
        max-width: 200px;
        margin-top: 20px;
    }
    .d-flex {
        justify-content: center;
    }
}
