/* =============================================
   ONLINE PRESENCE SOLUTIONS
   Minimal custom CSS — Bootstrap does the work
   ============================================= */

html, body {
    overflow-x: hidden;
}

:root {
    --blue: #0640A3;
    --blue-dark: #04307A;
    --red: #C40902;
    --green: #3CB742;
    --green-dark: #2E9433;
    --dark: #0B1120;
}

/* --- Brand colors into Bootstrap --- */
.text-ops-blue { color: var(--blue) !important; }
.text-ops-red { color: var(--red) !important; }
.text-ops-green { color: var(--green) !important; }
.bg-ops-blue { background-color: var(--blue) !important; }
.bg-ops-red { background-color: var(--red) !important; }
.bg-ops-green { background-color: var(--green) !important; }
.bg-ops-dark { background-color: var(--dark) !important; }
.border-ops-blue { border-color: var(--blue) !important; }

/* --- Navbar --- */
.navbar-ops {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.navbar-ops.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-ops .nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.navbar-ops .nav-link:hover,
.navbar-ops .nav-link.active {
    color: var(--blue) !important;
    background: rgba(6,64,163,0.06);
}

/* --- Logo text colors --- */
.logo-blue { color: var(--blue); }
.logo-red { color: var(--red); }
.logo-green { color: var(--green); }

/* --- Hero --- */
.hero-ops {
    background: linear-gradient(135deg, var(--dark) 0%, #0d1f45 50%, var(--blue-dark) 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}
.hero-ops::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}
.hero-ops .hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(6,64,163,0.2), transparent 70%);
    max-width: none;
}
.hero-orb-2 {
    width: 350px; height: 350px;
    bottom: -120px; left: -100px;
    background: radial-gradient(circle, rgba(196,9,2,0.1), transparent 70%);
    max-width: none;
}
.hero-home { min-height: 92vh; }
.hero-page { min-height: 40vh; }

/* --- Section label --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
}
.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--blue);
}

/* --- Cards --- */
.card-ops {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}
.card-ops:hover {
    border-color: rgba(6,64,163,0.2);
    box-shadow: 0 12px 40px -8px rgba(6,64,163,0.12);
    transform: translateY(-4px);
}
.card-ops .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(6,64,163,0.08);
    color: var(--blue);
}

/* --- Pricing card --- */
.pricing-card-ops {
    border: 2px solid var(--blue);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px -12px rgba(6,64,163,0.2);
}
.pricing-card-ops .card-body {
    padding: 2rem 2.5rem 2.5rem;
}

/* --- FAQ --- */
.accordion-ops .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    margin-bottom: 0.75rem;
}
.accordion-ops .accordion-button {
    font-weight: 600;
    color: #334155;
    box-shadow: none;
}
.accordion-ops .accordion-button:not(.collapsed) {
    color: var(--blue);
    background: rgba(6,64,163,0.04);
}
.accordion-ops .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    width: auto;
    height: auto;
}
.accordion-ops .accordion-button:not(.collapsed)::after {
    content: '−';
    color: var(--blue);
}

/* --- Contact --- */
.contact-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.contact-card:hover {
    border-color: rgba(6,64,163,0.15);
    box-shadow: 0 8px 24px rgba(6,64,163,0.08);
}
.form-ops .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(6,64,163,0.1);
}
.btn-ops {
    background: var(--blue);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-ops:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6,64,163,0.35);
}
.btn-ops-green {
    background: var(--green);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-ops-green:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(60,183,66,0.35);
}

/* --- Pullout quote --- */
.pullout-ops {
    border-left: 3px solid var(--blue);
    padding-left: 1.25rem;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    color: #334155;
}

/* --- WhatsApp float --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}
.whatsapp-float a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(60,183,66,0.4);
    transition: all 0.3s ease;
    position: relative;
}
.whatsapp-float a:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 6px 28px rgba(60,183,66,0.5);
}
.whatsapp-float .pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--green);
    animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* --- Scroll to top --- */
.scroll-top-btn {
    position: fixed;
    bottom: 5.5rem;
    right: 1.75rem;
    z-index: 1049;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.scroll-top-btn.show { display: flex; }
.scroll-top-btn:hover { color: var(--blue); border-color: var(--blue); }

/* --- Fade animation --- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
.footer-ops {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
}
.footer-ops a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-ops a:hover { color: #fff; }

/* --- CTA Section --- */
.cta-ops {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark), #04265e);
    position: relative;
    overflow: hidden;
}
.cta-ops::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    pointer-events: none;
}

/* --- Responsive tweaks --- */
@media (max-width: 767.98px) {
    .hero-home { min-height: auto; }
    .hero-page { min-height: auto; }
    .pricing-card-ops .card-body { padding: 1.5rem; }
}

@media (max-width: 991.98px) {
    .hero-ops {
        padding-top: 40px;
    }
}