/*
Theme Name:  ROAGUARD Security
Theme URI:   https://roaguardng.com
Author:      ROAGUARD Security
Author URI:  https://roaguardng.com
Description: Premium one-page company profile theme for ROAGUARD Security. Features a dark navy design with sky-blue accents, animated counters, scroll-reveal effects, and responsive layout across all devices.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roaguard
Tags:        one-page, dark, corporate, security, responsive
*/

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #090f1e;
  color: #ffffff;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  --navy:       #090f1e;
  --navy2:      #1B3A5C;
  --sky:        #6DB4D8;
  --sky2:       #3b82f6;
  --white:      #ffffff;
  --white70:    rgba(255,255,255,0.70);
  --white55:    rgba(255,255,255,0.55);
  --white40:    rgba(255,255,255,0.40);
  --sky-border: rgba(109,180,216,0.30);
  --sky-bg:     rgba(109,180,216,0.14);
}

/* ── UTILITY ──────────────────────────────────────────────── */
.rg-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.rg-text-sky  { color: var(--sky); }
.rg-label-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  background: rgba(109,180,216,0.14);
  border: 1px solid var(--sky-border);
  color: var(--sky);
}
.rg-section-header { text-align: center; margin-bottom: 56px; }
.rg-section-header h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800; color: #fff;
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
.rg-section-header p {
  font-size: 15px; line-height: 1.6;
  color: var(--white55); max-width: 540px; margin: 0 auto;
}
.rg-gradient-text {
  background: linear-gradient(135deg, var(--sky), var(--sky2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rg-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  padding: 14px 28px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--sky2));
  color: var(--navy);
  box-shadow: 0 8px 28px rgba(109,180,216,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; border: none;
}
.rg-btn-primary:hover { transform: scale(1.04); box-shadow: 0 12px 36px rgba(109,180,216,0.55); color: var(--navy); }
.rg-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  padding: 14px 28px; border-radius: 12px;
  border: 1px solid rgba(109,180,216,0.4);
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: background 0.2s ease;
  cursor: pointer;
}
.rg-btn-outline:hover { background: rgba(109,180,216,0.1); color: #fff; }

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.rg-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rg-fade-up.rg-visible { opacity: 1; transform: translateY(0); }
.rg-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.rg-stagger > *.rg-visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ───────────────────────────────────────────────── */
#rg-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
#rg-navbar.rg-scrolled {
  background: rgba(9,15,30,0.95);
  border-bottom-color: rgba(109,180,216,0.12);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.rg-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  max-width: 1280px; margin: 0 auto;
}
.rg-nav-logo { height: 40px; width: auto; object-fit: contain; }
.rg-nav-links { display: flex; align-items: center; gap: 32px; }
.rg-nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--white70);
  transition: color 0.2s;
}
.rg-nav-links a:hover { color: var(--sky); }
.rg-nav-cta {
  font-size: 13px; font-weight: 700;
  padding: 10px 20px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sky), var(--sky2));
  color: var(--navy);
  transition: transform 0.2s ease;
}
.rg-nav-cta:hover { transform: scale(1.05); color: var(--navy); }
.rg-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: #fff; font-size: 24px; line-height: 1; padding: 4px;
}
.rg-mobile-menu {
  display: none; flex-direction: column; gap: 16px;
  padding: 0 20px 20px;
  background: rgba(9,15,30,0.98);
  border-bottom: 1px solid rgba(109,180,216,0.15);
}
.rg-mobile-menu.rg-open { display: flex; }
.rg-mobile-menu a { font-size: 14px; color: var(--white70); font-weight: 500; }
@media (max-width: 768px) {
  .rg-nav-links, .rg-nav-cta { display: none; }
  .rg-hamburger { display: block; }
}

/* ── HERO ─────────────────────────────────────────────────── */
#rg-hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.rg-hero-bg { position: absolute; inset: 0; }
.rg-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rg-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(9,15,30,0.93) 0%, rgba(9,15,30,0.72) 55%, rgba(9,15,30,0.9) 100%);
}
.rg-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(109,180,216,0.1) 0%, transparent 60%);
}
.rg-hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(109,180,216,1) 1px,transparent 1px),linear-gradient(90deg,rgba(109,180,216,1) 1px,transparent 1px);
  background-size: 60px 60px;
}
.rg-hero-content {
  position: relative; z-index: 2;
  max-width: 820px; padding: 130px 20px 96px;
}
.rg-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(109,180,216,0.12);
  border: 1px solid rgba(109,180,216,0.35);
  color: var(--sky);
}
.rg-hero-title {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.rg-hero-desc {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 620px; margin-bottom: 40px;
}
.rg-hero-desc strong { color: rgba(255,255,255,0.9); font-weight: 700; }
.rg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rg-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  animation: rgScrollBounce 1.6s ease-in-out infinite;
}
@keyframes rgScrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(5px); }
}

/* ── STATS ────────────────────────────────────────────────── */
#rg-stats {
  background: linear-gradient(135deg,rgba(27,58,92,0.55),rgba(109,180,216,0.06));
  border-top: 1px solid rgba(109,180,216,0.15);
  border-bottom: 1px solid rgba(109,180,216,0.15);
}
.rg-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  padding: 32px 20px; gap: 24px;
  max-width: 1280px; margin: 0 auto;
}
.rg-stat-number {
  font-size: clamp(28px,4vw,40px); font-weight: 900;
  color: var(--sky); line-height: 1;
  display: block; text-align: center;
}
.rg-stat-label {
  display: block; text-align: center;
  font-size: 11px; margin-top: 6px;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 640px) { .rg-stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ── ABOUT ────────────────────────────────────────────────── */
#rg-about { padding: 96px 0; }
.rg-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.rg-about-text h2 {
  font-size: clamp(26px,3.5vw,36px); font-weight: 800;
  margin: 12px 0 20px; line-height: 1.2; letter-spacing: -0.02em;
}
.rg-about-text p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.rg-check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.rg-check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
}
.rg-check-item svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }
.rg-about-img-wrap { position: relative; }
.rg-about-img { border-radius: 24px; overflow: hidden; height: 420px; }
.rg-about-img img { width:100%; height:100%; object-fit:cover; filter:brightness(0.72) saturate(0.85) hue-rotate(200deg); }
.rg-about-img-overlay {
  position:absolute; inset:0; border-radius:24px;
  background:linear-gradient(to top,rgba(9,15,30,0.65) 0%,transparent 60%);
}
.rg-about-badge {
  position:absolute; bottom:-20px; left:-20px;
  display:flex; align-items:center; gap:12px;
  padding:16px 20px; border-radius:16px;
  background:rgba(9,15,30,0.95); border:1px solid rgba(109,180,216,0.35);
  box-shadow:0 12px 40px rgba(0,0,0,0.5);
  animation:rgFloatBadge 3s ease-in-out infinite;
}
@keyframes rgFloatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.rg-badge-icon {
  width:42px; height:42px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--sky),var(--sky2));
}
.rg-badge-icon svg { width:20px; height:20px; color:var(--navy); }
.rg-badge-title { font-weight:700; font-size:14px; color:#fff; }
.rg-badge-sub   { font-size:12px; color:var(--sky); }
.rg-about-glow {
  position:absolute; top:-20px; right:-20px;
  width:144px; height:144px; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle,rgba(109,180,216,0.12),transparent 70%);
}
@media (max-width: 768px) {
  .rg-about-grid { grid-template-columns:1fr; }
  .rg-about-img  { height:280px; }
  .rg-about-badge { bottom:-15px; left:10px; }
}

/* ── SERVICES ─────────────────────────────────────────────── */
#rg-services { padding:96px 0; background:rgba(255,255,255,0.018); }
.rg-services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.rg-service-card {
  border-radius:20px; overflow:hidden;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(109,180,216,0.18);
  display:flex; flex-direction:column; position:relative;
  transition:transform 0.3s ease, border-color 0.3s ease;
}
.rg-service-card::before {
  content:''; position:absolute; inset-inline:0; top:0; height:1px;
  background:linear-gradient(to right,transparent,rgba(109,180,216,0.6),transparent);
}
.rg-service-card:hover { transform:translateY(-4px); border-color:rgba(109,180,216,0.4); }
.rg-service-img { position:relative; height:176px; overflow:hidden; }
.rg-service-img img {
  width:100%; height:100%; object-fit:cover;
  filter:brightness(0.65) saturate(0.8) hue-rotate(195deg);
  transition:transform 0.7s ease;
}
.rg-service-card:hover .rg-service-img img { transform:scale(1.1); }
.rg-service-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom,transparent 30%,rgba(11,21,43,0.9) 100%);
}
.rg-service-label { position:absolute; bottom:12px; left:16px; display:flex; align-items:center; gap:8px; }
.rg-service-icon {
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(109,180,216,0.25); border:1px solid rgba(109,180,216,0.4);
}
.rg-service-icon svg { width:17px; height:17px; color:var(--sky); }
.rg-service-title { font-weight:700; font-size:15px; color:#fff; }
.rg-service-body  { padding:20px; flex:1; }
.rg-service-list  { display:flex; flex-direction:column; gap:8px; }
.rg-service-list li {
  display:flex; align-items:flex-start; gap:8px;
  font-size:13px; line-height:1.5; color:rgba(255,255,255,0.65);
}
.rg-service-list svg { width:13px; height:13px; margin-top:2px; flex-shrink:0; color:var(--sky); }
@media (max-width:1024px) { .rg-services-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px)  { .rg-services-grid { grid-template-columns:1fr; } }

/* ── WHY ──────────────────────────────────────────────────── */
#rg-why { padding:96px 0; }
.rg-why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.rg-why-card {
  display:flex; gap:16px; padding:20px; border-radius:16px;
  border:1px solid rgba(109,180,216,0.12);
  transition:background 0.25s ease;
}
.rg-why-card:hover { background:rgba(255,255,255,0.05); }
.rg-why-icon {
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(109,180,216,0.25),rgba(27,58,92,0.5));
  border:1px solid rgba(109,180,216,0.3);
  transition:transform 0.25s ease;
}
.rg-why-card:hover .rg-why-icon { transform:scale(1.1); }
.rg-why-icon svg { width:20px; height:20px; color:var(--sky); }
.rg-why-text h4 { font-size:14px; font-weight:700; color:#fff; margin-bottom:6px; }
.rg-why-text p  { font-size:12px; line-height:1.6; color:rgba(255,255,255,0.55); }
@media (max-width:900px) { .rg-why-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) { .rg-why-grid { grid-template-columns:1fr; } }

/* ── COMMITMENT ───────────────────────────────────────────── */
#rg-commitment { position:relative; padding:96px 0; overflow:hidden; }
.rg-commit-bg   { position:absolute; inset:0; }
.rg-commit-bg img { width:100%; height:100%; object-fit:cover; filter:brightness(0.28) saturate(0.55) hue-rotate(200deg); }
.rg-commit-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(9,15,30,0.88),rgba(27,58,92,0.82));
}
.rg-commit-content {
  position:relative; z-index:2; text-align:center;
  max-width:900px; margin:0 auto; padding:0 20px;
}
.rg-commit-icon { margin:0 auto 24px; }
.rg-commit-icon svg { width:44px; height:44px; color:var(--sky); }
.rg-commit-content blockquote {
  font-size:clamp(20px,3vw,30px); font-weight:700; line-height:1.5;
  color:#fff; margin-bottom:24px;
}
.rg-commit-attr {
  font-size:11px; font-weight:700; letter-spacing:0.25em;
  text-transform:uppercase; color:rgba(255,255,255,0.4);
}

/* ── CONTACT ──────────────────────────────────────────────── */
#rg-contact { padding:96px 0; }
.rg-contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.rg-contact-card {
  padding:24px; border-radius:20px; position:relative; overflow:hidden;
  background:rgba(255,255,255,0.03); border:1px solid rgba(109,180,216,0.18);
  transition:background 0.25s ease;
}
.rg-contact-card::before {
  content:''; position:absolute; inset-inline:0; top:0; height:1px;
  background:linear-gradient(to right,transparent,rgba(109,180,216,0.5),transparent);
}
.rg-contact-card:hover { background:rgba(255,255,255,0.055); }
.rg-contact-icon {
  width:48px; height:48px; border-radius:14px; margin-bottom:20px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(109,180,216,0.14); border:1px solid rgba(109,180,216,0.3);
}
.rg-contact-icon svg { width:22px; height:22px; color:var(--sky); }
.rg-contact-label {
  font-size:11px; font-weight:700; letter-spacing:0.15em; text-transform:uppercase;
  color:rgba(255,255,255,0.38); margin-bottom:10px; display:block;
}
.rg-contact-line { font-size:14px; font-weight:500; color:rgba(255,255,255,0.8); margin-bottom:4px; display:block; }
@media (max-width:768px) { .rg-contact-grid { grid-template-columns:1fr; } }

/* ── FOOTER ───────────────────────────────────────────────── */
#rg-footer { border-top:1px solid rgba(109,180,216,0.1); background:rgba(0,0,0,0.28); }
.rg-footer-inner {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px; padding:32px 20px;
  max-width:1280px; margin:0 auto;
}
.rg-footer-logo { height:36px; width:auto; object-fit:contain; }
.rg-footer-copy { font-size:12px; color:rgba(255,255,255,0.3); }
.rg-footer-tag  { font-size:11px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:var(--sky); }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(109,180,216,0.25); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:rgba(109,180,216,0.5); }

/* ── WORDPRESS ADMIN BAR OFFSET ──────────────────────────── */
.admin-bar #rg-navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar #rg-navbar { top: 46px; } }
