/*
 * Formal visual refresh overrides for Net&Sec website.
 * These styles keep the existing markup intact while aligning the UI with the
 * institutional colour palette from the corporate logo (#0098DA, black and soft neutrals).
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-primary: #0098da;
  --brand-primary-dark: #007ab1;
  --brand-dark: #0b0d11;
  --brand-text: #1c1f24;
  --brand-muted: #5f6c7b;
  --brand-surface: #ffffff;
  --brand-surface-alt: #f4f6f8;
  --brand-border: rgba(12, 34, 56, 0.12);
  --brand-shadow: 0 18px 40px rgba(9, 30, 66, 0.08);
  --content-max-width: 1140px;
  --content-side-padding: clamp(1.5rem, 4vw, 3.5rem);
}

html,
body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--brand-surface-alt);
  color: var(--brand-text);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

strong {
  color: var(--brand-dark);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

/* Layout alignment */
.home-container,
.about-page,
.services-page,
.contact-page {
  padding-left: var(--content-side-padding);
  padding-right: var(--content-side-padding);
}

.hero-section,
.highlights-section,
.tech-section,
.story-section,
.team-section,
.values-section,
.about-cta,
.services-hero,
.featured-services,
.plans-section,
.services-cta,
.contact-hero,
.form-container,
.contact-page .alternative-contact {
  width: min(100%, var(--content-max-width));
  margin-left: auto;
  margin-right: auto;
}

.story-section,
.team-section,
.values-section,
.about-cta,
.featured-services,
.plans-section,
.services-cta,
.form-container {
  border-radius: 24px;
}

/* Copy alignment */
.hero-content,
.hero-section,
.highlights-section,
.tech-section,
.story-section,
.team-section,
.values-section,
.about-cta,
.services-hero,
.featured-services,
.plans-section,
.services-cta,
.contact-hero,
.form-container,
.contact-page .alternative-contact {
  text-align: left;
}

.section-title,
.section-subtitle,
.hero-subtitle,
.service-description,
.timeline-content p,
.story-section p,
.about-hero p,
.services-hero p,
.contact-hero p,
.alternative-contact p,
.plan-card p,
.value-card p,
.team-member p,
.highlight-card p {
  max-width: 72ch;
}

.section-subtitle,
.hero-subtitle,
.service-description,
.timeline-content p,
.story-section p,
.about-hero p,
.services-hero p,
.contact-hero p,
.alternative-contact p,
.plan-card p,
.value-card p,
.team-member p,
.highlight-card p {
  margin-left: 0;
}

.section-subtitle {
  color: var(--brand-muted);
  margin-right: 0;
}

p,
li {
  line-height: 1.7;
}

ul,
ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Header */
.futuristic-header {
  background: var(--brand-surface);
  color: var(--brand-text);
  padding: 1.5rem clamp(2rem, 7vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow);
  backdrop-filter: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.holographic-logo {
  height: 48px;
  filter: none;
  transition: transform 0.2s ease;
}

.holographic-logo:hover {
  filter: none;
  transform: translateY(-2px);
}

.tagline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-muted);
  font-weight: 600;
}

.glow-nav {
  display: flex;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.nav-link {
  color: var(--brand-text);
  font-weight: 600;
  text-transform: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  background: var(--brand-primary);
  bottom: -6px;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-primary);
}

.cta-button {
  background: var(--brand-primary);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
}

/* Home */
.home-container,
.about-page,
.services-page,
.contact-page {
  background: var(--brand-surface-alt);
  color: var(--brand-text);
}

.hero-section {
  background: linear-gradient(120deg, var(--brand-surface) 0%, #eef3f7 100%);
  border-radius: 28px;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 6vw, 5rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--brand-shadow);
}

.hero-section::before {
  display: none;
}

.hero-content {
  z-index: 1;
}

.glowing-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
}

.gradient-text,
.cyber-text {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--brand-primary);
}

.cyber-text {
  color: var(--brand-dark);
}

.cyber-text::after {
  display: none;
}

.hero-subtitle {
  color: var(--brand-muted);
  max-width: 640px;
}

.cta-buttons {
  gap: 1rem;
}

.neon-button {
  background: var(--brand-primary);
  color: #ffffff;
  padding: 0.9rem 1.9rem;
  border-radius: 12px;
  box-shadow: none;
  border: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.neon-button:hover,
.neon-button:focus {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: none;
}

.neon-button .hover-effect {
  display: none;
}

.outline-button {
  background: var(--brand-surface);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  padding: 0.9rem 1.9rem;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.outline-button:hover,
.outline-button:focus {
  background: rgba(0, 152, 218, 0.12);
  color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-circle {
  width: clamp(240px, 40vw, 360px);
  height: clamp(240px, 40vw, 360px);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: radial-gradient(circle at center, rgba(0, 152, 218, 0.18), rgba(0, 152, 218, 0));
  filter: none;
  opacity: 1;
  animation: none;
}

.highlights-section {
  background: transparent;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 6vw, 6rem);
}

.highlight-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--brand-shadow);
  color: var(--brand-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(9, 30, 66, 0.12);
  border-color: rgba(0, 152, 218, 0.3);
}

.card-icon {
  background: rgba(0, 152, 218, 0.12);
  color: var(--brand-primary);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.tech-section {
  background: transparent;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 6rem);
}

.tech-section h2 {
  color: var(--brand-dark);
}

.tech-grid {
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.tech-item {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: var(--brand-shadow);
  font-weight: 600;
}

.tech-item img {
  max-width: 120px;
  filter: none;
}

/* About */
.about-hero {
  background: linear-gradient(135deg, var(--brand-surface) 0%, #e8f0f6 100%);
  color: var(--brand-dark);
  height: auto;
  min-height: 360px;
  border-bottom: none;
  box-shadow: var(--brand-shadow);
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
  border-radius: 24px;
}

.story-section,
.team-section,
.values-section,
.about-cta {
  background: var(--brand-surface);
  border-radius: 24px;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--brand-shadow);
}

.timeline::before {
  left: 24px;
  background: linear-gradient(to bottom, rgba(0, 152, 218, 0.6), rgba(0, 152, 218, 0));
}

.timeline-year {
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 999px;
}

.timeline-content {
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  box-shadow: none;
}

.timeline-content:hover {
  border-color: rgba(0, 152, 218, 0.4);
  box-shadow: var(--brand-shadow);
}

.client-logo {
  filter: none;
}

.office-photo img {
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow);
  border-radius: 18px;
}

.location-tag {
  background: rgba(0, 17, 27, 0.82);
  border: none;
  color: #ffffff;
  border-radius: 999px;
}

.section-title {
  color: var(--brand-dark);
}

.section-subtitle {
  color: var(--brand-muted);
}

.team-member,
.value-card {
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  box-shadow: none;
}

.team-member:hover,
.value-card:hover {
  box-shadow: var(--brand-shadow);
  transform: translateY(-6px);
  border-color: rgba(0, 152, 218, 0.3);
}

.member-photo {
  border: 3px solid rgba(0, 152, 218, 0.3);
  background: rgba(0, 152, 218, 0.1);
}

.position {
  color: var(--brand-primary);
}

.value-icon {
  color: var(--brand-primary);
}

.about-cta {
  text-align: center;
}

.about-cta .neon-button {
  margin-top: 1.5rem;
}

/* Services */
.services-hero {
  background: linear-gradient(135deg, var(--brand-surface) 0%, #e8f0f6 100%);
  color: var(--brand-dark);
  min-height: 320px;
  border-bottom: none;
  border-radius: 24px;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
  box-shadow: var(--brand-shadow);
}

.featured-services,
.plans-section,
.services-cta {
  background: var(--brand-surface);
  border-radius: 24px;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--brand-shadow);
}

.service-card {
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  box-shadow: none;
}

.service-card::before {
  display: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow);
  border-color: rgba(0, 152, 218, 0.3);
}

.service-icon {
  background: rgba(0, 152, 218, 0.12);
}

.service-icon img {
  filter: none;
}

.service-card h3 {
  color: var(--brand-primary);
}

.service-description {
  color: var(--brand-muted);
}

.service-features li::before {
  color: var(--brand-primary);
}

.service-button {
  border-color: rgba(0, 152, 218, 0.5);
  color: var(--brand-primary);
  border-radius: 12px;
  font-weight: 600;
}

.service-button:hover,
.service-button:focus {
  background: rgba(0, 152, 218, 0.12);
  border-color: var(--brand-primary-dark);
}

.plan-card {
  background: var(--brand-surface-alt);
  border: 1px solid var(--brand-border);
  box-shadow: none;
}

.recommended-badge {
  background: var(--brand-primary);
  color: #ffffff;
}

.plan-price {
  color: var(--brand-primary);
}

.plan-features li {
  border-bottom: 1px solid rgba(12, 34, 56, 0.08);
}

.plan-button {
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: none;
  font-weight: 600;
}

.plan-button:hover,
.plan-button:focus {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
}

.advanced-plan {
  border: 2px solid rgba(0, 152, 218, 0.4);
}

/* Contact */
.contact-hero {
  background: linear-gradient(135deg, var(--brand-surface) 0%, #e8f0f6 100%);
  color: var(--brand-dark);
  box-shadow: var(--brand-shadow);
  border-radius: 24px;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
}

.form-container {
  background: var(--brand-surface);
  border-radius: 24px;
  margin: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--brand-shadow);
}

.office-form {
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.form-loading {
  color: var(--brand-muted);
}

.loading-spinner {
  border-top-color: var(--brand-primary);
}

.alternative-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 34, 56, 0.12);
  color: var(--brand-muted);
}

.alternative-contact h3 {
  color: var(--brand-dark);
}

/* Footer */
.futuristic-footer {
  background: var(--brand-dark);
  color: #e6ecf2;
  padding: 2.5rem clamp(2rem, 7vw, 6rem);
  border-top: 4px solid var(--brand-primary);
  text-align: center;
  letter-spacing: 0.08em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .futuristic-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-section,
  .about-hero,
  .services-hero {
    padding: clamp(2.5rem, 8vw, 4rem) clamp(1.5rem, 6vw, 3rem);
  }

  .hero-section {
    flex-direction: column;
  }

  .glow-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-section {
    margin: 1.5rem;
  }

  .highlights-section,
  .tech-section,
  .story-section,
  .team-section,
  .values-section,
  .about-cta,
  .featured-services,
  .plans-section,
  .services-cta,
  .contact-hero,
  .form-container {
    margin: 1.5rem;
    padding: 2rem;
  }

  .glow-nav {
    gap: 1rem;
  }

  .cta-button,
  .neon-button,
  .outline-button {
    width: 100%;
    text-align: center;
  }
}
