html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body > *:not(footer):not(script):not(#chatbot-container):not(#chatbot-icon) {
  flex: 1;
}

html{
  scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 100px;
    background-color: #f4f4f9;
    text-align: center;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}
.dark-mode {
    background-color: #1e1e1e;
    color: white;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:  rgba(19, 74, 192, 0.85);
    backdrop-filter: blur(-10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    color: white;
    border: 2px solid #F9CC48;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    border-radius: 0 0 20px 20px;
    z-index: 1000;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo a::after {
  content:"";
  margin-left:auto;
  background-image: url("../Icons/JJ_Logo.png");
  display: inline-block; 
  width: 40px; 
  height: 40px; 
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 8px; 
  vertical-align: middle;
}
.slogan{
    font-size: small;
    color:#F9CC48;
    font-weight:200;
    text-transform: capitalize;
}

/* .dropdown {
  position: relative;
}

.dropdown-content {
  font-size: 20px;
  margin-top:1px;
  display: none;
  position: absolute;
  background-color:  #3b5998;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 1000;
  border-radius: 6px;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}


.dropdown:hover .dropdown-content {
  display: block;
}

.dark-mode .dropdown-content {
  background-color: #2b2b2b;
}

.dark-mode .dropdown-content a {
  color: #eee;
}

.dark-mode .dropdown-content a:hover {
  background-color: #444;
} */

.nav {
    display: flex;
    gap: 25px;
}
.nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.nav a:hover {
    color: #ffd700;
    text-decoration: underline;
}
.nav a.active{
    color: #ffd700;
    text-decoration: underline;
}

.toggle-switch {
  display: flex;
  align-items:end;
  background-color: #665959;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  padding: 5px 8px;
  width: 60px;
  height: 30px;
  position: relative;
  transition: background-color 0.3s ease;
}

.toggle-switch .icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  z-index: 1;
}

.toggle-switch .slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  background-color: rgb(247, 247, 247);
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 0;
}

body.dark-mode .toggle-switch {
  background-color: #050505;
}

body.dark-mode .toggle-switch .slider {
  transform: translateX(30px);
}
.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.controls button {
    font-weight: 700;
    position: relative;
    cursor: pointer;
    padding: 10px 18px;
    border: none;
    background: #F9CC48;
    color: black;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}
.controls button:hover {
    background: #0e1b92;
    transform: scale(1.05);
    color:white;
}
.controls button:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
}
.main-content {
    display: flex;
    justify-content: space-evenly;
    padding: 40px;
}
.box {    
    margin:5px;
    border-spacing:20px;
    background:  #dfb459
;
    padding: 25px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
    width: 30%;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
.dark-mode .box {
    background: #747070;
    color: white;
}
.box:hover {
    transform: translateY(-10px);
}
.box button{
    position: relative;
    padding: 10px 20px;
    border-radius: 7px;
    border: 1px solid rgb(61, 106, 255);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: darkcyan;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.box button:hover {
    background: rgb(61, 106, 255);
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  
  .box button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
  }
  
  .box button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
  }
  
  @keyframes sh02 {
    from {
      opacity: 0;
      left: 0%;
    }
  
    50% {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      left: 100%;
    }
  }
  
  .box.button:active{
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
  }


.chatbot-icon{
  width:55px;
  height:35px;
}



#contact {
    background-color: rgb(219, 170, 80);
    padding: 2rem;
    margin :auto;
    margin-top: 2rem;
    border-radius: 8px;
    align-self: center;
    width:fit-content;
  }
  
  #contact h2 {
    margin-bottom: 1rem;
  }
  
  #contact form {
    display: flex;
    flex-direction: column;
  }
  
  #contact label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  #contact input,
  #contact textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  #contact button {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #1d5596;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #contact button:hover {
    background-color: #2a76cc;
  }
  
  /* Resources Section */
  #resources {
    background-image:url("../Images/Captured1.jpg");
    background-repeat: no-repeat;
    background-position: right;
    border-radius: 50px;
    /* padding: 2rem;
    margin-top: 2rem; 
    border-radius: 8px;*/
  }
  
  
  #resources h2 {
    margin-bottom: 1rem;
  }
  
  .resource {
    margin-bottom: 1.5rem;
  }
  
  .resource h3 a {
    color: #333;
    text-decoration: none;
  }
  
  .resource h3 a:hover {
    text-decoration: underline;
  }


  
  .card {
    margin:20px;
    width: 800px;;
    height: 100%;
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    border-radius: 8px;
    color: white;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
  }
  
  .card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    height: 100%;

  }
  
  .card-content .card-title {
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    text-transform: uppercase;
  }
  
  .card-content .card-para {
    color: inherit;
    opacity: 0.8;
    font-size: 14px;
  }
  
  .card:hover {
    transform: rotateY(-10deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card:hover:before {
    transform: translateX(-100%);
  }
  
  .card:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card:hover:after {
    transform: translateX(100%);
  }
  
  
    
  
  .heading {
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 700;
    text-decoration: none;
  }

  .heading a:link, a:visited {
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

  .heading a:visited{
    text-decoration: none;
  }
  
  .card p:not(.heading) {
    font-size: 14px;
  }
  
  .card p:last-child {
    color: #e81cff;
    font-weight: 600;
  }
  
  .card:hover::after {
    filter: blur(30px);
  }
  
  .card:hover::before {
    transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
  }
  
  .blog-magazine {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.blog-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.main-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.main-card:hover {
  transform: translateY(-4px);
}

.main-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.main-card .tag {
  background: #56c6a9;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  position: absolute;
  margin: 12px;
  border-radius: 4px;
}

.main-card h3 {
  font-size: 1.1rem;
  margin: 1rem;
}

.main-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 1rem 1rem;
}

/* Main card hover (lift + image scale + underline on title) */
a.main-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}

a.main-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Image ripple/scale effect */
a.main-card img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

a.main-card:hover img {
  transform: scale(1.05);
}

/* Animated underline on h3 title */
a.main-card h3 {
  position: relative;
  display: inline-block;
}

a.main-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #4CAF50; /* your highlight color */
  transition: width 0.3s ease;
}

a.main-card:hover h3::after {
  width: 100%;
}


.side-post {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem; 
  padding: 8px;
  text-decoration: none;
  background-color: rgb(250, 250, 248);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.side-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 25px;
}

.side-post span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.side-post p {
  font-size: 0.85rem;
  margin: 0;
  align-items:center;
  padding-left:2px;
}
.side-post-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  margin:auto;
}

a.main-card, a.side-post {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* Sidebar post hover (slide + background) */
a.side-post {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}


.side-post:hover {
  background-color: #dfb459; /* switch to #2b2b2b for dark mode */
  transform: translateX(4px);
}

a.side-post:hover {
  background-color: #dfb459; /* switch to #2b2b2b for dark mode */
  transform: translateX(4px);
}

a.side-post img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.dark-mode .side-post-content{
  color:#032775;
}


.dark-mode .main-card {
  background-color: #2b2b2b;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-sidebar h4 {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #032775;
}

.dark-mode .blog-sidebar h4{
  color: #fff;
}


/* Optional: Dark Mode Variables */
:root {
  --card-bg: #f9f9f9;
  --text: #222;
  --text-light: #555;
}

body.dark-mode {
  --card-bg: #1e1e1e;
  --text: #f0f0f0;
  --text-light: #aaa;
}

.expanded{
    padding-top: 20px;
    border:2px solid #C850C0;
    border-radius: 10px;
    margin:20px
}
.expanded img{
    width: 100%;
  height: auto;
  border-radius: 10px;
}
.ball {
    margin-left:2px;
    position: relative;
    bottom: 50px;
    left: calc(100% - 20px);
    width: 50px;
    height: 50px;
    background:#4158D0;
    border-radius: 50%;
    animation: ball-move8234 3s ease-in-out 1s infinite alternate;
  }
  
  .ball::after {
    position: relative;
    content: '';
    top: 25px;
    right: 5px;
    width: 5px;
    height: 5px;
    background: #000;
    border-radius: 50%;
  }
  
  .bar {
    width: 200px;
    height: 12.5px;
    background: palevioletred;
    border-radius: 30px;
    transform: rotate(-15deg);
    animation: up-down6123 3s ease-in-out 1s infinite alternate;
  }
  
  @keyframes up-down6123 {
    from {
      transform: rotate(-15deg);
    }
  
    to {
      transform: rotate(15deg);
    }
  }
  
  @keyframes ball-move8234 {
    from {
      left: calc(100% - 40px);
      transform: rotate(360deg);
    }
  
    to {
      left: calc(0% - 20px);
      transform: rotate(0deg);
    }
  }

  .therapy-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    display: block;
    
  }
  .therapy-card-link:hover {
    transform: scale(1.03);
  }
  .therapy-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
  }
.therapy-subheading {
  padding: 15px;
  display: block;
  font-size: 1.1em;
  color: #000000;
  margin-top: -10px;
  margin-bottom: 25px;
}
.dark-mode .therapy-subheading {
  color: #8a1616;
}

  
  .therapy-intro {
    padding-top: 20px;
    margin-left:10%;
    margin-right:10%;
    padding:15px;
    display: block;
    text-align: center;
    margin-bottom: 40px;
    background-image: url("../Images/bg01.jpg")!important;
    background-repeat: no-repeat;
    background-position:center center;
    background-size: cover;
    position: relative;
    border-radius: 30px;
  }
  
  .therapy-intro h1 {
    margin-top:20px;
    color: #032775;
    font-size: 2.5em;
    margin-bottom: 10px;
    animation: glow 1.8s ease-in-out infinite alternate;
  }

  @keyframes glow {
  from {
    text-shadow:
      0 0 5px #00eaff,
      0 0 10px #00eaff,
      0 0 15px #00eaff,
      0 0 20px #00eaff;
  }
  to {
    text-shadow:
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 30px #00ffff,
      0 0 40px #00ffff;
  }
}
  .dark-mode .therapy-intro h1 {
    color: #c99017;
  }
  
  .therapy-intro p {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 20px;
  }
  
  .therapy-image {
    width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .therapy-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  
  .therapy-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.2s ease;
    text-align: center;
  }
  
  .therapy-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .therapy-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .therapy-card p {
    color: #666;
    font-size: 1em;
  }
  
  .dark-mode .therapy-card,
  .dark-mode .therapy-intro {
    padding:10px;
    background-color: #2b2b2b;
    border-radius: 20px;;
    color: #f1f1f1;
  }
  
  .dark-mode .therapy-card p, 
  .dark-mode .therapy-intro p {
    color: #153375;
  }
  
  .dark-mode .descrip{
    color: #8bc34a !important;
  }


  .faq-section {
    padding: 40px 20px;
    background-image: url("../Images/FAQ_bg.jpg");
    color: #333;
  }
  .dark-mode .faq-section{
    background-image: url("../Images/FAQ_dbg.jpg");
    background-repeat: no-repeat;
    background-position:center center;
    background-size: cover;
  }
  
  .faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .faq-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: blue;
  }

  .dark-mode .faq-title{
    color: #8bc34a;
  }
  
  .bar {
    width: 60px;
    height: 4px;
    background-color: #4CAF50;
    margin: 10px auto;
    border-radius: 2px;
  }
  
  .faq-item {
    margin-bottom: 20px;
  }
  
  .faq-question {
    background-color: #ffffff;
    color: #333;
    padding: 15px 20px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .faq-question:hover {
    background-color: #4CAF50;
    color: white;
  }
  
  .faq-question:focus {
    outline: none;
  }
  
  .faq-icon {
    margin-right: 10px;
    font-size: 1.5rem;
  }
  
  .faq-answer {
    padding: 20px;
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
    margin-top: 10px;
    border-radius: 8px;
    display: none;
  }
  
  .faq-answer.show {
    display: block;
  }
  
  .faq-answer p {
    margin: 0;
  }
  
  .faq-item button:active {
    transform: scale(0.98);
  }
  
  .faq-item button:focus {
    outline: none;
  }
  
  /* Animations for the FAQ answers */
  .faq-answer {
    animation: fadeIn 0.4s ease-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsiveness */
  @media screen and (max-width: 768px) {
    .faq-title {
      font-size: 2rem;
    }
  
    .faq-question {
      font-size: 16px;
    }
  
    .faq-container {
      padding: 15px;
    }
  }

  .testimonials {
    background-color: #eef;
    padding: 30px;
    text-align: center;
  }
  .testimonial-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 10px auto;
    width: 60%;
  }
  #handshake{
    height:300px;
    width:25%;
    float:none; 
    border-radius: 50px;   
  }

  .cta {
    text-align: center;
    background-image: url("../Images/joinus.webp");
    background-repeat: no-repeat;
    background-position: right;
    background-size:auto;
    color:rgb(18, 196, 18);
    padding: 40px 20px;
  }
  .cta-btn {
    background: white;
    color: #4CAF50;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
  }
  .cta-btn:hover {
    background: #4CAF50;
    color: white;
  }


.site-footer {
    position: relative;
    background: rgba(19, 74, 192, 0.92);
    color: #F8F5EE;
    padding: 25px 0 24px;
    text-align: center;
    border-top: 4px solid #F9CC48;
    box-shadow: 0 -2px 20px rgba(20, 70, 124, 0.1);
    font-size: 1.05em;
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 0 40px;
    text-align: left;
}

.footer-left,
.footer-right,
.footer-middle {
    flex: 1;
    min-width: 250px;
}

.footer-left p,
.footer-right p,
.footer-middle p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 0.95em;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

.footer-middle li {
    margin-bottom: 8px;
}

.footer-middle a {
    color: #F9CC48;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s;
}

.footer-middle a:hover {
    color: #032775;
    text-decoration: underline;
}

.site-footer a {
    color: #F9CC48;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s;
}

.site-footer a:hover {
    color: #032775;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons img {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 32px;
    padding-top: 16px;
    font-size: 0.9em;
    color: #eee;
}

.footer-bottom a {
    color: #F9CC48;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #032775;
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .site-footer .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right,
    .footer-middle {
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .site-footer {
        font-size: 0.95em;
        padding: 40px 0 20px;
    }

    .site-footer .footer-content {
        padding: 0 15px;
    }
}

/* Dark Mode */
body.dark-mode .site-footer {
    background: rgba(15, 54, 148, 0.95);
    color: #F8F5EE;
}

body.dark-mode .site-footer a {
    color: #F9CC48;
}

body.dark-mode .site-footer a:hover {
    color: #032775;
}

body.dark-mode .social-icons img {
    filter: brightness(0) invert(1);
}


.newsletter-signup {
    margin-bottom: 20px;
    text-align: left;
}

.newsletter-signup p {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1em;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
    flex: 1 1 180px;
    max-width: 300px;
    background-color: #fff;
    color: #333;
    outline: none;
}

.newsletter-form button {
    padding: 10px 16px;
    background-color: #F9CC48;
    color: #123066;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color:#032775;
    color: #fff;
}

/* Dark Mode support */
body.dark-mode .newsletter-form input[type="email"] {
    background-color: #f0f0f0;
    color: #000;
}

body.dark-mode .newsletter-form button {
    background-color: #F9CC48;
    color: #123066;
}

body.dark-mode .newsletter-form button:hover {
    background-color: #52B774;
    color: #fff;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

.banner-wrapper {
      display: flex;
      justify-content: center;
      width: 100%;
      padding: 20px;
  }
  
  .banner-container {
    margin-top:20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 90%;
      max-width: 1200px;
      gap: 40px;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 20px;
      box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
      transition: transform 0.2s;
      padding:50px;
  }
  
  .banner-content {
      flex: 1;
      min-width: 300px;
      font-size:x-large;
      color: #032775;      
  }
  .banner-head{
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #333;
    width: 0;
    animation: typing 5s steps(10, end) forwards, blink 0.6s step-end infinite;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  @keyframes typing {
  0% { width: 0 }
  50% { width: 30ch } /* Adjust to match character count */
  100% { width: 0 }
}

/* Blinking cursor */
@keyframes blink {
  50% { border-color: transparent }
}

  .banner-image-container {
      flex: 1;
      display: flex;
      justify-content: flex-end;
  }
  
  .banner-image {
    width:20%;
      height: auto;
      border-radius: 20px;
      box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
      opacity: 0.9;
      transition: transform 0.2s;
      animation: bounce 2s infinite ease-in-out;
  }
  
  @media (max-width: 768px) {
      .banner-container {
          flex-direction: column;
          align-items: center;
          text-align: center;
      }
      
      /* .banner-image {
          width: 80%;
          height:auto;
          margin-top: 20px;
          border-radius: 20px;
          box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
          opacity: 0.9;
          animation: bounce 2s ease-in-out infinite;
      } */
      
      
  }
  .cta-buttons {
          justify-content: center;
          padding-top: 20px;
      }

.cta-primary {    
    text-decoration: none;
    background-color: #dfb459;
    color: black;
    border: 2px solid  #dfb459;
}

.cta-secondary {  
    text-decoration: none;
    background-color:  #dfb459;
    color:white;
    border: 2px solid  #dfb459;
}
.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 5px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-primary:a:visited 
{
    text-decoration: none;
}

.cta-secondary:hover{
  background-color:  #174cbe;
}
.cta-primary:hover{
  background-color: #174cbe;
  color:white;
}

.mission{
  background-color: palegoldenrod;
  padding: 20px;
}

.mission-intro {  
    margin-top: 10px;;  
    text-align: center;
    font-size: 3.1rem;
    position: relative;
    font-family: "Playfair Display",serif;
    font-weight: 650;
    line-height: 120%;
    letter-spacing: -0.01rem;
    color: #0f3483;
    word-spacing: 0.1rem;
    display:block;;
    margin-bottom: 5rem;
    padding-left:40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.dark-mode .mission-intro {
    color: #f8f5ee;
}

.dark-mode .mission-intro-italics {
    color: #f8f5ee;
}

.mission-intro-italics{
    font-style: italic;
    font-weight: normal;
    color: #0f3483;
    display:inline;
} 

.info-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-heading{
  font-weight: bold;
  color: #0f3483;
}
.info-card {
  width: 300px;
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card img {
  width: 100%;
  height: auto;
  display: block;
}

.info-card p {
  padding: 15px 20px;
  font-size: 1rem;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}




.goal{
  display:flex;
  justify-content: center;
  align-items: center;
  word-spacing: 0.1rem;
  padding: 20px;
  font-size: 1.5rem;
  font-family: "Playfair Display",serif;
  font-weight: 400; 
  line-height: 120%;
  letter-spacing: -0.01rem;
  color: #0f3483;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  padding-left:40px;
  text-align: center;
  background-color: #f4f4f9;
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s;
  margin-bottom: 20px;
  justify-items: center;
}


.meditation-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

.meditation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.meditation-header h2 {
  font-size: 2rem;
  color: #0f2c64;
}
.dark-mode .meditation-header h2 {
  color: #f8f5ee;
}

.see-all {
  font-size: 1rem;
  color: #0f2c64;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.dark-mode .see-all {
  color: #f8f5ee;
}

.see-all:hover {
  color: #08306b;
  text-decoration: solid underline;
  text-underline-offset: 2px;
}


.meditation-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.meditation-card {
  flex: 1 1 48%;
  background: #f9fbff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.meditation-card:hover {
  transform: translateY(-5px);
}

.meditation-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.meditation-text {
  flex: 2;
}

.meditation-text h3 {
  font-size: 1.2rem;
  color: #004d80;
  margin-bottom: 10px;
}

.meditation-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}

.meditation-text audio {
  width: 100%;
  outline: none;
}

.meditation-image {
  flex: 1;
}

.meditation-image img {
  width: 100%;
  border-radius: 70px;
  object-fit: cover;
}


.featured-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background: linear-gradient(to bottom right, #eef4fb, #f5f9ff);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #0f2c64;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.subheading {
  font-size: 1.2rem;
  color: #6c7aa0;
  margin-top: 10px;
  letter-spacing: 0.5px;
}


.featured-section-alt {
  max-width: 1200px;
  margin-top:20px;
  margin: 80px auto;
  padding: 0 30px;
  font-family: 'Playfair Display', serif;
  color: #0e1a2b;
  position: relative;
}

.featured-section-alt .section-header {
  font-size: 3rem;
  color: #0f3483;
  margin-bottom: 60px;
  position: relative;
  line-height: 1.2;
  border-left: 6px solid #ffc857;
  padding-left: 20px;
}

.flow-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  gap: 40px;
}

.flow-feature:nth-child(even) {
  grid-template-columns: 2fr 1fr;
}

.flow-feature .text-block {
  position: relative;
  text-wrap: nowrap;
}

.flow-feature .category-label {
  font-size: 2rem;
  text-transform: uppercase;
  background: #ffc857;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.flow-feature h3 {
  font-size: 1.75rem;
  margin: 10px 0;
  font-weight: 600;
  color: #0f2453;
}

.flow-feature p {
  font-size: 1rem;
  color: #333;
  max-width: 600px;
  line-height: 1.6;
}

.flow-feature .duration {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}

.flow-feature img {
  width: 400px;       /* or any fixed width */
  height: 400px;      /* or adjust proportionally */
  object-fit: cover;
  display:block;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.dark-mode .featured-section-alt {
  background-color: #111827;
  color: #f3f4f6;
}

.dark-mode .featured-section-alt .section-header {
  color: #fcd34d;
  border-left-color: #fcd34d;
}

.dark-mode .flow-feature .category-label {
  background: #fcd34d;
  color: #111827;
}

.dark-mode .flow-feature h3 {
  color: #e0e7ff;
}

.dark-mode .flow-feature p {
  color: #d1d5db;
}

.dark-mode .flow-feature .duration {
  color: #9ca3af;
}

.dark-mode .flow-feature img {
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.05);
}


.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #0f2453;
  color: #fff;
  padding: 12px 14px;
  border-radius: 80%;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 999;
  border:1px solid #dfb459;;
  animation: bounce 2s infinite ease-in-out;
}

.scroll-top-btn:hover {
  background-color: #0f3483;
  color: #2355c0;
  transform: translateY(-4px);
}


.therapy-session-card {
  margin-top: 60px;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
}

.session-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease;
}

.session-card:hover {
  transform: translateY(-6px);
}

.session-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.session-card h2 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.session-card p {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 20px;
}

.session-btn {
  display: inline-block;
  background-color: #032775;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.session-btn:hover {
  background-color: #dfb459;
  color:black;
}

/* Dark mode styles */
.dark-mode .session-card {
  background-color: #2b2b2b;
  color: #f1f1f1;
}
.dark-mode .session-card p {
  color: #ccc;
}
.dark-mode .session-btn {
  background-color: #66bb6a;
}
.dark-mode .session-btn:hover {
  background-color: #57a05a;
}


.session-container {
      max-width: 600px;
      margin: 60px auto;
      padding: 30px;
      background-color: #fff;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .dark-mode .session-container {
      background-color: #2b2b2b;
    }

    h1 {
      font-size: 2em;
      margin-bottom: 10px;
    }

    .mood-selector {
      display: flex;
      justify-content: center;
      gap: 15px;
      font-size: 2rem;
      margin: 20px 0;
    }

    .mood {
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .mood:hover {
      transform: scale(1.2);
    }

    .response-box {
      margin-top: 30px;
      padding: 20px;
      background-color: #e6f4ea;
      border-left: 6px solid #4CAF50;
      border-radius: 10px;
      display: none;
    }

    .dark-mode .response-box {
      background-color: #374a3f;
    }

    .back-link {
      display: inline-block;
      margin-top: 30px;
      text-decoration: none;
      color: #4CAF50;
      font-weight: bold;
    }

    .back-link:hover {
      text-decoration: underline;
    }

    .dark-mode .back-link {
      color: #8bc34a;
    }
    .picker-container {
      max-width: 600px;
      margin: 60px auto;
      padding: 30px;
      background-color: #fff;
      border-radius: 16px;
      text-align: center;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .dark-mode .picker-container {
      background-color: #2b2b2b;
    }

    h1 {
      font-size: 2em;
      margin-bottom: 15px;
    }

    .thought-btn {
      margin-top:20px;
      background-color: #032775;
      color: white;
      border: none;
      padding: 12px 24px;
      font-size: 1.1em;
      border-radius: 30px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .thought-btn:hover {
      background-color: #43a047;
    }

    .thought-box {
      margin-top: 30px;
      padding: 20px;
      background-color: #e1f5e5;
      border-left: 5px solid #032775;
      border-radius: 10px;
      min-height: 80px;
      display: none;
    }

    .dark-mode .thought-box {
      background-color: #374a3f;
    }

    .back-link {
      display: inline-block;
      margin-top: 30px;
      text-decoration: none;
      color: #032775;
      font-weight: bold;
    }

    .back-link:hover {
      text-decoration: underline;
    }

.what-is-therapy {
  align-items: center;
  text-align: justify;
  background-color: #f9fdfb;
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.what-is-therapy h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #032775;
}

.what-is-therapy h3 {
  margin-top: 25px;
  color: #388e3c;
  font-size: 1.3em;
}

.what-is-therapy ul {
  padding-left: 20px;
  margin: 10px 0 20px 0;
}

.what-is-therapy ul li {
  margin-bottom: 8px;
}

.what-is-therapy a {
  color: #2e7d32;
  text-decoration: underline;
}

.closing-line {
  font-weight: bold;
  margin-top: 30px;
  font-size: 1.1em;
  color: #444;
}

/* Dark mode support */
.dark-mode .what-is-therapy {
  background-color: #1f1f1f;
  color: #e0e0e0;
}

.dark-mode .what-is-therapy h2,
.dark-mode .what-is-therapy h3 {
  color: #8bc34a;
}

.dark-mode .what-is-therapy a {
  color: #a5d6a7;
}

/* Hide toggle on desktop, show on mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #F9CC48;
  user-select: none;
}

/* Wrapper around nav + controls */
.menu-wrapper {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Responsive layout */
@media (max-width: 768px) {
  /* Show the three-dot menu on mobile */
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* By default, hide the menu content */
  .menu-wrapper {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: rgba(19, 74, 192, 0.95);
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }

  /* Show menu when active */
  .menu-wrapper.active {
    display: flex;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .controls {
    justify-content: center;
    margin-top: 10px;
    gap: 12px;
    width: 100%;
  }

  .header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Reduce header padding on mobile */
  .header {
    padding: 10px 15px;
  }

  .logo {
    font-size: 24px;
  }

  .slogan {
    font-size: 12px;
  }

  .nav a {
    font-size: 16px;
    padding: 5px 0;
  }

  .controls button {
    font-size: 13px;
    padding: 8px 12px;
  }

  .toggle-switch {
    width: 50px;
    height: 26px;
  }

  .toggle-switch .slider {
    width: 20px;
    height: 20px;
    top: 3px;
    left: 3px;
  }

  body.dark-mode .toggle-switch .slider {
    transform: translateX(24px);
  }
}


/* For small screens (below 480px) */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .controls button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .nav a {
    font-size: 14px;
  }
}

/* 
.dropdown-submenu {
  position: relative;
}

.dropdown-subcontent {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #e3f2fd;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dropdown-submenu:hover .dropdown-subcontent {
  display: block;
}

/* Arrow indicator for submenu */
.arrow {
  float: right;
  margin-left: 10px;
  font-size: 0.8em;
} */

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #4facfe;
  margin: 20px auto;
  animation: none; /* Disabled by default */
}

@keyframes breathe {
  0%, 100% { transform: scale(0.8); opacity: 0.3; } /* Exhale */
  50% { transform: scale(1.5); opacity: 1; } /* Inhale */
}

#start-btn {
  padding: 10px 20px;
  background: #4facfe;
  color: white;
  border: none;
  cursor: pointer;
}

.instructions {
  font-size: 1.2em;
  color: #4facfe;
  text-align: center;
}

#sound-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}


.puzzle-container {
  display: grid;
  grid-template-columns: repeat(2, 200px); /* For a 2x2 puzzle */
  grid-template-rows: repeat(2, 200px);
  gap: 10px;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  position: relative;
}

.puzzle-piece {
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.puzzle-piece:hover {
  opacity: 0.8;
}

.puzzle-piece.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.puzzle-piece[data-id="1"] {
  background-image: url('image.jpg');
  background-position: 0 0;
}

.puzzle-piece[data-id="2"] {
  background-image: url('image.jpg');
  background-position: -200px 0;
}

.puzzle-piece[data-id="3"] {
  background-image: url('image.jpg');
  background-position: 0 -200px;
}

.puzzle-piece[data-id="4"] {
  background-image: url('image.jpg');
  background-position: -200px -200px;
}


/* therapy.css */

.therapy-101 {
  background-color: #f2f7ff;
  padding: 3rem 1.5rem;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.therapy-container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
}

.therapy-101 h2 {
  font-size: 2rem;
  color: #134ac0;
  margin-bottom: 1rem;
}

.therapy-101 h3 {
  color: #333;
  margin-top: 1.8rem;
  font-size: 1.3rem;
}

.therapy-101 ul {
  list-style-type: none;
  padding-left: 0;
}

.therapy-101 ul li {
  margin: 0.6rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.therapy-101 ul li::before {
  content: '';
  position: absolute;
  left: 0;
  color: #134ac0;
}

.therapy-101 .closing {
  margin-top: 2rem;
  font-weight: bold;
  color: #134ac0;
  font-size: 1.1rem;
  text-align: center;
}

/* Responsive styling */
@media (max-width: 768px) {
  .therapy-container {
    padding: 1.5rem;
  }

  .therapy-101 h2 {
    font-size: 1.6rem;
  }

  .therapy-101 h3 {
    font-size: 1.1rem;
  }

  .therapy-101 ul li {
    font-size: 0.95rem;
  }
}

body.dark-mode .therapy-101 {
  background-color: #0d1117;
  color: #e6edf3;
}

body.dark-mode .therapy-container {
  background: #161b22;
  color: #e6edf3;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

body.dark-mode .therapy-101 h2 {
  color: #58a6ff;
}

body.dark-mode .therapy-101 h3 {
  color: #c9d1d9;
}

body.dark-mode .therapy-101 ul li::before {
  color: #58a6ff;
}

body.dark-mode .therapy-101 .closing {
  color: #58a6ff;
}


/* Base */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content, .dropdown-subcontent {
  display: none;
  position: absolute;
  background-color: #3b5998;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 1000;
}

.dropdown-content a,
.dropdown-subcontent a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover,
.dropdown-subcontent a:hover {
  background-color: #2a4371;
}

/* Positioning main content */
.dropdown-content {
  top: 100%;
  left: 0;
}

/* Submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-subcontent {
  top: 0;
  left: 100%;
}

/* Show on hover */
.dropdown:hover .dropdown-content {
  display: block;
  border-radius:6px;
  
}

.dropdown-submenu:hover .dropdown-subcontent {
  display: block;
}

/* Dark mode support */
.dark-mode .dropdown-content,
.dark-mode .dropdown-subcontent {
  background-color:#3b5998 ;
}

.dark-mode .dropdown-content a,
.dark-mode .dropdown-subcontent a {
  color:white;
}

.dark-mode .dropdown-content a:hover,
.dark-mode .dropdown-subcontent a:hover {
  background-color: #2a4371;
  color:#ffd700;
}

.clear_btn {
      background:#032775;
      color: white;
      border: 1px solid #e1e8ed;
      text-wrap: nowrap;
      padding-left:5px;
      padding-right:5px;
      border-radius:20px;
    }

    .clear_btn:hover {
      background: #dfb459;
      color: #032775;
    }

.dark-mode .clear_btn {
    background: #2b2b2b;
    color: #e0e0e0;
    border: 1px solid #444;
}
.dark-mode .clear_btn:hover {
    background: #444;
    color: #f0f0f0;
}