:root {
    --primary: #0d3759;
    --accent: #da5e22;
    --light: #f8f9fa;
    --text: #212529;
}

.intro {
  text-align: center;
}

.authority {
  padding: 80px 200px 0px 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--accent);
    text-decoration: none;
}


* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
}

.container { max-width:1180px; margin:auto; padding:0 20px; }

.section { padding:35px 0; }

.section h2 {
    color: var(--primary);
    font-size: 2.35rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.section h2::after {
    content: '';
    display: block;
    width: 160px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ================= GRID ================= */
.two-col {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.two-col img {
    width:100%;
    border-radius:6px;
    margin-bottom:15px;
}

/* ================= HEADER ================= */
header {
    background-image: url('images/kansas-city-dumpster-rental-guide.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 0px 20px 0px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9); /* adjust opacity here */
    z-index: 0;
}

header > * {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.0rem;
    line-height: 1.05;
    margin-bottom: 18px;
    font-weight: 700;
}

header p {
    font-size: 1.4rem;
    margin: 0 auto;
    opacity: 0.95;
}

/* ================= NAV ================= */
nav {
    position: sticky;
    top: 0;
    background: #08294a;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 14px 20px;
    gap: 10px 22px;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

nav a:hover, nav a.active {
    background: var(--accent);
    color: #fff;
}

/* ================= CARD ================= */
.card {
    background: #fff;
    border-radius: 5px;
    padding: 34px;
    box-shadow: 0 8px 25px rgba(13,55,89,0.07);
    margin: 30px 0;
}

/* ================= TABLE ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* ================= GRID ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin: 30px 0;
}

/* ================= HIGHLIGHT ================= */
.highlight {
    background: var(--light);
    border-left: 6px solid var(--accent);
    padding: 26px 30px;
    border-radius: 5px;
    margin: 34px 0;
    font-size: 1.13rem;
}

/* ================= FAQ ================= */
.faq details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 12px;
}

.faq summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.12rem;
    line-height: 23px;
}

.faq p {
    padding: 0 24px 24px;
    font-size: 1.08rem;
    line-height: 23px;
}

/* ================= PROVIDER ================= */
.provider {
    background: linear-gradient(135deg, var(--primary), #08294a);
    color: #fff;
    text-align: center;
    padding: 90px 20px 75px;
    margin-top: 40px;
}

/* ================= BUTTON ================= */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 16px 38px;
    font-size: 1.22rem;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 24px;
    box-shadow: 0 8px 25px rgba(218,94,34,0.3);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(218,94,34,0.4);
}

/* ================= LISTS ================= */
ul, ol {
    padding-left: 28px;
    margin: 14px 0;
}

.bullet-section h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* ================= FOOTER LOGO ================= */
.footer-logo {
    margin-top:25px;
    text-align:center;
}

.footer-logo img {
    max-width:260px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    header h1 { font-size: 2.45rem; }
    .section h2 { font-size: 2.05rem; }
    nav a { padding: 8px 14px; font-size: 0.96rem; }
}

/*logo*/
.header-inner {
    display: flex;
    align-items: center; /* keeps vertical center */
    justify-content: center;
    margin: 0 auto;
    max-width:1200px;
    min-height: 500px;
    gap: 40px;
}

.header-inner img {
    max-width: 300px;
    height: auto;
    display: block;
}

.header-text {
    text-align: left;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center; /* THIS centers text vertically to image */
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-text {
        text-align: center;
        margin-bottom: 20px;
    }
    
/*Mobile Table Responsive*/
@media (max-width: 768px) {

    table thead {
        display: none;
    }

    table, table tbody, table tr, table td {
        display: block;
        width: 100%;
    }

    table tr {
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 6px;
        overflow: hidden;
    }

    table td {
        padding: 12px 16px;
        text-align: right;
        position: relative;
        border-bottom: 1px solid #eee;
    }

    table td:last-child {
        border-bottom: none;
    }

    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 16px;
        top: 12px;
        font-weight: 600;
        color: var(--primary);
        text-align: left;
    }
}    
}

.sitemap-links a {
    display:block;
    margin:15px 0;
    font-size:1.2rem;
    font-weight:600;
    color: var(--primary);
    text-decoration:underline;
}

.sitemap-links a:hover {
    color: var(--accent);
}

/* ================= SIZE CARD (Dumpster Sizes grid) ================= */
.size-card {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 4px 14px rgba(13,55,89,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.size-card__title {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.size-card__badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.size-card__specs {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.size-card__specs > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.97rem;
    border-bottom: 1px dashed #eef1f5;
    padding-bottom: 6px;
}

.size-card__specs > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.size-card__specs dt {
    color: #56616c;
    font-weight: 600;
    margin: 0;
}

.size-card__specs dd {
    margin: 0;
    color: #1a2a36;
    text-align: right;
}

.size-card__best {
    margin: 0;
    font-size: 0.95rem;
    color: #3d4a56;
    line-height: 1.5;
}

/* Featured size card (Most Popular) */
.size-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 6px 22px rgba(13,55,89,0.12);
    position: relative;
}

.size-card--featured .size-card__title {
    color: var(--primary);
}
