﻿:root {
    --pxmss-blue: #0a3356;
}

html {
    scroll-behavior: smooth;
}

/* Reset & Layout */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Navbar */
.navbar {
    background-color: var(--pxmss-blue) !important;
    border-bottom: 2px solid #13457c;
    padding: 12px 16px;
}

.navbar-brand img {
    height: 28px;
}

.nav-link-select {
    font-weight: bold;
    border-bottom: 2px solid #ffff00; /* highlight style */
    color: #ffff00 !important;
}


/* Hero Section */
.hero {
    width: 100%;
    background-color: var(--pxmss-blue);
    color: white;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    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 h1 {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero a.btn {
        width: 90%;
        margin-bottom: 10px;
    }

.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;
}


/* Subscribe Section */
#subscribe {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

    #newsletterForm input,
    #newsletterForm button {
        width: 100%;
        max-width: 500px;
    }

.newsletter-input {
    width: 100%;
    max-width: 500px;
    margin-bottom: 10px;
    height: 40px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.375rem;
}


.newsletter-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    height: 40px;
}

/* Buttons */
.btn-insights {
    background-color: #fdd835;
    color: #212121;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    width: 90%;
}

    .btn-insights:hover {
        background-color: #fbc02d;
        color: #000;
    }

.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;
    width: 90%;
}

    .btn-subscribe:hover {
        background-color: #81c784;
        color: #1b5e20;
    }

/* Cards */
.card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Understand AI Section */
#understand-ai h5 {
    font-size: 1.2rem;
    color: #0a3356;
    margin-bottom: 0.5rem;
}

#understand-ai p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding: 0 10px;
}

#understand-ai .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    width: auto;
}

.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;
    }

.col-md-4 {
    margin-bottom: 1.5rem;
}

#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-sm {
    font-size: 1.1rem; /* slightly smaller than .lead */
    font-weight: 300;
    line-height: 1.6;
}

.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: 250px;
}


.carousel-img {
    height: 100%;
    object-fit: cover;
    object-position: center top; /* adjust this as needed */
}

#newsCarousel .carousel-item {
    height: 250px; /* 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 {
    padding-top: 100px; /* enough to clear the fixed navbar */
}

.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: 20px;
    padding-top: 0px;
}