/* =========================================
   VISIONARY VIRTUALS — BRAND OVERRIDES
   SAFE VERSION (Template-Compatible)
========================================= */

/* ========= BRAND COLOR SYSTEM ========= */

:root {
  --brand-primary: #262261;     /* Deep Navy */
  --brand-secondary: #2B3C8E;   /* Royal Blue */
  --brand-support: #006E65;     /* Deep Teal */
  --brand-accent: #00A99D;      /* Bright Teal */

  --brand-light: #eef2f7;       /* Light section background */
  --brand-white: #ffffff;
  --text-muted: #4b5563;

  /* Layout & elevation tokens */
  --radius-lg: 20px;
  --radius-md: 16px;
  --elev-1: 0 10px 30px rgba(0,0,0,0.05);
  --elev-2: 0 18px 40px rgba(0,0,0,0.08);
  --focus-ring: rgba(0,169,157,0.12);
  --border-muted: rgba(38,34,97,0.06);
}

/* ========= BASE ========== */

body {
  color: var(--text-muted);
  background: var(--brand-light);
}

/* Headings */

h1, h2, h3, h4, h5 {
  color: var(--brand-primary);
}

/* Links */

a {
  color: var(--brand-secondary);
}

a:hover {
  color: var(--brand-accent);
}

/* ========= NAVBAR ========= */

.site-navbar {
  background: var(--brand-white);
}

/* Float the navbar so it stays visible while scrolling */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  box-shadow: 0 6px 18px rgba(38,34,97,0.06);
}

.site-logo a,
.site-menu > li > a {
  color: var(--brand-primary);
}

.site-menu > li > a:hover {
  color: var(--brand-accent);
}

/* ========= SECTIONS ========= */

.bg-light {
  background-color: var(--brand-light) !important;
}

.section-title:after {
  background: var(--brand-accent);
}

/* ========= PRIMARY BUTTON ========= */

.btn-primary {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ========= CUSTOM CTA BUTTON SYSTEM ========= */

/* Primary CTA */

.btn-cta-primary {
  background: var(--brand-secondary);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 14px 32px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(43, 60, 142, 0.25);
  transition: 0.25s ease;
}

.btn-cta-primary:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

/* Secondary CTA */

.btn-cta-outline {
  color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  background: transparent;
  border-radius: 40px;
  padding: 14px 32px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-cta-outline:hover {
  background: var(--brand-accent);
  color: #ffffff;
}

/* ========= BUTTON SPACING ========= */

.btn + .btn {
  margin-left: 14px;
}

/* ========= CONTACT SECTION FIX ========= */

/* Prefer the class-based `.contact-section` rule defined later.
   Removed the ID-based rule to avoid conflicting backgrounds. */

/* ========= FOOTER ========= */

.footer {
  background: var(--brand-primary);
  color: var(--brand-white);
}

.footer a {
  color: var(--brand-accent);
}

.footer a:hover {
  color: var(--brand-support);
}

/* ========= SVG / IMG LOGO HOVER ========= */

.site-logo svg,
.site-logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-logo:hover svg,
.site-logo:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* Force friendly default transitions for AOS data attributes */
[data-aos] {
  opacity: 0;
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Accessibility: reduced motion & focus styles ===== */
@media (prefers-reduced-motion: reduce) {
  [data-aos],
  .site-logo img,
  .service-card,
  .pricing-card,
  .btn-cta-primary,
  .btn-cta-outline {
    transition: none !important;
    animation: none !important;
  }
}

/* Visible focus for keyboard users */
:focus {
  outline: 3px solid rgba(0,169,157,0.18);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* Improve focus styles on interactive elements */
.btn-cta-primary:focus,
.btn-cta-outline:focus,
.site-menu a:focus,
.site-menu-toggle:focus {
  box-shadow: 0 0 0 4px var(--focus-ring);
  transform: none;
}

/* ===== PRICING CARD ===== */

.pricing-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-2);
  transition: 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elev-2);
}

/* Header */

.pricing-header h3 {
  font-size: 2.5rem;
  color: var(--brand-primary);
  margin-bottom: 5px;
}

.price-small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-subtitle {
  color: var(--brand-accent);
  font-weight: 600;
}

/* Features */

.pricing-features {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.pricing-features li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.pricing-features li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand-accent);
}

/* Setup */

.setup-section h5 {
  margin-top: 10px;
  color: var(--brand-primary);
}

.setup-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-secondary);
}

.installment-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Investment Summary */

.investment-summary h5 {
  margin-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-row strong {
  color: var(--brand-primary);
}

/* CTA spacing */

.pricing-cta {
  margin-top: 30px;
}

/* ===== VALUE SECTION ===== */

.value-section {
  background: var(--brand-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Title */

.value-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--brand-primary);
}

/* Lead paragraph */

.value-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Highlight revenue line */

.value-highlight {
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Closing line */

.value-closing {
  margin-top: 10px;
  margin-bottom: 35px;
  color: var(--text-muted);
}

/* CTA container */

.value-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== SERVICE CARDS ===== */

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  height: 100%;
  box-shadow: var(--elev-1);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--elev-2);
}

.service-card h4 {
  color: var(--brand-primary);
  margin-bottom: 10px;
}

/* ===== CONTACT SECTION ===== */

.contact-section {
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Contact cards */

.contact-card {
  background: var(--brand-light);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--elev-1);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elev-2);
}

.contact-card h5 {
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.contact-card a {
  font-weight: 600;
  color: var(--brand-secondary);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--brand-accent);
}

/* Note text */

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== FAQ / Accordion ===== */
.accordion .card {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--elev-1);
  border: 1px solid var(--border-muted);
}

.accordion-header .btn {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--brand-primary);
  font-weight: 600;
  padding: 18px 20px;
  background: var(--brand-light);
  border: 0;
}

.accordion .card-body {
  background: var(--brand-white);
  padding: 18px 20px;
  color: var(--text-muted);
}

.accordion .btn:after {
  content: '\25BE';
  float: right;
  transition: transform 0.25s ease;
  color: var(--brand-secondary);
}

.accordion .collapse.show + .card-body,
.accordion .btn[aria-expanded="true"]:after {
  transform: rotate(180deg);
}

/* Expanded state uses global brand color */
.accordion .btn[aria-expanded="true"] {
  background: var(--brand-secondary);
  color: var(--brand-white);
}
.accordion .btn[aria-expanded="true"]:after {
  color: var(--brand-white);
}
