:root {
    --primary-color: #313132;
    --secondary-color: #0586b8;  
    --background-color: #f6f5f3;
    --container-bg: #ffffff;
    --text-color: #333;
    --border-color: #ddd;
    --header-bg: rgb(254, 254, 254);;
    --header-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --footer-bg: #656768;
    --footer-text: #f5f9f9;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

  

    a { color: rgb(10, 97, 191); text-decoration: none; }
   a:hover { text-decoration: none; }
   
   
   


.site-header { background-color: var(--header-bg); padding: 0 1.5rem; box-shadow: var(--header-shadow); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 60px; max-width: 1200px; margin: 0 auto; }
.nav-brand { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); text-decoration: none; }
.nav-links-desktop { display: none; }
.nav-links-desktop ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 1.5rem; }
.nav-links-desktop a { color: var(--text-color); font-weight: 500; }
.menu-toggle { display: block; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }
.mobile-nav { position: fixed; top: 0; left: 0; width: 280px; height: 100%; background-color: #fff; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transform: translateX(-100%); transition: transform 0.3s ease-in-out; z-index: 1001; padding: 2rem 1.5rem; }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav .close-menu { position: absolute; top: 15px; right: 20px; font-size: 2rem; background: none; border: none; cursor: pointer; }
.mobile-nav ul { list-style: none; padding: 40px 0 0 0; margin: 0; }
.mobile-nav li a { display: block; padding: 1rem 0; font-size: 1.2rem; color: var(--text-color); text-decoration: none; border-bottom: 1px solid var(--border-color); }
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease-in-out; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }


.breadcrumb-container {
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 8px; 
    line-height: 1.8;
}

.breadcrumb {
    padding: 10px 0;
    list-style: none;
    display: flex;
    font-size: 0.95em;
    margin-bottom: 25px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: "›";   
    margin: 0 12px; 
    color: #999;    
    font-weight: bold;
}

.breadcrumb a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    pointer-events: none;
}



.container { max-width: 900px; margin: 1rem auto; padding: 0.5rem .8rem; width: 95%; flex-grow: 1; }
h1, h2 { text-align: left; color: var(--primary-color); }
h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem; }
.intro-paragraph { text-align: left; font-size: 1.1rem; color: #555; margin: 0 auto 2rem; max-width: 900px; }





.calculation-block { padding: 1rem; background-color: #fdfdfd; border: 1px solid var(--border-color); border-radius: 5px; margin-bottom: 2rem; }
.form-row { display: flex; flex-direction: column; gap: 1rem; }
.form-row input, .form-row select { padding: 0.75rem; font-size: 1rem; border: 1px solid var(--border-color); border-radius: 5px; width: 100%; }
.form-actions { text-align: center; margin-top: 1rem; }
#calculateBtn { width: 100%; padding: 0.8rem 1rem; font-size: 1.1rem; font-weight: bold; color: #fff; background-color: var(--secondary-color); border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.2s ease; }
#calculateBtn:hover { background-color: var(--primary-color); }


.descriptive-answer-box { background-color: #fdfdfd; border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; margin: 2rem auto; text-align: left; }
.answer-table { width: 100%; border-collapse: collapse; }
.answer-table td { padding: 0.8rem 0; vertical-align: top; border-bottom: 1px solid #e9ecef; }
.answer-table tr:last-child td { border-bottom: none; }
.answer-table td:first-child { font-weight: 600; color: var(--primary-color); width: 130px; padding-right: 1.5rem; }


  
.site-footer {
    background-color: #343435;
    margin-top: 4rem;
    padding: 3rem 1.5rem; 
    border-top: 1px solid var(--border-color);
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto; 
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 4rem; 
}


.footer-column {
    flex: 0 1 300px; 
}

.footer-column h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}


.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.site-footer a:hover {
    color: #cccccc;
    text-decoration: underline;
}


.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0; 
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
}


@media (max-width: 900px) {
    .footer-content {
        gap: 2rem; 
    }
    
    .footer-column {
        flex-basis: 250px; 
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; 
        gap: 2.5rem; 
    }
    
    .footer-column {
        text-align: center; 
        width: 100%;
        max-width: 300px;
    }
    
    .footer-column h4 {
        text-align: center;
    }
}
  
@media (min-width: 768px) {
    .nav-links-desktop { display: block; }
    .menu-toggle { display: none; }
    .form-row { flex-direction: row; }
    .form-row input { flex: 1; }
    .form-row select { flex: 2; }
    #calculateBtn { width: auto; min-width: 200px; }
}