/*
Theme Name: Radhika CCTV Camera Services Pvt Ltd
Theme URI: https://radhikacctv.com/
Author: RADHIKA CCTV CAMERA SERVICES PRIVATE LIMITED
Description: 4-Page WordPress Theme (Home, Services, About Us, Contact Us) for RADHIKA CCTV CAMERA SERVICES PRIVATE LIMITED. Features 4-Slide Hero Carousel, 4 Core Services with local images, Camera Brands (CP Plus, Hikvision, Trueview, Nexiview), Partner Logo Showcase, Google Tag (GTM-P73XQQ7C) & Lead Conversion Tracking, 100/100 CWV, and SEO/GEO/AEO Schema.
Version: 9.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: radhika-cctv-pvt-ltd
*/

:root {
  --dark: #070b14;
  --navy: #0f172a;
  --blue: #0284c7;
  --green: #16a34a;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: #f8fafc; line-height: 1.5; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--blue); transition: 0.2s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.topbar { background: var(--dark); color: #cbd5e1; font-size: 0.78rem; padding: 0.5rem 0; border-bottom: 1px solid #1e293b; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(15,23,42,0.04); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.25rem; flex-wrap: wrap; gap: 1rem; }
.brand { font-weight: 900; font-size: 1.05rem; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }
.brand span { color: var(--blue); display: block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.nav a.link { padding: 0.5rem 0.9rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; color: #334155; }
.nav a.link:hover, .nav a.link.active { background: #e0f2fe; color: var(--blue); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.25rem; border-radius: 10px; font-weight: 700; font-size: 0.88rem; cursor: pointer; border: none; text-align: center; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0369a1; color: #fff; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #15803d; color: #fff; }

.hero { background: linear-gradient(135deg, #070b14 0%, #0f172a 60%, #0c4a6e 100%); color: #fff; padding: 2.75rem 0 3.25rem; }
.slide { display: none; grid-template-columns: 1.05fr 0.95fr; gap: 2.25rem; align-items: center; animation: fadeSlide 0.45s ease; }
.slide.active { display: grid; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.badge { display: inline-block; background: rgba(56,189,248,0.16); color: #38bdf8; border: 1px solid rgba(56,189,248,0.35); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 99px; margin-bottom: 0.85rem; }
.hero h1 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); font-weight: 800; line-height: 1.15; margin-bottom: 0.8rem; color: #fff; }
.hero p { color: #cbd5e1; font-size: 0.98rem; margin-bottom: 1.4rem; max-width: 540px; }
.img-frame { position: relative; border-radius: 18px; overflow: hidden; border: 2px solid rgba(56,189,248,0.4); box-shadow: 0 18px 36px rgba(0,0,0,0.45); background: #111827; }
.img-frame img { width: 100%; height: 320px; object-fit: cover; }
.img-cap { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(7,11,20,0.92), transparent); padding: 1.4rem 1rem 0.75rem; font-size: 0.8rem; font-weight: 700; color: #38bdf8; }
.controls { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); }
.dots { display: flex; gap: 0.45rem; }
.dot { width: 28px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.25); border: none; cursor: pointer; }
.dot.active { width: 44px; background: #38bdf8; }
.arrows { display: flex; gap: 0.5rem; }
.arr { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.22); width: 36px; height: 36px; border-radius: 9px; font-weight: 700; cursor: pointer; }
.arr:hover { background: var(--blue); }

.sec { padding: 3.25rem 0; }
.sec-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.sec-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--blue); background: #e0f2fe; padding: 0.25rem 0.65rem; border-radius: 6px; margin-bottom: 0.4rem; }
.sec-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; margin-bottom: 1.5rem; color: var(--text); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 1.35rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: center; }

.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,23,42,0.05); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card-img { position: relative; height: 200px; background: #f1f5f9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-tag { position: absolute; top: 10px; left: 10px; background: rgba(7,11,20,0.85); color: #38bdf8; font-size: 0.68rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 6px; }
.card-body { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.35rem; }
.card p { font-size: 0.84rem; color: var(--muted); margin-bottom: 1rem; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.brand-pill { background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1rem; text-align: center; font-weight: 900; font-size: 1.05rem; color: var(--navy); letter-spacing: 0.03em; box-shadow: 0 2px 8px rgba(15,23,42,0.04); }
.brand-pill span { display: block; font-size: 0.74rem; font-weight: 600; color: var(--blue); margin-top: 0.25rem; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.partner-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; min-height: 120px; box-shadow: 0 2px 8px rgba(15,23,42,0.04); transition: transform 0.2s; }
.partner-card:hover { transform: translateY(-3px); }
.partner-logo-img { width: 100%; height: 68px; object-fit: contain; border-radius: 8px; }
.partner-name { font-weight: 800; font-size: 0.82rem; color: var(--navy); text-align: center; letter-spacing: 0.02em; }

.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.tbl th, .tbl td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.tbl th { background: #f8fafc; width: 36%; color: var(--muted); font-weight: 700; }
.form-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
.fg { margin-bottom: 0.9rem; }
.fg label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.3rem; color: #334155; }
.fc { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 0.9rem; }
.form-msg { margin-top: 0.75rem; font-size: 0.82rem; font-weight: 700; color: var(--green); display: none; }

@media (max-width: 860px) { .slide { grid-template-columns: 1fr; } .img-frame img { height: 230px; } }
