﻿html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    background-color: #f1f1f1;
}

    body p {
        font-size: 1.25rem; /* Same as Bootstrap’s .lead */
        font-weight: 300;
        line-height: 1.6;
    }

a[href="#top"]:hover {
    text-decoration: underline;
}

a {
    text-decoration: none;
}

    a:hover {
        color: #f00 !important;
        text-decoration: none !important;
    }

/* Custom brand blue */
:root {
    --pxmss-blue: #0a3356; /* Google-style blue; feel free to tweak */
}

/* Navbar & Hero use the same background */
.navbar {
    background-color: #0a3356 !important;
    border-bottom: 2px solid #13457c; 
    padding: 20px 20px 20px 0px;
}

.nav-link:hover {
    color: #f00 !important;
}

.nav-link-select {
    font-weight: bold;
    border-bottom: 2px solid #ffff00; /* highlight style */
    color: #ffff00 !important;
}

.pxmss-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #0a3356; /* ensure color is always visible */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    padding-left: 20px !important;
}

.hero {
    background-color: var(--pxmss-blue) !important;
    color: white;
    width: 100%;
    margin: 0;
    margin-top: 40px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/AppImages/atom-ai-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(10, 51, 86, 0.8), rgba(10, 51, 86, 0.95));
        z-index: -1;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .hero p {
        font-size: 1.25rem;
    }

.hero-blend {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}


#news .card, #tools .card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

    #news .card:hover, #tools .card:hover {
        transform: translateY(-5px);
    }

.btn-insights {
    background-color: #fdd835; /* warm Google-style yellow */
    color: #212121;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

    .btn-insights:hover {
        background-color: #fbc02d;
        color: #000;
        text-decoration: none;
    }

.btn-subscribe {
    background-color: #a5d6a7;
    color: #1b5e20;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

    .btn-subscribe:hover {
        background-color: #81c784;
        color: #1b5e20;
        text-decoration: none;
    }

.card-img-top {
    height: 170px; /* or whatever height fits your layout */
    object-fit: cover;
}

.page-content {
    max-width: 1400px;
    margin-left: auto; 
    margin-right: auto;
    overflow-y: hidden;
}

.nav-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

#understand-ai h5 {
    font-size: 1.25rem;
    color: #0a3356;
}

#understand-ai p {
    font-size: 0.95rem;
}

#understand-ai .btn-link {
    color: #1a73e8;
    font-weight: 500;
    text-decoration: none;
}

    #understand-ai .btn-link:hover {
        text-decoration: underline;
    }

.btn-educate {
    background-color: #fdd835;
    color: #212121;
    border: none;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
}

    .btn-educate:hover {
        background-color: #fbc02d;
        color: #000;
        text-decoration: none;
    }

#about h2 {
    font-size: 2rem;
    color: #0a3356;
}

#about p.fst-italic {
    font-size: 1.1rem;
}

#about img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    margin-top: 1px;
    width: 25%;
    height: 40px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
}

.newsletter-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    height: 40px;
}

#coming-soon h2 {
    color: #0a3356;
}

#coming-soon .border {
    border-color: #e0e0e0 !important;
}

.bg-ai-section {
    background-color: #e8f0fa; /* A subtle, tech-feeling blue tint */
}

.bg-founder {
    background-color: #fdf8f2;
}

.lead {
    line-height: 1.2 !important;
}

.lead-sm {
    font-size: 1.1rem; /* slightly smaller than .lead */
    font-weight: 300;
    line-height: 1.2;
}

.carousel-caption {
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
}

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

.carousel-item {
    transition: transform 1s ease-in-out;
    height: 450px !important;
}

.carousel-img {
    height: auto !important;
    object-fit: unset !important;
    object-position: unset !important;
}

#newsCarousel .carousel-item {
    height: 400px; /* Adjust as needed for your design */
}

    #newsCarousel .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

.carousel-indicators-custom {
    position: relative;
    z-index: 10;
}

.indicator-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 6px;
    overflow: hidden;
    position: relative;
}

    .indicator-dot::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0%;
        background-color: #0a3356; /* Yellow fill */
        transition: width 0s;
        z-index: 1;
    }

    .indicator-dot.active::before {
        transition: width linear;
        width: 100%;
    }

.insights-hero {
    margin-top: 20px; /* enough to clear the fixed navbar */
}

.text-muted {
    color: #4a4a4a !important;
}

.btn-outline-primary.text-white {
    color: #fff;
    border-color: #fff;
}

    .btn-outline-primary.text-white:hover {
        color: #0d6efd;
        background-color: #fff;
        border-color: #fff;
    }

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.news-article-container {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    padding-bottom: 20px;
}