/* =========================================================
   KIRALI WHMCS THEME — custom.css (v2)
   Brand language matched to kirali.co.in
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  --kw-navy-900:#0b1626;
  --kw-navy-800:#11253d;
  --kw-navy-700:#173357;
  --kw-teal:#2f8f6f;
  --kw-teal-dark:#24735a;
  --kw-blue:#2196b0;
  --kw-gold:#f2a71b;
  --kw-gray-50:#f7f9fb;
  --kw-gray-100:#eef2f7;
  --kw-gray-600:#64748b;
  --kw-radius:16px;
  --kw-shadow:0 12px 32px rgba(11,22,38,0.10);
}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  color:#1e293b;
  background:#ffffff;
}
h1,h2,h3,h4,h5,h6,.navbar-brand{
  font-family:'Poppins',sans-serif;
  font-weight:700;
}

/* ---------- Navbar ---------- */
.navbar,#header{
  background:#ffffff !important;
  box-shadow:0 2px 14px rgba(11,22,38,0.07);
  border-bottom:none !important;
}
.navbar .nav-link,.navbar a{ color:#1e293b !important; font-weight:500; }
.navbar .nav-link:hover,.navbar a:hover{ color:var(--kw-teal) !important; }
.navbar-brand img{ max-height:40px; }
.navbar .btn-primary,.btn-primary{
  background:var(--kw-teal) !important;
  border:none !important;
  border-radius:8px !important;
  font-weight:600;
  box-shadow:0 6px 16px rgba(47,143,111,0.25);
}
.btn-primary:hover{ background:var(--kw-teal-dark) !important; }

/* ---------- General buttons ---------- */
.btn{ border-radius:8px; font-weight:600; }
.btn-success{ background:var(--kw-teal) !important; border-color:var(--kw-teal) !important; }
.btn-success:hover{ background:var(--kw-teal-dark) !important; border-color:var(--kw-teal-dark) !important; }
.btn-default{ border-radius:8px; }

/* =========================================================
   1. HERO / DOMAIN SEARCH  (existing WHMCS block, restyled)
   ========================================================= */
.kw-hero-wrap{
  background:linear-gradient(160deg,var(--kw-navy-900) 0%,var(--kw-navy-700) 60%,var(--kw-teal-dark) 130%) !important;
  padding:72px 20px 56px !important;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.kw-hero-wrap::before{
  content:"✦ Trusted by 45+ Websites & Hosting Clients";
  display:inline-block;
  background:rgba(255,255,255,0.10);
  color:#fff;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.02em;
  padding:7px 18px;
  border-radius:999px;
  margin-bottom:22px;
  border:1px solid rgba(255,255,255,0.18);
}
.kw-hero-wrap h1,.kw-hero-wrap h2,.kw-hero-wrap h3{
  color:#fff !important;
  font-size:2.1rem;
  margin-bottom:22px;
}
.kw-hero-wrap p{ color:#dbe4ef; }
.kw-hero-wrap .form-control,
.kw-hero-wrap textarea{
  border-radius:10px;
  border:none;
  padding:14px 16px;
  font-size:15px;
}
.kw-hero-wrap .input-group,
.kw-hero-wrap form{
  max-width:760px;
  margin:0 auto;
  background:#fff;
  border-radius:var(--kw-radius);
  padding:22px;
  box-shadow:0 20px 50px rgba(0,0,0,0.28);
}
.kw-hero-wrap .btn-success{
  border-top-right-radius:10px !important;
  border-bottom-right-radius:10px !important;
}
.kw-hero-wrap label,
.kw-hero-wrap .checkbox label{
  color:#334155;
}

/* =========================================================
   2. STATS STRIP (new)
   ========================================================= */
.kw-stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  background:var(--kw-navy-800);
  padding:0;
}
.kw-stats .kw-stat{
  flex:1 1 160px;
  text-align:center;
  padding:26px 12px;
  border-right:1px solid rgba(255,255,255,0.08);
}
.kw-stats .kw-stat:last-child{ border-right:none; }
.kw-stats .kw-stat .num{
  font-family:'Poppins',sans-serif;
  font-size:1.9rem;
  font-weight:800;
  color:#fff;
  display:block;
}
.kw-stats .kw-stat .label{
  color:#a9b8cc;
  font-size:13px;
  font-weight:500;
}

/* =========================================================
   3 & 4 & 5. Generic "marketing section" shell used by
   Services / Why-choose-us / Process / Testimonials / FAQ / CTA
   ========================================================= */
.kw-section{
  padding:60px 20px;
  max-width:1180px;
  margin:0 auto;
}
.kw-section.kw-gray{ background:var(--kw-gray-50); max-width:100%; }
.kw-section.kw-gray > .kw-inner{ max-width:1180px; margin:0 auto; }
.kw-eyebrow{
  color:var(--kw-teal);
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-align:center;
  display:block;
  margin-bottom:8px;
}
.kw-section h2{
  text-align:center;
  font-size:1.9rem;
  color:var(--kw-navy-900);
  margin-bottom:10px;
}
.kw-section .kw-sub{
  text-align:center;
  color:var(--kw-gray-600);
  max-width:600px;
  margin:0 auto 36px;
}

/* Cards grid (Services / Why choose us) */
.kw-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.kw-card{
  background:#fff;
  border:1px solid var(--kw-gray-100);
  border-radius:var(--kw-radius);
  padding:28px 24px;
  box-shadow:var(--kw-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.kw-card:hover{ transform:translateY(-5px); box-shadow:0 20px 42px rgba(11,22,38,0.14); }
.kw-card .kw-icon{
  width:52px;height:52px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--kw-teal),var(--kw-blue));
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  margin-bottom:16px;
}
.kw-card h3{ font-size:17px; margin-bottom:8px; color:var(--kw-navy-900); }
.kw-card p{ color:var(--kw-gray-600); font-size:14.5px; margin-bottom:14px; }
.kw-card a{ color:var(--kw-teal); font-weight:600; font-size:14px; text-decoration:none; }
.kw-card a:hover{ text-decoration:underline; }

/* Process steps */
.kw-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.kw-step{ text-align:center; position:relative; padding:0 8px; }
.kw-step .kw-num{
  width:44px;height:44px;
  border-radius:50%;
  background:var(--kw-navy-900);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.kw-step h3{ font-size:15.5px; margin-bottom:6px; color:var(--kw-navy-900); }
.kw-step p{ color:var(--kw-gray-600); font-size:13.5px; }

/* Testimonials */
.kw-testimonials{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.kw-testimonial{
  background:#fff;
  border-radius:var(--kw-radius);
  padding:26px;
  box-shadow:var(--kw-shadow);
  border:1px solid var(--kw-gray-100);
}
.kw-testimonial .quote{ color:#334155; font-size:14.5px; font-style:italic; margin-bottom:18px; }
.kw-testimonial .who{ display:flex; align-items:center; gap:10px; }
.kw-testimonial .avatar{
  width:38px;height:38px;border-radius:50%;
  background:var(--kw-teal);
  color:#fff;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;
}
.kw-testimonial .name{ font-weight:700; font-size:13.5px; color:var(--kw-navy-900); }
.kw-testimonial .role{ font-size:12px; color:var(--kw-gray-600); }

/* FAQ */
.kw-faq-item{
  border-bottom:1px solid var(--kw-gray-100);
  padding:16px 4px;
}
.kw-faq-item summary{
  cursor:pointer;
  font-weight:600;
  color:var(--kw-navy-900);
  font-size:15px;
  list-style:none;
}
.kw-faq-item summary::-webkit-details-marker{ display:none; }
.kw-faq-item summary::after{
  content:"+";
  float:right;
  color:var(--kw-teal);
  font-weight:700;
  font-size:18px;
}
.kw-faq-item[open] summary::after{ content:"−"; }
.kw-faq-item p{ color:var(--kw-gray-600); margin-top:10px; font-size:14px; }

/* CTA band */
.kw-cta{
  background:linear-gradient(135deg,var(--kw-navy-900),var(--kw-teal-dark));
  border-radius:var(--kw-radius);
  padding:44px 30px;
  text-align:center;
  color:#fff;
  max-width:1180px;
  margin:0 auto 60px;
}
.kw-cta h2{ color:#fff; margin-bottom:10px; }
.kw-cta p{ color:#d7e2ee; margin-bottom:22px; }
.kw-cta .btn{
  background:#fff;
  color:var(--kw-navy-900);
  padding:12px 30px;
  border-radius:999px;
  font-weight:700;
  border:none;
}
.kw-cta .btn:hover{ background:var(--kw-gray-100); }

/* =========================================================
   Existing quick-links + News blocks — light restyle
   ========================================================= */
.kw-quicklinks-wrap{
  background:linear-gradient(90deg,var(--kw-blue),var(--kw-teal)) !important;
  padding:0 !important;
}
.kw-quicklinks-wrap a{
  color:#fff !important;
  transition:transform .15s ease, background .15s ease;
}
.kw-quicklinks-wrap a:hover{
  background:rgba(255,255,255,0.08) !important;
  transform:translateY(-2px);
}
.kw-news-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:50px 20px 10px;
}
.kw-news-wrap h2{ color:var(--kw-navy-900); font-size:1.7rem; }
.kw-news-wrap .panel,.kw-news-wrap .well,.kw-news-wrap blockquote{
  border-radius:var(--kw-radius) !important;
  border:1px solid var(--kw-gray-100) !important;
  box-shadow:var(--kw-shadow);
}

/* ---------- Product / order cards elsewhere in WHMCS ---------- */
.product-group,.pricing-table,[class*="product"] .panel,.list-group-item{
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-group:hover,.pricing-table:hover,[class*="product"] .panel:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(15,23,42,0.12) !important;
}
.pricing-table .price,.product-price,.price-tag{
  color:var(--kw-teal-dark);
  font-weight:700;
  font-family:'Poppins',sans-serif;
}

/* ---------- Footer ---------- */
#footer,footer{
  background:var(--kw-navy-900) !important;
  color:#a9b8cc !important;
  padding:34px 0 22px;
}
#footer a,footer a{ color:#e2e8f0 !important; }
#footer a:hover,footer a:hover{ color:var(--kw-teal) !important; }

/* ---------- Fade-in ---------- */
.kw-fade{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
.kw-fade.kw-visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .kw-grid,.kw-testimonials{ grid-template-columns:repeat(2,1fr); }
  .kw-steps{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  .kw-grid,.kw-testimonials,.kw-steps{ grid-template-columns:1fr; }
  .kw-hero-wrap{ padding:48px 16px 40px !important; }
  .kw-hero-wrap h1,.kw-hero-wrap h2,.kw-hero-wrap h3{ font-size:1.5rem; }
  .kw-stats .kw-stat{ flex:1 1 45%; border-right:none; border-bottom:1px solid rgba(255,255,255,0.08); }
}
