/* =====================================================
   Shafiq Technical AC Repair Services — Custom Theme
   Bootstrap 5.3 + Bootstrap Icons + custom polish
   ===================================================== */

:root {
  --sr-primary:        #0d6efd;
  --sr-primary-dark:   #084ec0;
  --sr-accent:         #06b6d4;
  --sr-accent-dark:    #0891b2;
  --sr-dark:           #0f172a;
  --sr-muted:          #64748b;
  --sr-soft:           #f1f5f9;
  --sr-soft-2:         #e2e8f0;
  --sr-success:        #16a34a;
  --sr-warning:        #f59e0b;
  --sr-danger:         #dc2626;
  --sr-shadow-sm:      0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --sr-shadow:         0 10px 25px -5px rgba(15, 23, 42, .08), 0 6px 10px -6px rgba(15, 23, 42, .06);
  --sr-shadow-lg:      0 25px 50px -12px rgba(15, 23, 42, .15);
  --sr-radius:         14px;
  --sr-radius-lg:      22px;
  --bs-primary:        var(--sr-primary);
  --bs-primary-rgb:    13, 110, 253;
}

/* Typography */
html, body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sr-dark);
  scroll-behavior: smooth;
}
body {
  background: #ffffff;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--sr-dark);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
p  { color: #334155; }
a  { text-decoration: none; }

/* ----- Top utility bar ----- */
.sr-topbar {
  background: linear-gradient(90deg, var(--sr-primary) 0%, var(--sr-accent) 100%);
  color: #fff;
  font-size: .85rem;
}
.sr-topbar a { color: #fff; opacity: .9; }
.sr-topbar a:hover { opacity: 1; text-decoration: underline; }
.sr-topbar i { width: 1.1em; }

/* ----- Navbar ----- */
.sr-navbar {
  background: #fff;
  box-shadow: var(--sr-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.sr-navbar .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sr-dark) !important;
  display: flex; align-items: center; gap: .55rem;
}
.sr-navbar .navbar-brand i { color: var(--sr-primary); font-size: 1.6rem; }
.sr-navbar .navbar-brand span { color: var(--sr-primary); }
.sr-navbar .nav-link {
  color: var(--sr-dark) !important;
  font-weight: 500;
  padding: .65rem 1rem !important;
  position: relative;
  transition: color .2s;
}
.sr-navbar .nav-link:hover,
.sr-navbar .nav-link.active { color: var(--sr-primary) !important; }
.sr-navbar .dropdown-menu {
  border: 0;
  box-shadow: var(--sr-shadow);
  border-radius: var(--sr-radius);
  padding: .5rem;
  min-width: 16rem;
}
.sr-navbar .dropdown-item {
  border-radius: 10px;
  padding: .55rem .9rem;
  font-weight: 500;
  display: flex; align-items: center; gap: .55rem;
}
.sr-navbar .dropdown-item i { color: var(--sr-primary); }
.sr-navbar .dropdown-item:hover, .sr-navbar .dropdown-item.active {
  background: var(--sr-soft); color: var(--sr-primary);
}
.sr-navbar .dropdown-submenu { position: relative; }
.sr-navbar .dropdown-submenu > .dropdown-menu {
  top: 0; left: 100%; margin-top: -.5rem;
}
@media (min-width: 992px){
  .sr-navbar .dropdown-submenu:hover > .dropdown-menu { display: block; }
  .sr-navbar .dropdown:hover > .dropdown-menu { display: block; }
}

/* ----- Buttons ----- */
.btn { font-weight: 600; border-radius: 10px; padding: .65rem 1.25rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent));
  border: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--sr-primary-dark), var(--sr-accent-dark));
}
.btn-outline-primary {
  border: 2px solid var(--sr-primary);
  color: var(--sr-primary);
}
.btn-outline-primary:hover {
  background: var(--sr-primary); color: #fff;
}
.btn-light { background:#fff; color: var(--sr-primary); border: 0; }
.btn-call {
  background: #25D366; color: #fff; border: 0;
}
.btn-call:hover { background: #1ebe57; color: #fff; }

/* ----- Hero ----- */
.sr-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(13,110,253,.18), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(6,182,212,.18), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.sr-hero .badge-pill {
  display:inline-flex; align-items:center; gap:.4rem;
  background: rgba(13,110,253,.1); color: var(--sr-primary);
  padding: .35rem .85rem; border-radius: 999px;
  font-weight: 600; font-size: .8rem;
}
.sr-hero h1 span { color: var(--sr-primary); }
.sr-hero .hero-image {
  background: linear-gradient(135deg, var(--sr-primary) 0%, var(--sr-accent) 100%);
  border-radius: var(--sr-radius-lg);
  padding: 2rem;
  box-shadow: var(--sr-shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sr-hero .hero-image::after{
  content:""; position:absolute; right:-50px; top:-50px;
  width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,.15);
}
.sr-hero .hero-image::before{
  content:""; position:absolute; left:-40px; bottom:-40px;
  width:160px; height:160px; border-radius:50%;
  background:rgba(255,255,255,.10);
}
.sr-hero .hero-stats { display:flex; gap:1.5rem; margin-top:1.5rem; flex-wrap: wrap; }
.sr-hero .hero-stats .stat { background:#fff; border:1px solid var(--sr-soft-2); border-radius: var(--sr-radius); padding:.85rem 1.1rem; box-shadow: var(--sr-shadow-sm); }
.sr-hero .hero-stats .stat .num { font-weight:800; color: var(--sr-primary); font-size:1.35rem; line-height:1; }
.sr-hero .hero-stats .stat .lbl { font-size:.8rem; color: var(--sr-muted); }

/* ----- Page hero (smaller, used on inner pages) ----- */
.sr-page-hero {
  background:
    radial-gradient(800px 350px at 100% -20%, rgba(13,110,253,.18), transparent 60%),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  padding: 3rem 0 2.25rem;
}
.sr-page-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: .75rem; }
.sr-page-hero .breadcrumb-item, .sr-page-hero .breadcrumb-item a { color: var(--sr-muted); font-size:.9rem; }
.sr-page-hero .breadcrumb-item a:hover { color: var(--sr-primary); }
.sr-page-hero .breadcrumb-item.active { color: var(--sr-dark); font-weight: 600; }
.sr-page-hero h1 { margin-bottom: .5rem; }
.sr-page-hero .lead { color: var(--sr-muted); font-size: 1.1rem; max-width: 720px; }

/* ----- Section headings ----- */
.sr-section { padding: 4rem 0; }
.sr-section-sm { padding: 2.75rem 0; }
.sr-section.bg-soft { background: var(--sr-soft); }
.sr-eyebrow {
  display:inline-block; color: var(--sr-primary);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
  margin-bottom: .5rem;
}

/* ----- Cards ----- */
.sr-card {
  background:#fff;
  border: 1px solid var(--sr-soft-2);
  border-radius: var(--sr-radius);
  padding: 1.5rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sr-shadow);
  border-color: rgba(13,110,253,.25);
}
.sr-card .icon-square {
  width: 52px; height: 52px;
  display:inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(13,110,253,.12), rgba(6,182,212,.12));
  color: var(--sr-primary);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.sr-card h3, .sr-card h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.sr-card p { font-size: .95rem; color: #475569; margin-bottom: .75rem; }
.sr-card .stretched-link { color: var(--sr-primary); font-weight: 600; }

/* ----- Service / value cards (gradient variant) ----- */
.sr-value-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--sr-radius);
  padding: 1.75rem 1.5rem;
  text-align:center;
  border: 1px solid var(--sr-soft-2);
  height: 100%;
}
.sr-value-card .icon-circle {
  width: 72px; height: 72px;
  display:inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent));
  color:#fff; border-radius:50%; font-size: 1.75rem; margin-bottom: 1rem;
  box-shadow: var(--sr-shadow);
}

/* ----- Process steps ----- */
.sr-step {
  display:flex; gap:1rem; align-items:flex-start;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--sr-soft-2);
}
.sr-step:last-child { border-bottom: 0; }
.sr-step .num {
  flex: 0 0 44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent));
  color:#fff; font-weight: 800;
}

/* ----- CTA banner ----- */
.sr-cta {
  background: linear-gradient(135deg, var(--sr-primary) 0%, var(--sr-accent) 100%);
  color:#fff;
  border-radius: var(--sr-radius-lg);
  padding: 2.5rem;
  text-align:center;
  position: relative; overflow: hidden;
}
.sr-cta::before, .sr-cta::after{
  content:""; position:absolute; border-radius:50%; background: rgba(255,255,255,.1);
}
.sr-cta::before{ width:260px; height:260px; right:-80px; top:-100px; }
.sr-cta::after{  width:200px; height:200px; left:-60px; bottom:-90px; }
.sr-cta h2, .sr-cta p { color:#fff; position: relative; }
.sr-cta .btn { position: relative; }

/* ----- Service grid item ----- */
.sr-service-tile {
  position: relative;
  background:#fff;
  border:1px solid var(--sr-soft-2);
  border-radius: var(--sr-radius);
  padding: 1.5rem;
  height: 100%;
  transition: all .2s;
}
.sr-service-tile:hover { transform: translateY(-4px); box-shadow: var(--sr-shadow); border-color: var(--sr-primary); }
.sr-service-tile .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(13,110,253,.1), rgba(6,182,212,.1));
  color: var(--sr-primary);
  border-radius: 12px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size: 1.75rem; margin-bottom: 1rem;
}
.sr-service-tile h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.sr-service-tile p { font-size: .9rem; color: #64748b; margin-bottom: .75rem; }
.sr-service-tile .arrow {
  display:inline-flex; align-items:center; gap:.35rem;
  color: var(--sr-primary); font-weight:600; font-size: .9rem;
}

/* ----- Areas list ----- */
.sr-area-pill {
  display:inline-flex; align-items:center; gap:.4rem;
  background:#fff; border:1px solid var(--sr-soft-2);
  padding: .5rem .9rem; border-radius: 999px;
  margin: .25rem; font-size:.9rem; color: var(--sr-dark);
  transition: all .15s;
}
.sr-area-pill i { color: var(--sr-primary); }
.sr-area-pill:hover { border-color: var(--sr-primary); color: var(--sr-primary); }

/* ----- Reviews ----- */
.sr-review {
  background:#fff; border:1px solid var(--sr-soft-2);
  border-radius: var(--sr-radius); padding: 1.5rem; height: 100%;
}
.sr-review .stars { color: #f59e0b; margin-bottom: .5rem; }
.sr-review .who { display:flex; align-items:center; gap:.75rem; margin-top:1rem; }
.sr-review .who .avatar {
  width:42px; height:42px; border-radius:50%;
  background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700;
}

/* ----- FAQ accordion ----- */
.accordion-item { border:1px solid var(--sr-soft-2); border-radius: 12px !important; margin-bottom:.75rem; overflow:hidden; }
.accordion-button { font-weight:600; color: var(--sr-dark); }
.accordion-button:not(.collapsed) { background: rgba(13,110,253,.08); color: var(--sr-primary); }
.accordion-button:focus { box-shadow: none; border-color: transparent; }

/* ----- Footer ----- */
.sr-footer {
  background: var(--sr-dark);
  color: #cbd5e1;
  padding: 4rem 0 1.25rem;
}
.sr-footer h5 { color:#fff; font-size: 1.05rem; margin-bottom: 1rem; font-weight:700; }
.sr-footer a { color: #cbd5e1; transition: color .15s; }
.sr-footer a:hover { color: #fff; }
.sr-footer .footer-brand { color:#fff; font-size: 1.4rem; font-weight: 800; display:flex; align-items:center; gap:.5rem; }
.sr-footer .footer-brand i { color: var(--sr-accent); }
.sr-footer ul { padding:0; list-style: none; }
.sr-footer ul li { margin-bottom: .5rem; }
.sr-footer ul li i { color: var(--sr-accent); margin-right: .4rem; }
.sr-footer .social a {
  width: 38px; height: 38px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 50%; background: rgba(255,255,255,.08);
  margin-right: .35rem;
}
.sr-footer .social a:hover { background: var(--sr-primary); color:#fff; }
.sr-footer hr { border-color: rgba(255,255,255,.08); }
.sr-footer .copyright { font-size:.85rem; color: #94a3b8; }

/* ----- Floating call/whatsapp buttons ----- */
.sr-float {
  position: fixed; right: 20px; bottom: 20px;
  display:flex; flex-direction: column; gap:.6rem; z-index: 1040;
}
.sr-float a {
  width: 56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 1.45rem;
  box-shadow: var(--sr-shadow);
  transition: transform .15s;
}
.sr-float a:hover { transform: scale(1.06); color:#fff; }
.sr-float .wa  { background: #25D366; }
.sr-float .tel { background: var(--sr-primary); }

/* ----- Image placeholders ----- */
.sr-img-ph {
  background:
    linear-gradient(135deg, #e0e7ff 0%, #cffafe 100%);
  border-radius: var(--sr-radius);
  display:flex; align-items:center; justify-content:center;
  color: var(--sr-primary);
  font-size: 3rem;
  min-height: 220px;
  border: 1px dashed rgba(13,110,253,.2);
  width: 100%;
}

/* ----- Misc ----- */
.text-primary-soft { color: var(--sr-primary) !important; }
.bg-primary-gradient { background: linear-gradient(135deg, var(--sr-primary), var(--sr-accent)); color:#fff; }
.shadow-soft { box-shadow: var(--sr-shadow); }
.rounded-xl { border-radius: var(--sr-radius); }

/* ----- Responsive tweaks ----- */
@media (max-width: 768px){
  .sr-hero { padding: 3rem 0 2rem; }
  .sr-section { padding: 2.75rem 0; }
  .sr-cta { padding: 1.75rem; }
  .sr-float a { width: 48px; height: 48px; font-size: 1.2rem; }
  .sr-topbar { font-size: .78rem; }
}
