body{
    background:#faf7fa;
    font-family: "Nunito Sans", sans-serif;
    font-size:18px;
    color: #545454;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* App container (creates mobile app feel) */
.app-container {
  max-width: 480px;   
  margin: 0 auto;     
  padding: 20px;
}

.navbar-brand img {
  max-width: 200px;
}

.navbar-nav li {
  text-align: right;
}

.navbar-nav li a{
  color: #dd9c89;
}

.copyright {
  font-size:12px;
}

p {
    color: #545454;
}

.text-fancy {
    font-family: "shrikhand", sans-serif;
}

a {
    color: #dd9c89;
    text-decoration: underline dotted #ffffff;
}

h1 {
    /* font-family: "Comfortaa", sans-serif; */
    font-family: "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: 2rem;
}

/* Logo Image */

.logo-image img {
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

/* Hero Image */
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.btn-primary{
    background-color: #E6B8AB;
    border:none;
    
}

.btn-primary:hover {
    background: #e9d6cd;
}

.btn-primary:active {
    background: #ff9a8b !important;
}

.btn-attention {
  background: #ff9a8b;
  color: #fff;
}

.btn-success{
    background:#FACC15;
    border:none;
    color:#000;
}

.bi-house, .bi-arrow-right-square, .bi-arrow-left-square {
    font-size:20px;
    color: #ffffff;
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Left buttons group */
.left-buttons {
  display: flex;
  gap: 8px;
}

/* Center button */
.center-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.text-content {
  display: flex;
  flex-direction: column; /* 🔥 stacks text vertically */
}



/*
==================
CLICKABLE HERO
==================
*/

.clickable-hero {
  cursor: pointer;
  transition: all 0.25s ease;
  animation: pulseHint 2s ease-in-out 1;
}

@keyframes pulseHint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}


/* Hover effect */
.clickable-hero:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Click (press) effect */
.clickable-hero:active {
  transform: scale(0.98);
}

/*
====================
QUIZ STYLES
====================
*/

.container {
  max-width: 500px;
}

.progress-container {
  width: 100%;
  height: 8px;
  background: #eee;
  margin-bottom: 20px;
  border-radius: 5px;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: #dd9c89;
  border-radius: 5px;
  transition: width 0.3s ease;
}

/*
=====================
QUIZ QUESTIONS STYLES
=====================
*/

.answer-btn {
  display: block;
  width: 100%;
  margin: 10px 0;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border-radius: 12px;
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  cursor: pointer;
}

/* Hover effect */
.answer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background-color: #ffefea;
}


.answer-btn.selected {
  border-color: #dd9c89;
  background: #dd9c89;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

#next-btn {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  background: #dd9c89;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* smooth animation */
}

#next-btn:disabled {
  background: #ccc;
}

/* Hover effect */
#next-btn:not(:disabled):hover {
  transform: scale(1.05); /* grows 5% bigger */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* optional shadow for depth */
}


/*
==================
SIMPLE LOADER
=================
*/

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #06B6D4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/*
=========================
TRANSITION 
=========================
*/

.transition-container {
  min-height: 500px;
}

/* Container (the track) */
.progress-bar-container {
  width: 100%;
  height: 10px;
  background-color: #e5e7eb; /* light gray */
  border-radius: 999px; /* pill shape */
  overflow: hidden;
  margin-top: 25px;
}

/* Fill (the animated part) */
.progress-bar-fill {
  height: 100%;
  width: 0%; /* starts empty */
  background: linear-gradient(90deg, #dd9c89, #ff9a8b); /* subtle gradient */
  border-radius: inherit;
  transition: width 0.3s ease;
}

/*
=======================
RESULTS
======================
*/

/* Score circle */
.score-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #dd9c89, #ff9a8b); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.score-circle.green {
  background: linear-gradient(135deg, #83D475, #ABE098)
}

.score-circle.yellow {
  background: linear-gradient(135deg, #FFEA61, #FFF192)
}

.score-circle.red {
  background: linear-gradient(135deg, #EA4C46, #F07470)
}

/*
====================
BIGGEST DIFFERENCES
===================
*/
.you {
  font-weight: bold;
  color: #06B6D4;
}

.them {
  font-weight: bold;
  color: #F97316;
}


/* Feedback cards */
.feedback-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/*
==========================
SHARE
=========================
*/

.share-card {
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background: white;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.share-score-circle {
  width: 100px;
  height: 100px;
  margin: 10px auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #06B6D4, #FACC15);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

#share-image-btn {
 width:100%
  
}