/* ===== Global Reset ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ===== Body ===== */
body {
  /* Updated for a lighter, professional look */
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  background: #f8f9fa; /* Very light, professional background */
  color: #343a40; /* Darker text for readability */
  line-height: 1.6;
}



/* Updated H1/P within Header */
header h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 0;
}



/* ===== Main Layout (Tool Wrapper) - Kept simple for tool container focus ===== */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

/* Default sections/cards - Not used heavily here, but kept for consistency */
section {
  background: white;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== Headings ===== */
h1, h2, h3 {
  color: #004085; /* Dark blue for main content headings */
  margin-bottom: 12px;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

/* ===== Text ===== */
p {
  margin-bottom: 12px;
}

/* ===== Lists ===== */
ul {
  padding-left: 20px;
  margin-top: 10px;
}

li {
  margin-bottom: 6px;
}

/* ===== Inputs & Selects ===== */
input, select {
  width: 100%;
  max-width: 320px;
  padding: 10px 12px;
  margin: 8px 0;
  border: 1px solid #ced4da; /* Light border */
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}


/* ===== Buttons - Focused on primary blue theme ===== */
button {
  display: inline-block;
  padding: 10px 18px;
  background: #007bff; /* Primary Blue */
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

button:hover {
  background: #0056b3; /* Darker blue on hover */
  transform: translateY(-1px);
}

/* Tool-specific styling from old style.css for container wrap */
.tool-wrapper {
  padding: 40px 15px;
  background: #f8f9fa; /* Match body background */
}

/* Internal Links section - Updated for professional contrast */
        .calculator-link {
            display: block;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
            border-radius: 8px;
            text-decoration: none;
            color: #2d3748;
            font-weight: 600;
            text-align: left;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .calculator-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }

/* ===== Links ===== */
/* a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
} */

        .site-title {
            font-size: 1.5rem;
            font-weight: 700;
        }

nav {
            display: flex;
            gap: 2rem;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: opacity 0.3s;
        }

        nav a:hover {
            opacity: 0.8;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
            /* New styles to reset button defaults */
            background: none;
            border: none;
            padding: 0;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            border-radius: 3px;
            transition: 0.3s;
        }

        .mobile-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #667eea;
            flex-direction: column;
            padding: 1rem;
            gap: 1rem;
        }

        .mobile-nav.active {
            display: flex;
        }

        .mobile-nav a {
            color: white;
            text-decoration: none;
            padding: 0.5rem;
            border-radius: 5px;
            transition: background 0.3s;
        }

        .mobile-nav a:hover {
            background: rgba(255,255,255,0.1);
        }

header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        footer {
            background: #2d3748;
            color: white;
            padding: 3rem 0 1rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #667eea;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #cbd5e0;
        }

        @media (max-width: 768px) {
            nav {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            h1 {
                font-size: 2rem;
            }

            .tenure-group {
                grid-template-columns: 1fr;
            }

            .button-group {
                flex-direction: column;
            }

            .result-value {
                font-size: 1.5rem;
            }

            .calculator-section {
                padding: 1.5rem;
            }

            .content-section {
                padding: 1.5rem;
            }

            .charts-grid {
                grid-template-columns: 1fr;
            }

            .chart-container {
                height: 250px;
            }

            th, td {
                padding: 0.5rem;
                font-size: 0.9rem;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .container {
                padding: 2rem 2rem;
            }
        }

