﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f3f8f8;
}

/* ────────────────────────────────
   Vanta background
──────────────────────────────── */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#vanta-hero .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* ────────────────────────────────
   Hero video
──────────────────────────────── */
.hero-video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(43, 76, 126, 0.25);
}

/* ────────────────────────────────
   Feature cards
──────────────────────────────── */
.feature-card {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px);
    border: none !important;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 76, 126, 0.15) !important;
}

.feature-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ────────────────────────────────
   Pricing cards
──────────────────────────────── */
.pricing-card {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px);
    border: none !important;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 76, 126, 0.15) !important;
}

.pricing-card.featured {
    border: 2px solid #2b4c7e !important;
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(43, 76, 126, 0.2) !important;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #2b4c7e;
    line-height: 1;
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2b4c7e;
    vertical-align: super;
}

.price-period {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ────────────────────────────────
   Navbar
──────────────────────────────── */
.navbar {
    background-color: #f3f8f8 !important;
}

/* ────────────────────────────────
   Section headings
──────────────────────────────── */
.section-heading {
    color: #1a2f50;
}

/* ────────────────────────────────
   Service group cards
──────────────────────────────── */
.service-card {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px);
    border: none !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 76, 126, 0.15) !important;
}

.service-card .card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 0 !important;
}

.service-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ────────────────────────────────
   HTTP method badges
──────────────────────────────── */
.method-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.22em 0.55em;
    border-radius: 4px;
    min-width: 46px;
    text-align: center;
    flex-shrink: 0;
}

.method-get    { background-color: rgba(13,  110, 253, 0.12); color: #0d6efd; }
.method-post   { background-color: rgba(25,  135,  84, 0.12); color: #198754; }
.method-put    { background-color: rgba(253, 126,  20, 0.12); color: #e8720c; }
.method-patch  { background-color: rgba(111,  66, 193, 0.12); color: #6f42c1; }
.method-delete { background-color: rgba(220,  53,  69, 0.12); color: #dc3545; }

/* ────────────────────────────────
   Service card scroll animation
──────────────────────────────── */
.service-card--hidden {
    opacity: 0;
    transform: translateY(24px);
}

.service-card--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}