html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* NAVIGATE AUTISM AL
   Homepage Styling */

:root {
    --navy: #17324d;
    --blue: #3973a5;
    --light-blue: #eaf4f8;
    --teal: #4c9b9b;
    --cream: #f8faf9;
    --text: #334155;
    --white: #ffffff;
}


/* HERO */

.hero-section {
    background: linear-gradient(135deg, #eaf4f8 0%, #f8faf9 100%);
    padding: 70px 0;
}

.min-vh-75 {
    min-height: 70vh;
}

.hero-label,
.section-label {
    color: var(--teal);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.hero-title {
    color: var(--navy);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 15px;
}

.hero-text {
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 650px;
    margin-top: 25px;
}

.hero-buttons {
    margin-top: 30px;
}


/* SEARCH CARD */

.hero-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.compass-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.hero-card h3 {
    color: var(--navy);
    font-weight: 700;
}

.hero-card p {
    color: var(--text);
}


/* BUTTONS */

.btn-primary {
    background-color: var(--blue);
    border-color: var(--blue);
    padding: 12px 25px;
}

    .btn-primary:hover {
        background-color: var(--navy);
        border-color: var(--navy);
    }

.btn-outline-primary {
    color: var(--blue);
    border-color: var(--blue);
    padding: 12px 25px;
}

    .btn-outline-primary:hover {
        background-color: var(--blue);
        border-color: var(--blue);
    }


/* WELCOME */

.welcome-section {
    padding: 90px 0;
    background: white;
}

    .welcome-section h2,
    .resource-section h2,
    .mission-section h2 {
        color: var(--navy);
        font-weight: 700;
    }

.welcome-text {
    max-width: 850px;
    margin: 25px auto 0;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.9;
}


/* RESOURCE SECTION */

.resource-section {
    background: var(--cream);
    padding: 90px 0;
}

.resource-card {
    height: 100%;
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e6e6e6;
    transition: 0.3s ease;
}

    .resource-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.resource-card h4 {
    color: var(--navy);
    font-weight: 700;
}

.resource-card p {
    color: var(--text);
    min-height: 75px;
}

.resource-card a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}


/* MISSION */

.mission-section {
    padding: 90px 0;
    background: white;
}

    .mission-section p {
        color: var(--text);
        line-height: 1.8;
    }

.mission-box {
    background: var(--light-blue);
    border-radius: 20px;
    padding: 40px;
}

    .mission-box h4 {
        color: var(--navy);
        font-weight: 700;
        margin-bottom: 25px;
    }

.mission-item {
    background: white;
    margin-bottom: 12px;
    padding: 15px;
    border-radius: 8px;
    color: var(--text);
}


/* CALL TO ACTION */

.cta-section {
    background: var(--navy);
    color: white;
    padding: 70px 0;
}

    .cta-section h2 {
        font-weight: 700;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin: 20px 0 30px;
    }


/* MOBILE */

@media (max-width: 768px) {

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-card {
        margin-top: 50px;
    }

    .hero-section {
        padding: 40px 0;
    }
}