
:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #777;
  --card: #f6f6f6;
  --border: #e5e5e5;
  --primary: #ff4500;
}
  
.dark {
  --bg: #0f0f0f;
  --text: #ffffff;
  --muted: #aaa;
  --card: #1a1a1a;
  --border: #333;
  --primary: #ff6a00;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical centering */
  padding: 0 20px;
  height: 80px;
  border-bottom: 1px solid var(--border);
  flex-wrap: nowrap; /* prevent wrapping */
}

/* Left logo */
.nav-left {
  display: flex;
  align-items: center;
}

/* Logo */
.logo-img {
  height: 70px;
  width: auto;
  max-height: 100%; /* prevent it from overflowing navbar */
  object-fit: contain;
  vertical-align: middle; /* helps vertical alignment */
  transition: height 0.3s ease;
}

/* Right buttons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Button styles */
.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  background: transparent;
  transition: all 0.2s ease;
}

.login-link:hover {
  background-color: #2563eb;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive: tablets */
@media (max-width: 1024px) {
  .logo-img {
    height: 60px;
  }
  .login-link {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Responsive: phones */
@media (max-width: 600px) {
  .logo-img {
    height: 40px;
  }
  .login-link {
    font-size: 12px;
    padding: 6px 10px;
  }


}




/* Footer layout */
.footer-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
  flex-wrap: nowrap;
}

/* Left logo */
.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff4500;
  margin: 0;
}

/* Right links (text-style) */
.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.footer-link {
  font-size: 14px;
  color: #2563eb;
  text-decoration: underline; /* just looks like a link */
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #1a4db3;
}

/* Footer About text */
.footer-about {
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  color: #555;
  line-height: 1.4;
}

/* Responsive: tablets */
@media (max-width: 1024px) {
  .footer-logo { font-size: 1.1rem; }
  .footer-link { font-size: 13px; }
  .footer-about { font-size: 11px; }
}

/* Responsive: phones */
@media (max-width: 600px) {
  .footer-logo { font-size: 1rem; }
  .footer-link { font-size: 12px; }
  .footer-about { font-size: 10px; }
}
















































/* ===============================
   FAQ / QnA SECTION
================================ */

.faq-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.faq-section h2 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111827;
}

/* ===============================
   FAQ ITEM (CARD)
================================ */

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* ===============================
   QUESTION
================================ */

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1f2937;
}

/* ===============================
   ANSWER
================================ */

.faq-item p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #4b5563;
}

/* ===============================
   TABLET
================================ */

@media (min-width: 640px) {
  .faq-section h2 {
    font-size: 2.1rem;
  }

  .faq-item h3 {
    font-size: 1.15rem;
  }

  .faq-item p {
    font-size: 1rem;
  }
}

/* ===============================
   DESKTOP
================================ */

@media (min-width: 1024px) {
  .faq-section {
    max-width: 1000px;
  }

  .faq-item {
    padding: 1.6rem 1.8rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }
}






/* Navbar layout */
.navbar-new {
  display: flex;
  justify-content: space-between; /* logo left, login right */
  align-items: center;            /* vertical center */
  padding: 0 20px;
  height: 80px;
  border-bottom: 1px solid #ccc;
  flex-wrap: nowrap;              /* keep in one row */
}

/* Logo container */
.logo-container-new {
  display: flex;
  align-items: center;           /* vertical center */
  height: 100%;
}

/* Logo image */
.logo-img-new {
  max-height: 100%;              /* fits navbar height */
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}

/* Login button container */
.login-container-new {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

/* Login button style */
.login-btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;        /* pill shape */
  border: 1.5px solid #2563eb; /* blue border */
  color: #2563eb;
  background: transparent;
  transition: all 0.2s ease;
}

.login-btn-new:hover {
  background-color: #2563eb;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive: tablets */
@media (max-width: 1024px) {
  .logo-img-new { height: 70px; }
  .login-btn-new { font-size: 13px; padding: 8px 12px; }
}

/* Responsive: phones */
@media (max-width: 600px) {
  .logo-img-new { height: 60px; }
  .login-btn-new { font-size: 12px; padding: 6px 10px; }
}




/* GitHub button */
.github-btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;                     /* space between icon and text */
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;          /* pill shape */
  border: 1.5px solid #333;      /* dark border */
  background-color: #24292f;     /* GitHub dark color */
  color: white;
  transition: all 0.2s ease;
}

.github-btn-new:hover {
  background-color: #000;        /* darker on hover */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive: tablets */
@media (max-width: 1024px) {
  .github-btn-new { font-size: 13px; padding: 8px 12px; }
}

/* Responsive: phones */
@media (max-width: 600px) {
  .github-btn-new { font-size: 12px; padding: 6px 10px; }
}









.hint-text {
  font-size: 14px;
  font-weight: 600;              /* semi-bold */
  letter-spacing: 0.3px;         /* modern spacing */
  color: #b45309;

  margin-top: 12px;
  display: none;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid #f3c98b;
  padding: 8px 14px;
  border-radius: 999px;          /* pill shape */
  background-color: #fff7ed;

  text-transform: uppercase;     /* modern touch */
}

.hint-text::before,
.hint-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #f3c98b;
}


.navbar {
  height: 80px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;

  color: white;
  text-decoration: none;
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134af,
    #515bd4
  );

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.instagram-link i {
  font-size: 16px;
}
body.dark .logo {
  color: #ff4500; /* slate-200 */
}


.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #2563eb;

  color: #2563eb;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: transparent;

  transition: all 0.2s ease;
}

.email-link:hover {
  background-color: #2563eb;
  color: #fff;
}

.email-link i {
  font-size: 15px;
}

body.dark .logo:hover {
  color: #ff4500;; /* indigo-400 */
}

.logo {
  font-family: "Inter", "Geist", system-ui, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #ff4500;; /* slate-900 */
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
  color: #ff4500;; /* indigo-600 */
}

/* Hover effect */
.logo:hover {
  transform: translateY(-1px) scale(1.05);
  text-shadow: 0 6px 20px rgba(70, 229, 73, 0.35);
}

.nav-right {
  display: flex;
  gap: 10px;
}


button {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  margin-bottom: 8px;
}

.full-width {
  width: 100%;
}


.container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: 10px auto 0;
}


.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}



.future-planner {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.future-planner.hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  padding-top: 0;
  padding-bottom: 0;
}



.result-wrapper {
  margin-top: 2.5rem;
  width: 100%;
}

.result-outer-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  animation: fadeUp 0.6s ease;
}



.result-circle-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-graph {
  position: relative;
  width: 160px;
  height: 160px;
}

.result-graph svg {
  width: 160px;
  height: 160px;
}

svg circle {
  fill: none;
  stroke-width: 12;
  stroke: #e5e7eb;
}


.progress-circle {
  stroke: #4f46e5;
  stroke-width: 12;
  fill: none;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.9s ease;
}



.graph-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.graph-text span {
  font-size: 2rem;
  font-weight: 800;
}

.graph-text small {
  font-size: 0.85rem;
  opacity: 0.6;
}



.result-info-card {
  flex: 1;
}

.result-info-card h4 {
  margin: 0.8rem 0 0.3rem;
  font-size: 1rem;
}

.result-info-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}



.result-summary {
  margin-top: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.result-summary.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.result-summary.success {
  background: #dcfce7;
  color: #166534;
}



@media (max-width: 768px) {
  .result-outer-card {
    flex-direction: column;
    align-items: center;
  }

  .result-info-card {
    width: 100%;
  }
}



.result-graph {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.result-graph svg {
  width: 120px;
  height: 120px;
}

svg circle {
  fill: none;
  stroke-width: 10;
  stroke: #e5e7eb;
}

.progress-circle {
  stroke: #4f46e5;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke-dasharray: 377;
  stroke-dashoffset: calc(377 - (377 * var(--percent)) / 100);
  transition: stroke-dashoffset 0.8s ease;
}



.graph-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.graph-text span {
  font-size: 1.4rem;
  font-weight: 800;
}

.graph-text small {
  font-size: 0.7rem;
  opacity: 0.6;
}


@media (min-width: 640px) {
  .result-card {
    max-width: 560px;
    gap: 2rem;
  }

  .result-graph {
    width: 150px;
    height: 150px;
  }

  .result-graph svg {
    width: 150px;
    height: 150px;
  }

  .graph-text span {
    font-size: 1.7rem;
  }
}

@media (min-width: 1024px) {
  .result-card {
    max-width: 720px; 
    padding: 2rem 2.5rem;
  }

  .result-graph {
    width: 200px;
    height: 200px;
  }

  .result-graph svg {
    width: 200px;
    height: 200px;
  }

  svg circle {
    stroke-width: 12;
  }

  .graph-text span {
    font-size: 2.2rem;
  }

  .graph-text small {
    font-size: 0.85rem;
  }
} 


.result-info {
  font-size: 0.95rem;
  line-height: 1.7;
}

.result-info .present {
  color: #16a34a;
  font-weight: 600;
}

.result-info .absent {
  color: #dc2626;
  font-weight: 600;
}



@media (max-width: 768px) {
  .result-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.weekdays {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weekdays label {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
}


.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}


@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 10px;
  }
}




body.dark {
  background-color: #0f172a;
  color: #e5e7eb;
}

body.dark .navbar {
  background: #020617;
  border-bottom: 1px solid #1e293b;
}

body.dark .card {
  background: #020617;
  border: 1px solid #1e293b;
}

body.dark input,
body.dark select {
  background: #020617;
  color: #e5e7eb;
  border: 1px solid #334155;
}

body.dark .footer {
  background: #020617;
  color: #94a3b8;
}

body.dark .btn-outline {
  border-color: #6366f1;
  color: #c7d2fe;
}

body.dark .btn-primary {
  background: #6366f1;
}

body.dark .logo {
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}


.how-it-works {
  margin-top: 4rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}


.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
}


.info-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.info-card code {
  display: block;
  background: #f5f5f5;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}


.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}


body.dark .section-subtitle {
  color: #aaa;
}

body.dark .info-card {
  background: #111;
  border-color: #222;
}

body.dark .info-card p {
  color: #ccc;
}

body.dark .info-card code {
  background: #1b1b1b;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header button {
  padding: 5px 10px;
  cursor: pointer;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-weekdays span {
  font-weight: bold;
  padding: 5px 0;
}

.calendar-days div {
  padding: 10px;
  margin: 2px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.calendar-days div:hover {
  background: #e0e0e0;
}

.calendar-days .today {
  border: 2px solid #4caf50;
}

.calendar-days .selected {
  background: #4caf50;
  color: white;
}


.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;

  background: linear-gradient(90deg, #111827, #374151);

  background-clip: text;              /* standard */
  -webkit-background-clip: text;      /* webkit browsers */

  color: transparent;
  -webkit-text-fill-color: transparent;

  margin: 0;
}

/* optional small accent */
/* .logo::after {
  content: " •";
  color: #f59e0b;
} */