/*
Theme Name: Rohinul
Theme URI: https://example.com/rohinul
Author: Rohinul
Author URI: https://example.com
Description: A modern, high-converting agency landing page theme. Single-page layout with hero, services, portfolio, process, testimonials, FAQ, and contact sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rohinul
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options, blog, portfolio
*/

:root{
  --bg:#ffffff;
  --fg:#0b1220;
  --ink:#0f172a;
  --ink-deep:#0a0f1d;
  --muted:#64748b;
  --border:#e2e8f0;
  --brand:#3b82f6;
  --brand-foreground:#ffffff;
  --brand-soft:#eff6ff;
  --card:#ffffff;
  --radius:14px;
  --shadow:0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-weight:800;letter-spacing:-.025em;color:var(--ink);margin:0}
p{margin:0}
ul{list-style:none;padding:0;margin:0}

.container{max-width:1200px;margin:0 auto;padding:0 24px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.2em;color:var(--brand);text-transform:uppercase}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:999px;font-weight:600;font-size:14px;border:0;cursor:pointer;transition:transform .15s,background .2s,opacity .2s}
.btn-primary{background:var(--brand);color:var(--brand-foreground)}
.btn-primary:hover{opacity:.92}
.btn-dark{background:var(--ink-deep);color:#fff}
.btn-light{background:#fff;color:var(--ink)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);border-bottom:1px solid rgba(226,232,240,.6)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.brand .logo{width:32px;height:32px;border-radius:8px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700}
.menu{display:none;gap:32px;font-size:14px;color:var(--muted)}
.menu a:hover{color:var(--ink)}
@media(min-width:860px){.menu{display:flex}}

/* Hero */
.hero{padding:24px 0 48px}
.hero-card{position:relative;border-radius:24px;overflow:hidden}
.hero-card img{width:100%;height:520px;object-fit:cover}
.hero-card .overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,.1) 40%,rgba(0,0,0,.45))}
.hero-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#fff}
.hero-content h1{color:#fff;font-size:clamp(32px,5vw,72px);line-height:1.05;max-width:900px}
.hero-content p{margin-top:18px;max-width:560px;color:rgba(255,255,255,.85);font-size:17px}
.hero-content .btn{margin-top:28px;height:48px;padding:0 28px}

.stats{margin:40px auto 0;max-width:720px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}
.stats > div{padding:0 16px;border-left:1px solid var(--border)}
.stats > div:first-child{border-left:0}
.stats .num{font-size:28px;font-weight:800;color:var(--ink)}
.stats .lbl{font-size:13px;color:var(--muted);margin-top:4px}

/* Sections */
section{padding:96px 0}
.section-soft{background:var(--brand-soft)}
.section-dark{background:var(--ink-deep);color:#fff}
.section-dark h2{color:#fff}

h2.title{font-size:clamp(28px,4vw,48px);margin-top:12px;line-height:1.1}
.lead{margin-top:16px;color:var(--muted);max-width:560px}

/* Services grid */
.grid-3{display:grid;grid-template-columns:1fr;gap:20px;margin-top:48px}
@media(min-width:720px){.grid-3{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.grid-3{grid-template-columns:1fr 1fr 1fr}}

.card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:28px;transition:border-color .2s,box-shadow .2s,transform .2s}
.card:hover{border-color:rgba(59,130,246,.4);box-shadow:var(--shadow)}
.card .icon{width:44px;height:44px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:18px}
.card h3{margin-top:20px;font-size:18px}
.card p{margin-top:8px;color:var(--muted);font-size:14px}
.card a.more{margin-top:18px;display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--ink)}

/* Why us */
.why{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
@media(min-width:1024px){.why{grid-template-columns:1fr 1fr;gap:56px}}
.why .ministats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:420px;margin-top:36px}
.why .ministats .num{font-size:26px;font-weight:800;color:var(--ink)}
.why .ministats .lbl{font-size:12px;color:var(--muted);margin-top:4px}
.checklist{display:flex;flex-direction:column;gap:12px}
.checklist li{background:#fff;border-radius:14px;padding:18px;display:flex;gap:14px;align-items:flex-start;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.checklist .dot{flex:0 0 24px;width:24px;height:24px;border-radius:999px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:12px}
.checklist h4{font-size:15px}
.checklist p{margin-top:4px;font-size:13px;color:var(--muted)}

/* Portfolio */
.portfolio-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px}
.portfolio-grid{display:grid;grid-template-columns:1fr;gap:24px;margin-top:48px}
@media(min-width:720px){.portfolio-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.portfolio-grid{grid-template-columns:1fr 1fr 1fr}}
.work{cursor:pointer}
.work .thumb{overflow:hidden;border-radius:18px;background:#f1f5f9}
.work img{width:100%;height:260px;object-fit:cover;transition:transform .5s}
.work:hover img{transform:scale(1.05)}
.work .meta{display:flex;align-items:center;justify-content:space-between;margin-top:14px}
.work .meta h3{font-size:16px}
.work .meta span{font-size:12px;color:var(--muted)}

/* Process */
.steps{display:grid;grid-template-columns:1fr;gap:20px;margin-top:56px}
@media(min-width:720px){.steps{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:28px;transition:background .2s}
.step:hover{background:rgba(255,255,255,.1)}
.step .n{font-size:28px;font-weight:800;color:var(--brand)}
.step h3{margin-top:18px;color:#fff;font-size:18px}
.step p{margin-top:8px;color:rgba(255,255,255,.65);font-size:14px}

/* Testimonials */
.tgrid{display:grid;grid-template-columns:1fr;gap:20px;margin-top:48px}
@media(min-width:720px){.tgrid{grid-template-columns:1fr 1fr 1fr}}
.testimonial{background:#fff;border-radius:18px;padding:28px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.stars{color:var(--brand);font-size:14px;letter-spacing:2px}
.testimonial p{margin-top:14px;font-size:14px;color:rgba(15,23,42,.8);line-height:1.6}
.testimonial .who{display:flex;gap:12px;align-items:center;margin-top:22px}
.testimonial .av{width:36px;height:36px;border-radius:999px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700}
.testimonial .name{font-weight:600;color:var(--ink);font-size:14px}
.testimonial .role{font-size:12px;color:var(--muted)}

/* FAQ */
.faq{max-width:760px;margin:0 auto}
.faq .head{text-align:center}
.faq-list{margin-top:48px;display:flex;flex-direction:column;gap:12px}
.faq-item{border:1px solid var(--border);border-radius:14px;background:#fff;padding:18px 22px}
.faq-item summary{cursor:pointer;font-weight:500;color:var(--ink);list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:20px;color:var(--muted)}
.faq-item[open] summary::after{content:"−"}
.faq-item p{margin-top:12px;color:var(--muted);font-size:14px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr;gap:48px;align-items:flex-start}
@media(min-width:1024px){.contact-grid{grid-template-columns:1fr 1fr}}
.callout{margin-top:32px;display:inline-flex;gap:12px;align-items:center;background:var(--brand-soft);border:1px solid rgba(59,130,246,.2);border-radius:18px;padding:16px;max-width:420px}
.callout .ic{width:40px;height:40px;border-radius:999px;background:var(--brand);color:#fff;display:grid;place-items:center}
.contact-info{margin-top:32px;display:flex;flex-direction:column;gap:12px;color:var(--muted);font-size:14px}
.contact-info li{display:flex;gap:12px;align-items:center}
.contact-info .ic{color:var(--brand)}
form.contact{background:#fff;border:1px solid var(--border);border-radius:18px;padding:28px;box-shadow:0 1px 2px rgba(15,23,42,.04);display:flex;flex-direction:column;gap:14px}
form.contact .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
form.contact label{font-size:13px;font-weight:500;color:var(--ink)}
form.contact input,form.contact textarea{margin-top:6px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font:inherit;background:#fff;outline:0;transition:border .15s,box-shadow .15s}
form.contact input:focus,form.contact textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(59,130,246,.15)}
form.contact button{height:44px;border-radius:999px;background:var(--brand);color:#fff;border:0;font-weight:600;cursor:pointer}

/* Footer */
.site-footer{background:var(--ink-deep);color:rgba(255,255,255,.7);padding-top:64px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:40px}
@media(min-width:720px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.site-footer h4{color:#fff;font-size:14px;margin-bottom:14px}
.site-footer .brand{color:#fff}
.site-footer p{font-size:14px;margin-top:14px;max-width:360px}
.site-footer ul{display:flex;flex-direction:column;gap:8px;font-size:14px}
.site-footer a:hover{color:#fff}
.legal{border-top:1px solid rgba(255,255,255,.1);margin-top:56px;padding:24px 0;font-size:12px;color:rgba(255,255,255,.5);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* WP core required classes */
.alignleft{float:left;margin-right:1.5em}
.alignright{float:right;margin-left:1.5em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
.wp-caption{max-width:100%}
