/*
Custom Stylesheet
Inspired by the "Strategy" BootstrapMade Template
*/

/* 1. Global & Typography
-----------------------------------*/
:root {
    --primary-color: #0d6efd; /* A modern Bootstrap blue */
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --font-default: "Poppins", sans-serif;
}

body {
    font-family: var(--font-default);
    color: #444444;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #0a58ca;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-default);
}

/* 2. Main Content & Sections
-----------------------------------*/
#main {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    padding-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--dark-color);
}

.section-header h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 25px);
}


/* 3. Header & Navigation
-----------------------------------*/
.header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
    background-color: var(--dark-color);
}

.header .navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 10px 15px;
}

.header .nav-link:hover, .header .nav-link.active {
    color: #fff;
}

.header .navbar-text {
    color: rgba(255, 255, 255, 0.8);
}


/* 4. Hero Section (Homepage)
-----------------------------------*/
#hero {
    width: 100%;
    padding: 120px 0;
    background: var(--dark-color);
    color: #fff;
    text-align: center;
}

#hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

#hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    margin-bottom: 30px;
}


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

    font-weight: 500;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 6. Cards
-----------------------------------*/
.card {
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* 7. Dashboard & Lists
-----------------------------------*/
#updates-list .list-group-item {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(0,0,0,.125);
}
#updates-list .list-group-item:first-child {
    border-top: 0;
}
#updates-list .list-group-item.active-item {
    background-color: #e7f3ff;
}
#updates-list .list-group-item small {
    font-size: 0.8em;
}


/* 8. Footer
-----------------------------------*/
#footer {
    background: #343a40;
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
}