/* Global Variables */
:root {
    --primary-color: #004aad;
    /* Royal Blue */
    --secondary-color: #f8f9fa;
    /* Light Gray */
    --accent-color: #212529;
    /* Dark Gray */
    --text-muted: #6c757d;
    --white: #ffffff;
    --bs-primary-rgb: 0, 74, 173;
    /* Corresponding RGB for Royal Blue */
}

/* General Styling */
body {
    font-family: 'Inter', sans-serif;
    color: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

hr.divider {
    height: 3px;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    background-color: var(--primary-color);
    opacity: 1;
    border: none;
}

/* Navbar */
.navbar-brand {
    font-family: 'Inter', sans-serif;
}

.navbar-brand .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--accent-color);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(to bottom, rgba(0, 74, 173, 0.4) 0%, rgba(0, 74, 173, 0.1) 100%), url('../images/hero_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    min-height: 80vh;
}

header.masthead h1 {
    font-size: 3rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 4.5rem;
        padding-bottom: 0;
    }

    header.masthead h1 {
        font-size: 4rem;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #003680;
    border-color: #003680;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 10rem;
}

/* Sections */
.page-section {
    padding: 6rem 0;
}

.section-heading {
    color: var(--accent-color);
}

/* Services */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
}

.service-card .bi {
    transition: color 0.3s ease;
}

.service-card:hover .bi {
    color: #003680 !important;
}

/* About Section */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* Contact */
.form-floating input:focus,
.form-floating textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Requirements Form */
#requirementsForm .card {
    background-color: #fff;
    border-left: 5px solid var(--primary-color) !important;
}

/* Animations */
html {
    scroll-behavior: smooth;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 1rem;
}

.modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.bg-darklink {
    color: black;
    text-decoration: none;
}

p {
    font-weight: 500;
}

/* Intl Tel Input Fixes */
.iti {
    width: 100%;
    margin-bottom: 1rem;
}

.iti__flag-container {
    z-index: 4;
}

.iti input {
    height: 58px;
    /* Match Bootstrap .form-floating height */
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}