body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f9fd;
  transition: background-color 0.3s, color 0.3s;
}

.hero-section {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  padding: 60px 20px;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.1);
}

.hero-section h1,
.hero-section p,
.hero-section blockquote {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Navbar text styling */
.navbar-nav .nav-link {
      font-weight: 400;
    font-size: 18px;
    color: #1a445a !important;
    margin-right: 12px;

}


/* Navbar Brand Styling */
.navbar-brand {
  font-size: 1.75rem;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
  font-weight: 700;
  color: #000 !important;
}


/* Background Info Banner */
.background-info {
  position: relative;
  background: linear-gradient(to right, #b3e5fc, #0288d1);
  padding: 80px 20px;
  text-align: center;
  z-index: 0;
  color: #fff;
}


.background-info::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.background-info h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.background-info p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

#mood h2{
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #24495c;
}

.mood-btn {
  font-size: 2.2rem;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mood-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
#suggestions {
  background: linear-gradient(to bottom right, #e3f2fd, #bbdefb);
  padding: 60px 0;
  text-align: center;
}

#suggestions h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
   color: #000 !important;
}

.dark-theme #suggestions h2 {
  color: #000 !important;
}

#suggestion-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#suggestion-list li {
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s;
  font-weight: 500;
  font-size: 1rem;
}

#suggestion-list li:hover {
  background-color: #eaf6ff;
  transform: translateY(-3px);
}

/* Detailed Mental Health Section */
#mental-health-analysis {
  background: linear-gradient(to top left, #e0f7fa, #b2ebf2);
  padding: 70px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#mental-health-analysis::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://t3.ftcdn.net/jpg/06/58/61/80/360_F_658618091_fe5bDQOAXf9ddyPbtIavDyLv7gYuyobd.jpg') no-repeat center center/cover;
  opacity: 0.7;
  z-index: 0;
}

#mental-health-analysis h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  color: #004d40;
}

#mental-health-analysis .journal-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

#mental-health-analysis p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 25px;
}

#mental-health-analysis .btn-primary {
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 10px;
  background: linear-gradient(to right, #00bcd4, #009688);
  border: none;
  transition: background 0.3s ease;
}

#mental-health-analysis .btn-primary:hover {
  background: linear-gradient(to right, #009688, #00796b);
}



textarea.form-control {
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  font-size: 1rem;
  padding: 15px;
}


#dashboard h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #24495c;
}


.card {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

textarea.form-control {
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Theme toggling */
.light-theme {
  background-color: #f4f9fd;
  color: #000;
}

.dark-theme {
  background-color: #1e1e2f;
  color: #f1f1f1;
}

.dark-theme .navbar,
.dark-theme .card,
.dark-theme #suggestion-list li,
.dark-theme textarea {
  background-color: #2e2e3e;
  color: #f1f1f1;
  border-color: #444;
}

.dark-theme .navbar a,
.dark-theme .navbar-brand {
  color: #f1f1f1 !important;
}

footer {
  background: linear-gradient(135deg, #00c9ff, #92fe9d);
  color: #222;
  font-weight: 500;
  letter-spacing: 0.5px;
}

footer p {
  margin: 0;
}


/*-------------------------------------------------------------ANALYSIS PAGE---------------------------------------------*/

/* Analysis Image + Text Section */
.analysis-intro {
  padding: 60px 0;
}

/* Analysis Hero Section */
.analysis-hero {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.analysis-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.analysis-hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}


.analysis-intro img {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  width: 82%;
}

.analysis-intro img:hover {
  transform: scale(1.02);
}

.analysis-intro h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #004d40;
}

.analysis-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Form Styling */
form label {
  font-weight: 600;
  color: #333;
}

form .form-control,
form .form-select {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form .form-control:focus,
form .form-select:focus {
  border-color: #4fc3f7;
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.2);
}

form .btn-primary {
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 12px;
  background: linear-gradient(to right, #00bcd4, #009688);
  border: none;
}

form .btn-primary:hover {
  background: linear-gradient(to right, #009688, #00796b);
}

.alert-danger{
  margin-top: 33px;
}

/*-------MENTAL

/* Container Spacing */


/* Section Title */
h3 {
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

/* Form Label Styling */
.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Range Slider Styling */
input[type=range] {
  width: 100%;
  margin-top: 8px;
  accent-color: #e74c3c;
}

/* Button Styling */
#emotionalSubmitBtn {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: 0.3s ease-in-out;
}

#emotionalSubmitBtn:hover {
  background-color: #c0392b;
}

/* Feedback Box */
#emotionalFeedback {
  background: #f8f9fa;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid #e74c3c;
  border-radius: 8px;
  font-size: 1rem;
  color: #2d3436;
}
