/*
Theme Name: NRA CyberTech
Theme URI: 
Author: Developer
Author URI: 
Description: Enterprise Cybersecurity Custom Theme
Version: 1.0.0
License: Proprietary
Text Domain: nracybertech
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-footer: #1e293b;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --accent-green: #059669;
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --border-light: #e2e8f0;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  padding-top: 80px;
}

a {
  text-decoration: none;
  transition: color 0.3s;
}

/* =======================================
TYPOGRAPHY
======================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

/* =======================================
NAVIGATION (BELARC STYLE)
======================================= */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background-color: var(--bg-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand svg {
  width: 28px;
  height: 28px;
  fill: var(--text-dark);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-green);
}

.nav-cta {
  background-color: var(--accent-red);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background-color: var(--accent-red-hover);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  flex-direction: column;
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 1rem 0;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media(max-width: 900px) {
  .nav-menu { display: none; }
  .hamburger { display: block; }
}

/* =======================================
HERO SPLIT SECTION WITH SLIDER
======================================= */
.hero {
  background-color: var(--bg-primary);
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-graphics {
  background: var(--bg-secondary);
  border-radius: 8px;
  height: 400px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

/* Slider Styles */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-red {
  background-color: var(--accent-red);
  color: #fff;
}

.btn-red:hover {
  background-color: var(--accent-red-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
}

@media(max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-graphics { display: none; }
}

/* =======================================
SERVICES GRID (BELARC STYLE)
======================================= */
.body-section {
  padding: 5rem 2rem;
  background-color: var(--bg-secondary);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.s-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  stroke: var(--text-dark);
  stroke-width: 1.5;
  fill: none;
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.learn-link {
  color: var(--accent-green);
  font-weight: 600;
}

.learn-link:hover {
  text-decoration: underline;
}

@media(max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* =======================================
SPLIT CONTENT SECTION
======================================= */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.split-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.content-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.shadow-img {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}

@media(max-width: 900px) {
  .split-content { grid-template-columns: 1fr; }
}

/* =======================================
GRID 3 COLUMNS
======================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media(max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* =======================================
FOOTER (BELARC STYLE)
======================================= */
.site-footer {
  background-color: var(--bg-footer);
  color: #fff;
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

@media(max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =======================================
UTILITIES
======================================= */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =======================================
PAGE LEVEL STYLES (vapt, about, training, etc.)
======================================= */
.page-hero {
  background-color: var(--bg-secondary);
  padding: 6rem 2rem 4rem;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-inner h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.page-hero-inner p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.page-content {
  padding: 5rem 2rem;
  background-color: var(--bg-primary);
}

.content-inner {
  max-width: 1100px;
  margin: 0 auto;
}