:root {
  --bg: #f5f7fa;
  --text: #111;
  --accent: #4facfe;
}

body.dark {
  --bg: #111;
  --text: #fff;
  --accent: #00c6ff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.timer-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

circle {
  fill: none;
  stroke-width: 12;
}

.bg {
  stroke: #ddd;
}

.progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke 0.3s;
}

.time-display {
  position: absolute;
  font-size: 3rem;
  font-weight: bold;
}

.controls {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.presets button,
.main-buttons button {
  margin: 8px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 500px) {
  .time-display {
    font-size: 2rem;
  }

  .presets button,
  .main-buttons button {
    width: 90%;
  }
}
.custom-input {
  margin: 10px 0;
}

.custom-input input {
  width: 80px;
  padding: 10px;
  margin: 5px;
  font-size: 1rem;
  text-align: center;
}

.custom-input button {
  padding: 10px 15px;
  cursor: pointer;
}
/* Header & Footer */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #3498db;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.logo {
  cursor: pointer;
}

nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f1c40f;
}

footer {
  background: #1a252f; /* Darker slate blue/gray */
  color: #b0bec5;      /* Soft light blue-gray text */
  padding: 20px 30px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid #f39c12; /* Accent orange top border */
}

footer a {
  color: #90caf9;      /* Light blue links */
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
  color: #ffb74d;      /* Warm amber hover */
}
/* ✅ SEO Content Section Styling */
.content-section {
  max-width: 900px;      /* Keeps content centered and not too wide */
  margin: 40px auto;     /* Top & bottom spacing, centered horizontally */
  padding: 20px 15px;    /* Inner spacing */
  line-height: 1.8;      /* Comfortable reading */
  font-size: 1rem;       /* Base font size */
  color: var(--text);    /* Matches your site’s text color */
  background: rgba(255, 255, 255, 0.05); /* Slightly highlighted background */
  border-radius: 8px;    /* Rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for separation */
}

.content-section h2, 
.content-section h3 {
  color: var(--accent);   /* Accent color for headings */
  margin-top: 25px;
  margin-bottom: 15px;
}

.content-section p {
  margin-bottom: 15px;    /* Space between paragraphs */
}

.content-section a {
  color: var(--accent);
  text-decoration: underline;
}

.content-section a:hover {
  color: #f39c12;         /* Hover color for links */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .content-section {
    padding: 15px 10px;
    font-size: 0.95rem;
  }
}