/* ==========================================================================
   AP Digital Solutions - Main Stylesheet (Modern Tech Edition)
   Brand: AP Digital Solutions
   Industry: IT Services (Software Installation & Computer Consultancy)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0f172a;        /* Slate 900 */
  --primary-dark: #020617;   /* Slate 950 */
  --primary-light: #1e293b;  /* Slate 800 */
  --accent: #2563eb;         /* Royal Tech Blue */
  --accent-hover: #1d4ed8;   /* Darker Blue */
  --accent-glow: rgba(37, 99, 235, 0.15);
  --accent-light: #eff6ff;   /* Blue 50 */
  --accent-cyan: #06b6d4;    /* Sky/Cyan */
  --accent-indigo: #4f46e5;
  --text-main: #334155;      /* Slate 700 */
  --text-dark: #0f172a;      /* Slate 900 */
  --text-muted: #64748b;     /* Slate 500 */
  --text-light: #94a3b8;     /* Slate 400 */
  --bg-main: #ffffff;
  --bg-light: #f8fafc;       /* Slate 50 */
  --bg-alt: #f1f5f9;         /* Slate 100 */
  --border-color: #e2e8f0;   /* Slate 200 */
  --border-light: #f1f5f9;
  
  /* Status & Accents */
  --success: #10b981;
  --warning: #f59e0b;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --glow-shadow: 0 0 40px -10px rgba(37, 99, 235, 0.25);
  --header-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);

  /* Typography & Transitions */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-bounce: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-width: 1200px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--header-shadow);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Text Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-badge {
  transform: translateY(-2px) rotate(-3deg);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-full);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  border-radius: var(--radius-xs);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-dark);
  border-color: var(--border-color);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: #cbd5e1;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-glow {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.badge-popular {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.15) 100%);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   Section Headers & Common Layouts
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem auto;
}

.section-header .badge {
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Hero Section (Enhanced Tech Aesthetic)
   ========================================================================== */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* Subtle tech grid backdrop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content .badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin-bottom: 1.35rem;
}

.hero-title .gradient-text {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-item svg {
  color: var(--success);
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* Hero Tech Graphic / Interactive Simulation Card */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(6, 182, 212, 0) 70%);
  top: -40px;
  right: -40px;
  z-index: 0;
  filter: blur(30px);
  pointer-events: none;
}

.tech-card {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.tech-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  background-color: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tech-services-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.preview-row:hover {
  background-color: #ffffff;
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.preview-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0f2fe 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-icon svg {
  width: 22px;
  height: 22px;
}

.preview-text {
  flex-grow: 1;
}

.preview-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.preview-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.preview-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */
.stats-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
  box-shadow: var(--card-shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Feature / Service Cards Grid
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0f2fe 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

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

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.service-features li svg {
  color: var(--accent);
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--accent);
}

.service-link:hover {
  gap: 0.6rem;
  color: var(--accent-hover);
}

/* ==========================================================================
   Technology / Environment Badges Bar
   ========================================================================== */
.tech-stack-section {
  background-color: var(--bg-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tech-stack-header {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.tech-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.tech-pill svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ==========================================================================
   About Section Grid (Split)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast);
}

.highlight-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.highlight-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-weight: 700;
}

.highlight-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-feature-box {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  position: relative;
}

.about-feature-box h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.check-list li svg {
  color: var(--success);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Process / Workflow Steps (4-Step Grid)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.process-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--card-shadow-hover);
}

.process-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-light);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.process-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--card-shadow-hover);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0f2fe 100%);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 10% 20%, #1e3a8a 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -50px;
  filter: blur(40px);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary:hover {
  background-color: var(--bg-light);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-banner .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.star-rating {
  display: flex;
  gap: 0.3rem;
  color: #f59e0b;
  margin-bottom: 1.35rem;
}

.star-rating svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 1.025rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-light);
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light) 0%, #cbd5e1 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.client-details h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.client-details span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.65rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.65rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.35rem;
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */
.page-header {
  background: 
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
    linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
  padding: 4.5rem 0 4rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 2.85rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================================================
   Contact Page Styles (NO FORMS - Direct Info)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--card-shadow-hover);
}

.contact-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light) 0%, #e0f2fe 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.contact-icon svg {
  width: 32px;
  height: 32px;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.contact-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  word-break: break-word;
}

.contact-info-banner {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  margin-top: 3.5rem;
  box-shadow: var(--card-shadow);
}

.info-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.15rem;
}

.info-item-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item-icon svg {
  width: 26px;
  height: 26px;
}

.info-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.info-item-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Policy & Legal Content Layouts
   ========================================================================== */
.policy-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--card-shadow);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-content h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-light);
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.15rem;
}

.policy-content ul,
.policy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.policy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-callout {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.policy-callout p {
  margin-bottom: 0;
  font-size: 0.925rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #94a3b8;
  padding-top: 4.75rem;
  padding-bottom: 2.5rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 3.25rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: 0.925rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.925rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
}

.footer-bottom-links a {
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.65rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .policy-card {
    padding: 2rem 1.5rem;
  }

  .cta-banner {
    padding: 3rem 1.5rem;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}
