* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0e1a2b;
    color: white;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: #111f35;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    border-radius: 8px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

nav a:hover {
    color: #4a90e2;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #1f3b73, #14325a);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2d6cdf;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
}

.btn:hover {
    background: #1c4fb6;
}

.btn-small {
    padding: 8px 15px;
    background: #2d6cdf;
    border-radius: 4px;
}

.section {
    padding: 80px 0;
}

.dark {
    background: #121f33;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #1c2d47;
    padding: 20px;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #0b1422;
    font-size: 0.9rem;
}
/* ===== FITS LINE TIMELINE ===== */
.fits-timeline-image{
    display: block;
    width: 100%;
    max-width: 600px;   /* controls how wide it can get */
    height: auto;
    margin: 15px auto 0 auto;
    border-radius: 8px;
}


.fits-line{
    position: absolute;
    left: 10px;
    right: 10px;
    top: 45px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
}

.fits-stop{
    position: relative;
    width: 25%;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transform: scale(0.95);
    transition: 0.25s ease;
    z-index: 2;
}

.fits-stop.active{
    opacity: 1;
    transform: scale(1.05);
}

.fits-dot{
    width: 14px;
    height: 14px;
    background: #2d6cdf;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 0 0 6px rgba(45,108,223,0.25);
}

.fits-caption{
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0 6px;
}

.fits-timeline-detail{
    margin-top: 18px;
    background: #1c2d47;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: center;
}


.fits-intake{
    margin-top: 30px;
    background: #1c2d47;
    padding: 20px;
    border-radius: 8px;
}

.fits-form-grid{
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fits-intake label{
    display: grid;
    gap: 6px;
    font-weight: bold;
}

.fits-intake input,
.fits-intake select,
.fits-intake textarea{
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: #0e1a2b;
    color: white;
}
/* Force timeline to stay horizontal */
.fits-line-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;     /* prevents stacking */
}


/* Keep the line visible behind dots */
.fits-line{
    z-index: 1;
}

.fits-stop{
    z-index: 2;
}
/* ===== FIX TIMELINE LINE POSITION ===== */
.fits-line-timeline{
    position: relative;              /* REQUIRED so .fits-line stays inside */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
    padding: 30px 10px 10px;
}

.fits-line{
    position: absolute;
    left: 10px;
    right: 10px;
    top: 45px;                       /* aligns with dot row */
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    z-index: 1;
}

.fits-stop{
    position: relative;
    width: 25%;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transform: scale(0.95);
    transition: 0.25s ease;
    z-index: 2;
}

.fits-stop.active{
    opacity: 1;
    transform: scale(1.05);
}
/* Smooth fade for timeline image */
.fits-timeline-image{
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 15px auto 0 auto;
    border-radius: 8px;

    opacity: 1;
    transition: opacity 0.35s ease-in-out;
}

.fits-timeline-image.fade-out{
    opacity: 0;
}
