/* Lora + Roboto imported here (moved Lora back into CSS) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: Roboto, sans-serif;
    background-color: #0f1117;
    color: #e0e0e0;
}

/* Navbar override for dark pages */
.navbar.bg-dark { background-color: #0a0c12 !important; }

.hero {
    /*background: linear-gradient(135deg, #0a3a6e 0%, #0d6efd 100%);
    color: white;
    min-height: 100vh;*/
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/images/MonitoringAnalyticsFraudRiskBW.jpg') center/cover no-repeat; 
    color: #fff; 
    min-height: 70vh; /* 90vh */
    display: flex; 
    align-items: center;
}

/* Hero layout: center main content and pin footer to bottom */
.hero {
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-bottom: 80px; /* space for footer */
}

.hero-footer {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* larger hero heading */
.hero .display-4 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 1.0;
    font-family: 'Merriweather', serif; 
    /*font-family: 'Lora', serif;*/
}

@media (max-width: 576px) {
    .hero-footer { bottom: 16px; }
}

/* Light gray color for hero footer text */
.hero-footer .small {
    color: #d3d3d3;
}

.section {
    padding: 80px 0;
    background-color: #0f1117;
    color: #e0e0e0;
}

.section-alt {
    padding: 80px 0;
    /*background-color: white;*/
    background-color: #f2f2f2; 
    color: black;
}

.cta {
    background: #070a10;
    color: white;
    padding: 80px 0;
}

.box {
    background: #1e2330;
    border: 1px solid #2d3347;
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    color: white;
}

.box h4 { color: #ffffff; }
.box ul { color: white; }
.box p { color: #ffffff; }

.highlight {
    font-weight: bold;
    color: #f55f6a;
}

h2 { color: #ffffff; }
h1 { 
    color: #ffffff;
    font-family: 'Lora', serif;
}




/* Prevent oversized heading on very small screens */
@media (max-width: 480px) {
    .hero .display-4 {
        font-size: 2.25rem;
        line-height: 1.1;
        font-family: 'Lora', serif;
    }
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Contact page – Send Message button */
.form-submit-btn {
    background-color: #083d8a;
    border-color: #072f6b;
}

.form-submit-btn:hover,
.form-submit-btn:focus {
    background-color: #062758;
    border-color: #051e44;
}

.btn-industrial {
    background-color: #e07b00;
    border-color: #e07b00;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.btn-industrial:hover {
    background-color: #b86400;
    border-color: #a05700;
    color: #ffffff;
}

.btn-light {
    background-color: #e9ecef;
    color: #111;
}

.btn-light:hover {
    background-color: #d3d9e0;
}

/* muted text in non-hero sections */
.section p:not(.box p), .section-alt p:not(.box p) {
    color: #b0b8cc;
}

.section .box p, .section-alt .box p {
    color: #ffffff;
}

.section .row > div {
    color: #b0b8cc;
}

.section-alt .row > div {
    color: black;
}

.section-alt p {
    color: #ffffff;
}

.section-alt p.mt-3 {
    color: #ffffff !important;
}

.fw-bold { color: #ffffff; }

/* footer already dark — just ensure border contrast */
footer .border-top { border-color: #2d3347 !important; }

.section-alt h2 {
    color: black;
}

/* Increase font size for 'Detect anomalies instantly' */
.section-alt .row .col-md-3{
    font-size: 1.7rem; /* Larger font size */
    font-weight: bold; /* Optional: Make it bold */
}




/* Neven */
.features-white {
    font-size: 1.9rem; 
    font-weight: bold; 
    color: white !important;
}

.features-black {
    font-size: 1.9rem; 
    font-weight: bold; 
    color: black !important;
}

/* Ensure .features-black isn't reduced by the more specific .section-alt selector */
.section-alt .row .col-md-3.features-black {
    font-size: 1.9rem;
}

.section-title-black {
    font-size: 4.5rem;
    font-weight: 900;
    color: black !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    -webkit-font-smoothing: antialiased;
}

.section-title-white {
    font-size: 4.5rem;
    font-weight: 600;
    color: white !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    -webkit-font-smoothing: antialiased;
}

.section-subtitle-black {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333332 !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
}

.section-subtitle-white {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
}

.box-title-white {
    font-size: 2.8rem;
    font-weight: bold;
    color: white !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.box-title-black {
    font-size: 2.8rem;
    font-weight: bold;
    color: black !important;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
}

.section-alt-gray {
    background-color: lightgray !important;
    padding: 4rem 0;
}

/* Tighten the gap above the footer Get Early Access CTA */
.section-footer-cta {
    padding-top: 40px;
    margin-top: -24px;
}

.section-alt-darkgray {
    background-color: #1F1E1D !important;
    padding: 4rem 0;
}

.box-text-white {
    color: #b0b8c9 !important;
    font-size: 1.2rem !important;
    margin-top: 1rem;
}   

.box-text-black {
    color: black !important;
    font-size: 1.2rem !important;
    margin-top: 1rem;
}   

.section-upper-title {
    color:#0d6efd !important; 
    letter-spacing:0.1em;
}

.hero2 {
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/images/MonitoringAnalyticsFraudRiskBW.jpg') center/cover no-repeat;
    color: #fff;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.hero2-title {
    font-size: clamp(3.5rem, 6vw, 6rem) !important;
    line-height: 1.05;
}

.hero2-subtitle {
    font-size: 2.25rem !important;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.subtitle-white {
    font-size: 1.8rem !important;
    line-height: 1.5 !important;
    color: white !important;
    padding-top: 1.5rem;
}

.text-normal-white {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: lightgray !important;
}

.text-normal-white2 {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
    color: lightgray !important;
}

.text-normal-black {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: black !important;
}

.text-icon-normal-white {
    font-size: 1.5rem !important;
    line-height: 1.5 !important;
    color: lightgray !important;
}

.text-normal-white-footer {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    color: lightgray !important;
}

.box-title-white2 {
    font-size:2.5rem;
    font-weight: bold;
    color: white !important;
    margin-bottom: 0.1rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.box-green {
    background:#f0faf4;border-left:4px solid #198754;text-align:left;max-width:800px;margin:auto;
}

/* Navbar link sizing + hover underline (underscore) */
.navbar .nav-link {
    font-size: 1.3rem; /* slightly larger 1.125rem; */
    position: relative;
    padding-bottom: 0.35rem;
    transition: color 0.15s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff;
}

.home-page-icon {
    max-height:12rem; 
    width:auto;
}

.home-page-icon-container {
    height:14rem; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    margin-bottom:1rem;
}

/* WordPress wpautop() wraps HTML comments in <p> tags.
   These empty paragraphs create gutters between sections and break Bootstrap rows. */

/* Collapse comment-wrapper <p> tags that are direct children of .main-content (between sections) */
.main-content > p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden;
}

/* Remove <p> tags inside Bootstrap .row (breaks flexbox grid) */
.row > p {
    display: none !important;
}