/*
Theme Name: KP Consultancy
Author: Kishan Vaghela
Description: Custom responsive WordPress theme for KP Consultancy.
Version: 1.8
Text Domain: kp-consultancy
*/
:root{--blue:#0b5ed7;--navy:#071f4f;--red:#e51b23;--green:#19b957;--ink:#102a43;--muted:#64748b;--light:#f5f8fc;--white:#fff;--shadow:0 15px 40px rgba(7,31,79,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Poppins,Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.container{width:min(1140px,92%);margin:auto}
.topbar{background:var(--navy);color:#fff;font-size:13px}.topbar .inner{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.site-header{background:#fff;border-bottom:1px solid #e8edf3;position:sticky;top:0;z-index:1000}.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between}.brand img{width:220px;height:auto;display:block}.menu{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:700}.menu a:hover{color:var(--blue)}.cta{background:var(--blue);color:#fff!important;padding:12px 19px;border-radius:8px}.mobile-toggle{display:none;border:0;background:none;font-size:26px;color:var(--ink)}
.hero{padding:72px 0 58px;background:linear-gradient(135deg,#f4f8ff 0%,#fff 70%)}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:55px;align-items:center}.eyebrow{display:inline-block;background:#e9f2ff;color:var(--blue);padding:7px 14px;border-radius:30px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(40px,5vw,62px);line-height:1.06;margin:18px 0}.hero h1 span{color:var(--blue)}.hero p{font-size:17px;color:var(--muted);max-width:680px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 23px;border-radius:8px;font-weight:800}.btn-primary{background:var(--blue);color:#fff}.btn-whatsapp{background:var(--green);color:#fff}.hero-visual{min-height:455px;border-radius:26px;overflow:hidden;background:#fff;box-shadow:var(--shadow);display:flex;align-items:flex-end;justify-content:center}.hero-visual img{height:455px;width:100%;object-fit:cover;object-position:center top}
.trust{margin-top:-25px;position:relative;z-index:2}.trust-grid{background:#fff;border-radius:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);padding:22px}.trust-item{text-align:center;border-right:1px solid #e3e9f1}.trust-item:last-child{border:0}.trust-item strong{display:block;font-size:27px;color:var(--blue)}.trust-item span{font-size:13px;color:var(--muted)}
section{padding:76px 0}.section-head{text-align:center;margin-bottom:38px}.section-head h2{font-size:36px;line-height:1.2;margin:10px 0}.section-head p{max-width:700px;margin:auto;color:var(--muted)}
.services{background:var(--light)}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;padding:27px 19px;text-align:center;box-shadow:0 7px 22px rgba(16,42,67,.05);transition:.25s}.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.icon{width:58px;height:58px;margin:auto auto 14px;border-radius:15px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;font-size:23px}.service-card h3{font-size:17px;margin:7px 0}.service-card p{font-size:13px;color:var(--muted);margin:0}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}.about-photo{background:#f2f6fb;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);height:520px;text-align:center}.about-photo img{height:100%;width:100%;object-fit:cover;object-position:center top}.about-box{padding:12px 0}.checks{list-style:none;padding:0}.checks li{margin:11px 0}.checks i{color:var(--blue);margin-right:8px}
.promo{background:#fff}.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.promo-card{border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--shadow);border:1px solid #e7edf4}.promo-card img{width:100%;display:block}
.stats{background:linear-gradient(110deg,#062d73,#0b5ed7);color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}.stats strong{display:block;font-size:34px}.stats span{opacity:.92}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.review{padding:26px;border:1px solid #e7edf4;border-radius:16px;box-shadow:0 7px 22px rgba(16,42,67,.05)}.stars{color:#f4b400}.review p{color:var(--muted)}
.contact{background:var(--light)}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:25px}.contact-card{background:#fff;padding:30px;border-radius:18px;box-shadow:var(--shadow)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-control{width:100%;padding:13px 14px;border:1px solid #dbe4ee;border-radius:8px;font:inherit;margin-bottom:12px}
.footer{background:#061a35;color:#cbd5e1;padding:55px 0 18px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:35px}.footer h3{color:#fff;font-size:16px}.footer a{display:block;margin:8px 0;color:#cbd5e1;font-size:14px}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:16px;font-size:12px;text-align:center}.floating{position:fixed;bottom:18px;right:18px;background:var(--green);color:#fff;padding:12px 18px;border-radius:40px;font-weight:800;box-shadow:var(--shadow);z-index:999}
@media(max-width:900px){.hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,1fr)}.trust-grid,.stats-grid{grid-template-columns:repeat(2,1fr)}.testimonial-grid,.promo-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.menu{display:none}.mobile-toggle{display:block}.hero-visual{min-height:400px}.hero-visual img{height:400px}}
@media(max-width:560px){.topbar .inner{flex-direction:column;gap:2px}.brand img{width:185px}.hero{padding:55px 0 45px}.hero h1{font-size:38px}.service-grid,.trust-grid,.stats-grid,.footer-grid,.form-row{grid-template-columns:1fr}.trust-item{border-right:0;border-bottom:1px solid #e3e9f1;padding:12px}.trust-item:last-child{border:0}.section-head h2{font-size:30px}.hero-buttons .btn{width:100%}.about-photo{height:430px}}

/* v1.4 refinements to match the latest KP Consultancy preview */
.site-header .nav{min-height:88px}
.brand img{width:300px;max-height:68px;object-fit:contain;object-position:left center}
.hero{padding:58px 0 48px}
.hero-grid{grid-template-columns:1.02fr .98fr;gap:35px}
.hero h1{font-size:clamp(42px,4.8vw,60px);letter-spacing:-1px}
.hero-visual{min-height:500px;border-radius:0;background:transparent;box-shadow:none;position:relative}
.hero-visual img{height:500px;width:100%;object-fit:cover;object-position:center top;border-radius:28px;box-shadow:0 18px 45px rgba(7,31,79,.12)}
.trust{margin-top:-18px}
@media(max-width:900px){.brand img{width:245px}.hero-visual{min-height:420px}.hero-visual img{height:420px}}
@media(max-width:560px){.brand img{width:205px}.hero{padding:45px 0 38px}.hero-visual{min-height:360px}.hero-visual img{height:360px}}

/* v1.5 hero service highlights */
.hero-grid{grid-template-columns:1fr 1fr;align-items:center}
.hero-right{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:14px;align-items:center}
.hero-right .hero-visual{min-width:0}
.hero-right .hero-visual img{object-position:center top}
.hero-help{background:#fff;border:1px solid #e5ebf3;border-radius:18px;padding:22px 18px;box-shadow:0 14px 35px rgba(7,31,79,.10)}
.hero-help .help-title{font-size:13px;font-weight:800;color:var(--blue);letter-spacing:.4px;margin-bottom:12px}
.hero-help h3{font-size:19px;line-height:1.2;margin:0 0 14px;color:var(--ink)}
.help-list{list-style:none;margin:0;padding:0}
.help-list li{display:flex;gap:9px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #edf1f6;font-size:12px;font-weight:700;color:#233b5d}
.help-list li:last-child{border-bottom:0}
.help-list i{width:19px;height:19px;flex:0 0 19px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);font-size:9px;margin-top:1px}
.help-bottom{margin-top:12px;padding:10px 11px;border-radius:10px;background:#f5f8fc;font-size:11px;font-weight:700;color:var(--muted);text-align:center}
@media(max-width:1050px){.hero-right{grid-template-columns:1fr 205px}.hero h1{font-size:48px}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-right{grid-template-columns:1fr 230px}.hero-right .hero-visual{min-height:440px}.hero-right .hero-visual img{height:440px}}
@media(max-width:600px){.hero-right{grid-template-columns:1fr}.hero-help{order:2}.hero-right .hero-visual{min-height:360px}.hero-right .hero-visual img{height:360px}.hero h1{font-size:39px}}

/* v1.6 services section */
.services{padding-top:78px;padding-bottom:82px}
.services .section-head{margin-bottom:42px}
.service-grid{grid-template-columns:repeat(4,1fr);gap:20px}
.service-card{position:relative;min-height:225px;padding:30px 20px 24px;overflow:hidden}
.service-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:linear-gradient(90deg,#0b5ed7,#e51b23)}
.service-card .service-no{position:absolute;right:15px;top:12px;font-size:12px;font-weight:800;color:#d9e5f7}
.service-card .icon{margin-top:8px}
.service-card h3{font-size:18px;margin:10px 0 8px}
.service-card p{min-height:42px}
.service-link{display:inline-block;margin-top:14px;color:var(--blue);font-size:12px;font-weight:800}
.services-cta{margin-top:38px;background:linear-gradient(110deg,#071f4f,#0b5ed7);color:#fff;border-radius:18px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.services-cta h3{margin:0 0 5px;font-size:22px}.services-cta p{margin:0;color:#dbeafe;font-size:13px}
.services-cta .btn{background:#fff;color:#0b5ed7;white-space:nowrap}
@media(max-width:900px){.service-grid{grid-template-columns:repeat(2,1fr)}.services-cta{flex-direction:column;align-items:flex-start}}
@media(max-width:560px){.service-grid{grid-template-columns:1fr}.service-card{min-height:auto}.services-cta{padding:23px}.services-cta .btn{width:100%}}

/* v1.7 About KP Consultancy */
.about-kp{padding:88px 0;background:#fff}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:65px;align-items:center}
.about-photo{position:relative;max-width:510px;margin:auto}
.about-photo img{display:block;width:100%;height:510px;object-fit:cover;object-position:center top;border-radius:26px;box-shadow:0 18px 45px rgba(7,31,79,.14)}
.about-badge{position:absolute;left:20px;bottom:20px;background:#071f4f;color:#fff;border-radius:14px;padding:12px 16px;display:flex;align-items:center;gap:10px;box-shadow:0 10px 25px rgba(7,31,79,.22)}
.about-badge strong{font-size:22px;color:#e51b23}.about-badge span{font-size:12px;font-weight:700}
.about-copy .eyebrow{font-size:13px;font-weight:800;color:#0b5ed7;letter-spacing:.5px;margin-bottom:10px}
.about-copy h2{font-size:clamp(34px,4vw,50px);line-height:1.08;color:#071f4f;margin:0 0 18px}
.about-copy h2 span{color:#0b5ed7}
.about-copy>p{font-size:15px;line-height:1.75;color:#5d7190;margin:0 0 12px}
.about-points{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:25px 0 28px}
.about-points>div{background:#f5f8fc;border:1px solid #e4ebf4;border-radius:13px;padding:14px}
.about-points b{display:block;color:#132f55;font-size:13px;margin-bottom:5px}
.about-points span{display:block;color:#70829b;font-size:11px;line-height:1.4}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;gap:35px}.about-photo{max-width:470px}.about-photo img{height:470px}}
@media(max-width:560px){.about-kp{padding:60px 0}.about-points{grid-template-columns:1fr}.about-photo img{height:420px}}

/* v1.8 About image cleanup */
.about-photo img{object-position:center top;background:#f7f9fc}
.about-photo{overflow:visible}
.about-photo:before{display:none}
