/* ==========================================================================
   Webcoderbd portfolio refresh (2026)
   Loaded after bootstrap.css and styles.css from page/html/head.phtml
   ========================================================================== */

:root {
    --wc-green: #006a4e;
    --wc-green-dark: #00523c;
    --wc-green-soft: #e6f2ee;
    --wc-ink: #14213d;
    --wc-text: #3d4555;
    --wc-muted: #6b7280;
    --wc-line: #e3e6ea;
    --wc-bg: #f6f7f9;
    --wc-radius: 10px;
}

body { color: var(--wc-text); }
.main-container { background: #fff; }
.col-main a { color: var(--wc-green); }
.col-main a:hover { color: var(--wc-green-dark); }

/* ---------- Header ---------- */
.topcontact ul li a { color: inherit; }
.topcontact .wc-wa { color: #128c4a !important; font-weight: 600; }

/* ---------- Buttons ---------- */
.wc-btn {
    display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 600;
    font-size: 15px; line-height: 1.2; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s;
    border: 2px solid transparent; margin: 0 8px 8px 0;
}
.wc-btn-primary, .col-main a.wc-btn-primary { background: var(--wc-green); color: #fff; }
.wc-btn-primary:hover, .col-main a.wc-btn-primary:hover { background: var(--wc-green-dark); color: #fff; }
.wc-btn-ghost, .col-main a.wc-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.wc-btn-ghost:hover, .col-main a.wc-btn-ghost:hover { background: #fff; color: var(--wc-ink); }
.wc-btn-outline, .col-main a.wc-btn-outline { border-color: var(--wc-green); color: var(--wc-green); }
.wc-btn-outline:hover, .col-main a.wc-btn-outline:hover { background: var(--wc-green); color: #fff; }

/* ---------- Hero ---------- */
.wc-hero {
    background: linear-gradient(135deg, #14213d 0%, #1d3557 60%, #006a4e 140%);
    color: #e9eef5; border-radius: var(--wc-radius); padding: 56px 48px 44px; margin: 10px 0 40px;
}
.wc-hero .wc-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: #9fd8b3; font-weight: 600; margin: 0 0 12px; }
.wc-hero h1 { color: #fff; font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 16px; max-width: 820px; }
.wc-hero .wc-lead { font-size: 18px; line-height: 1.6; color: #d5dde8; max-width: 760px; margin: 0 0 26px; }
.wc-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; }
.wc-stat { flex: 1 1 160px; padding: 0 20px 0 0; }
.wc-stat strong { display: block; font-size: 30px; color: #fff; line-height: 1.1; }
.wc-stat span { font-size: 14px; color: #b8c4d4; }

/* ---------- Sections ---------- */
.wc-section { margin: 0 0 48px; }
.wc-section-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.wc-section-head h2 { color: var(--wc-ink); font-size: 30px; font-weight: 700; margin: 0 0 10px; }
.wc-section-head p { color: var(--wc-muted); font-size: 16px; margin: 0; }
.wc-page-title { color: var(--wc-ink); font-size: 34px; font-weight: 700; margin: 10px 0 12px; }
.wc-intro { font-size: 17px; line-height: 1.7; max-width: 860px; margin-bottom: 28px; }

/* ---------- Cards ---------- */
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wc-card {
    background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-radius); padding: 26px 24px;
    transition: box-shadow .2s, transform .2s;
}
.wc-card:hover { box-shadow: 0 10px 28px rgba(20,33,61,.08); transform: translateY(-2px); }
.wc-card h3 { color: var(--wc-ink); font-size: 19px; font-weight: 700; margin: 14px 0 8px; }
.wc-card p { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.wc-card .wc-more { font-weight: 600; font-size: 14px; }
.wc-icon {
    width: 46px; height: 46px; border-radius: 10px; background: var(--wc-green-soft); color: var(--wc-green);
    display: flex; align-items: center; justify-content: center;
}
.wc-icon svg { width: 24px; height: 24px; }

/* ---------- Checklists ---------- */
.wc-check { list-style: none; padding: 0; margin: 0 0 16px; }
.wc-check li { position: relative; padding: 5px 0 5px 28px; font-size: 15px; line-height: 1.55; }
.wc-check li:before {
    content: ""; position: absolute; left: 2px; top: 10px; width: 14px; height: 8px;
    border-left: 2px solid var(--wc-green); border-bottom: 2px solid var(--wc-green); transform: rotate(-45deg);
}
.wc-check-2col { columns: 2; column-gap: 32px; }
.wc-check-2col li { break-inside: avoid; }

/* ---------- Process steps ---------- */
.wc-steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wc-steps li { background: var(--wc-bg); border-radius: var(--wc-radius); padding: 20px 18px 18px; position: relative; font-size: 14px; line-height: 1.55; }
.wc-steps li:before {
    counter-increment: step; content: counter(step); display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
    background: var(--wc-green); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px;
}
.wc-steps li strong { display: block; color: var(--wc-ink); font-size: 16px; margin-bottom: 4px; }

/* ---------- Tags ---------- */
.wc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.wc-tags li { background: var(--wc-bg); border: 1px solid var(--wc-line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--wc-ink); }

/* ---------- Timeline ---------- */
.wc-timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--wc-line); }
.wc-timeline > li { position: relative; padding: 0 0 26px 14px; }
.wc-timeline > li:before {
    content: ""; position: absolute; left: -35px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--wc-green);
}
.wc-timeline > li.wc-current:before { background: var(--wc-green); }
.wc-timeline h3 { color: var(--wc-ink); font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.wc-timeline .wc-org { font-weight: 600; color: var(--wc-text); }
.wc-timeline .wc-when { display: block; color: var(--wc-muted); font-size: 14px; margin: 2px 0 8px; }
.wc-timeline p, .wc-timeline ul { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.wc-timeline ul { padding-left: 18px; }

/* ---------- Split layout ---------- */
.wc-split { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
.wc-aside { background: var(--wc-bg); border-radius: var(--wc-radius); padding: 24px; }
.wc-aside h3 { color: var(--wc-ink); font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.wc-aside + .wc-aside { margin-top: 18px; }

/* ---------- Contact list ---------- */
.wc-contact-list { list-style: none; padding: 0; margin: 0; }
.wc-contact-list li { padding: 10px 0; border-bottom: 1px solid var(--wc-line); font-size: 15px; }
.wc-contact-list li:last-child { border-bottom: 0; }
.wc-contact-list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--wc-muted); }
.wc-contact-list a { font-weight: 600; }

/* ---------- CTA band ---------- */
.wc-cta {
    background: var(--wc-green); color: #e8f4ec; border-radius: var(--wc-radius); padding: 38px 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 10px 0 40px;
}
.wc-cta h2 { color: #fff; font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.wc-cta p { margin: 0; font-size: 16px; }
.wc-cta .wc-btn-primary, .col-main .wc-cta a.wc-btn-primary { background: #fff; color: var(--wc-green); }
.wc-cta .wc-btn-primary:hover, .col-main .wc-cta a.wc-btn-primary:hover { background: var(--wc-ink); color: #fff; }

/* ---------- Recent work ---------- */
.wc-work { margin: 0 0 40px; }
.wc-work .thumbnail { border-radius: var(--wc-radius); border-color: var(--wc-line); padding: 6px; margin-bottom: 8px; }
.wc-work .portfolio-des { text-align: center; font-weight: 600; margin-bottom: 18px; }
.wc-work-foot { text-align: center; margin-top: 6px; }

/* ---------- Contact page ---------- */
.wc-contact .fieldset { border: 0; padding: 0; margin: 0; }
.wc-contact .fieldset .legend { display: none; }
.wc-contact .form-list { list-style: none; padding: 0; }
.wc-contact .form-list li { margin-bottom: 14px; }
.wc-contact .form-list label { display: block; font-weight: 600; color: var(--wc-ink); margin-bottom: 6px; }
.wc-contact .form-list label em { color: #c0392b; font-style: normal; margin-right: 2px; }
.wc-contact .input-text {
    width: 100%; max-width: none; border: 1px solid #cfd5dc; border-radius: 6px; padding: 10px 12px; font-size: 15px; height: auto;
}
.wc-contact textarea.input-text { min-height: 160px; }
.wc-contact .input-text:focus { border-color: var(--wc-green); outline: 0; box-shadow: 0 0 0 3px rgba(0,106,78,.15); }
.wc-contact .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wc-contact .buttons-set { border: 0; padding: 0; margin: 4px 0 0; }
.wc-contact .buttons-set .required { color: var(--wc-muted); font-size: 13px; margin-bottom: 10px; }
.wc-contact button.button {
    background: var(--wc-green); color: #fff; border: 0; border-radius: 6px; padding: 12px 26px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.wc-contact button.button:hover { background: var(--wc-green-dark); }
.wc-contact button.button span { background: none; padding: 0; height: auto; line-height: inherit; color: inherit; font: inherit; }

/* ---------- Footer ---------- */
.footer-container { background: var(--wc-ink); border-top: 0 !important; color: #b8c4d4; }
.footer-container h3 { color: #fff; }
.footer-container a { color: #d5dde8; }
.footer-container a:hover { color: #9fd8b3; text-decoration: none; }
.footer-container .wc-footer-contact li { margin-bottom: 4px; }
.wc-copyright { border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 13px; color: #8a97a8; padding: 16px 0 18px; clear: both; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .wc-grid, .wc-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .wc-steps { grid-template-columns: repeat(2, 1fr); }
    .wc-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .wc-hero { padding: 36px 24px 30px; }
    .wc-hero h1 { font-size: 28px; }
    .wc-hero .wc-lead { font-size: 16px; }
    .wc-grid, .wc-grid-2, .wc-grid-4, .wc-steps, .wc-contact .fields { grid-template-columns: 1fr; }
    .wc-check-2col { columns: 1; }
    .wc-cta { padding: 28px 24px; }
}

/* ---------- Overrides for legacy theme rules (.std lists, footer links) ---------- */
html, body { background: var(--wc-ink); }
.wrapper, .page { background: #fff; }
.std ol.wc-steps, .wc-steps { list-style: none; padding-left: 0; margin: 0; }
.std ul.wc-check, .std ul.wc-tags, .std ul.wc-contact-list, .std ul.wc-timeline,
.wc-check, .wc-tags, .wc-contact-list { list-style: none; padding-left: 0; }
.std ul.wc-timeline { padding-left: 26px; }
.std .wc-timeline ul { list-style: disc outside; padding-left: 18px; }
.footer-container .footbox h3 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 14px; }
.footer-container .footbox ul li { margin-bottom: 6px; color: #b8c4d4; }
.footer-container .footbox ul li a { color: #d5dde8; font-size: 14px; }
.footer-container .footbox ul li a:hover { color: #9fd8b3; }
.footer-container .footer { padding: 34px 0 18px; }

/* ---------- Readability: the old theme sets 12px body text ---------- */
.col-main p, .col-main li, .col-main dd { font-size: 15px; line-height: 1.65; }
.col-main .wc-intro { font-size: 17px; line-height: 1.7; }
.wc-grid > *, .wc-steps > * { min-width: 0; }

/* ---------- Mobile: un-fix the header and let it wrap ---------- */
@media (max-width: 767px) {
    html, body { overflow-x: hidden; }
    .header-container { position: relative; }
    .main-container { padding-top: 0; }
    .header .logo { float: none; display: block; margin: 0 0 6px; }
    .header .logo img { max-width: 200px; height: auto; }
    .topcontact { float: none; margin: 0 0 8px; }
    .topcontact ul { padding: 0; margin: 0; overflow: hidden; }
    .topcontact ul li { padding: 2px 14px 2px 0; font-size: 13px; }
    #nav { float: none; position: static; padding: 0 0 8px; overflow: hidden; }
    #nav li.level0 { margin-right: 4px; }
    .main { padding-top: 14px; }
}

/* ---------- Contact form: undo legacy fixed widths and orange buttons ---------- */
.wc-contact .fieldset { background: none !important; border: 0 !important; padding: 0 !important; }
.wc-contact .form-list .field,
.wc-contact .form-list .input-box { float: none; width: auto; display: block; margin: 0; }
.wc-contact .form-list input.input-text,
.wc-contact .form-list textarea { width: 100% !important; box-sizing: border-box; }
.wc-contact .fields { margin-bottom: 0; }
.wc-contact .buttons-set { text-align: left; border-top: 0; margin-top: 6px; }
.wc-contact button.button span,
.wc-contact button.button span span { display: inline; border: 0 !important; background: none !important; padding: 0 !important; height: auto; font: inherit; color: inherit; }
.wc-stat { margin-bottom: 14px; }

/* ---------- FAQ + text sizes inside CMS content ---------- */
.col-main .std p, .col-main .std li { font-size: 15px; line-height: 1.65; }
.col-main .std .wc-intro { font-size: 17px; }
.col-main .wc-section > h3 { color: var(--wc-ink); font-size: 18px; font-weight: 700; margin: 22px 0 6px; }
.wc-contact .form-list li.wide .input-box, .wc-contact .form-list li.wide textarea { width: 100% !important; }

/* ==========================================================================
   Header (Webcoderbd logo, top bar, nav, Hire me)
   ========================================================================== */
.header-container.wc-header {
    border-top: 0 !important; border-bottom: 1px solid var(--wc-line) !important; background: rgba(255,255,255,.97);
    transition: box-shadow .2s;
}
.wc-header.wc-scrolled { box-shadow: 0 6px 20px rgba(20,33,61,.08); }
.main-container { padding-top: 112px; }

/* top bar */
.wc-topbar { background: var(--wc-ink); color: #b8c4d4; font-size: 13px; }
.wc-topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.wc-topbar a { color: #d5dde8; margin-right: 22px; text-decoration: none; }
.wc-topbar-right a { margin: 0 0 0 22px; }
.wc-topbar a:hover { color: #9fd8b3; text-decoration: none; }

/* main row */
.header.wc-header-main { display: flex; align-items: center; justify-content: space-between; padding: 0; height: 76px; }
.header.wc-header-main:before, .header.wc-header-main:after { display: none; }
.wc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.wc-logo-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.wc-logo-text { display: flex; flex-direction: column; line-height: 1; }
.wc-logo-name { font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--wc-ink); }
.wc-logo-name span { color: var(--wc-green); }
.wc-logo-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wc-muted); margin-top: 6px; }

/* nav */
.wc-nav-wrap { display: flex; align-items: center; gap: 18px; }
.wc-nav-wrap .nav-container { float: none; }
.wc-header #nav { float: none; position: static; display: flex; align-items: center; margin: 0; padding: 0; }
.wc-header #nav li.level0 { float: none; }
.wc-header #nav li.level0 > a {
    float: none; display: block; padding: 8px 12px; font-size: 15px; font-weight: 600; color: var(--wc-ink); position: relative;
}
.wc-header #nav li.level0 > a:after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--wc-green); transform: scaleX(0); transition: transform .2s;
}
.wc-header #nav li.level0:hover > a, .wc-header #nav li.level0.active > a { color: var(--wc-green); }
.wc-header #nav li.level0:hover > a:after, .wc-header #nav li.level0.active > a:after { transform: scaleX(1); }
/* dropdowns */
.wc-header #nav ul.level0, .wc-header #nav div {
    border: 1px solid var(--wc-line) !important; border-radius: 8px; box-shadow: 0 12px 28px rgba(20,33,61,.12); padding: 6px 0; top: 40px;
}
.wc-header #nav ul.level0 li a { float: none; padding: 8px 16px; font-weight: 500; font-size: 14px; color: var(--wc-text); }
.wc-header #nav ul.level0 li a:hover { color: var(--wc-green); background: var(--wc-green-soft); }
.wc-header .wc-hire { margin: 0 0 0 6px; padding: 10px 20px; font-size: 14px; }
.wc-header .quick-access { float: none; width: auto; padding: 0; }

/* mobile header */
@media (max-width: 991px) {
    .wc-header #nav li.level0 > a { padding: 8px 8px; font-size: 14px; }
    .wc-logo-tag { display: none; }
}
@media (max-width: 767px) {
    .header-container.wc-header { position: relative; }
    .main-container { padding-top: 0; }
    .wc-topbar .container { height: auto; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
    .wc-topbar a { margin: 0 14px 0 0; }
    .wc-topbar-right a { margin: 0 14px 0 0; }
    .header.wc-header-main { flex-wrap: wrap; height: auto; padding: 12px 15px 6px; }
    .wc-nav-wrap { width: 100%; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .wc-header #nav { flex-wrap: wrap; }
    .wc-header .wc-hire { margin: 4px 0 6px; }
}
.wc-topbar .container:before, .wc-topbar .container:after { display: none; }
@media (max-width: 767px) {
    .header.wc-header-main { position: relative; }
    .wc-header .wc-hire { position: absolute; top: 14px; right: 15px; margin: 0; padding: 9px 16px; }
}
.col-main .page-title h1, .col-main .category-title h1 { color: var(--wc-ink); font-size: 34px; font-weight: 700; margin: 10px 0 12px; line-height: 1.2; }

/* ---------- Webcoderbd wordmark: Bangladesh flag green + red ---------- */
:root { --wc-flag-red: #f42a41; }
.wc-logo-name { font-size: 28px; color: var(--wc-green); letter-spacing: -.03em; }
.wc-logo-name span { color: var(--wc-flag-red); }
.wc-logo-tag { margin-top: 5px; letter-spacing: .16em; }
.wc-logo-name { font-size: 26px; letter-spacing: .01em; }
.wc-logo-tag { letter-spacing: .19em; }
