body{
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f0f8;
    color: #2d2d2d;
    line-height: 1.6;
}
.container{
    width:90%;
    max-width:1200px;
    margin: auto;
}
h1 h2 h3 {
    font-weight: 600;
}
.top-bar{
    background: #e0dbed;
    padding: 0.3rem 0;
    font-size: 0.6rem;
    text-align: center;
}
.top-bar .promo{
    margin-left: 1rem;
    color: #6b3fa0;
}
.navbar{
    background: white;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}
.nav-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    font-size: 1.5rem;
    font-weight: bolder;
    color: #6b3fa0;
}
.nav-links{
    list-style: none;
    display: flex;
    gap: 1rem;
}
.nav-links a {
    text-decoration: none;
    color: #2d2d2d;
}
.icon-btn{
    background: #c2b6e5;
    color: #2d2d2d;
    padding: 0.6rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: background o.3s;
}
.icon-btn:hover{
    background: #a594d9;
    color: white;
}
.nav-btns{
    margin-left: 0.5rem;
}
.btn-primary{
    background: #6b3fa0;
    color:white;
    padding: 0.4rem 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}
.hero{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    height: 33vh;
    position: relative;
}
.hero-content{
    max-width: 50%;
    align-self: flex-start;
    /* Ensure text stays at top left */
}
.hero .image-container{
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    padding: 0;
    margin: 0;
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    height: auto;
}
.hero .image-container img{
    width: 100%;
  padding: 1rem;
    object-fit: contain;
    display: block;
}
.hero h1{
    font-size: 3rem;
    margin-bottom: 0.3rem;
}
.hero p{
    font-size: 1rem;
    margin-bottom: 1.2rem;
}
.btn-secondary{
    background: #c2b6e5;
    color: #2d2d2d;
   padding: 0.4rem 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}
.features-container{
    text-align: center;
    padding: 0;
}
.features-container h2{
    font-size: 2rem;
    color: #2d2d2d;
    display: inline-flex;
    align-items: center;
    gap: 0rem;
}
.feature-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1.5rem;
    margin-top: 0rem;
}
.card{
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card i{
    color: #6b3fa0;
    align-items: center;
    display: flex;
    justify-content: center;
}
.booking{
    background: #eaf2f4;
    padding: 3rem 0;
    text-align: center;
}
.booking form{
    display: grid;
    gap: 0.7rem;
    margin: auto;
    max-width: 500px;
}
.booking input, .booking select{
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.therapists-container{
    padding: 2rem 0;
    text-align: center;
}
.therapist-grid{
    display: flex;
    gap:2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.t-card{
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.t-card img{
    border-radius: 50%;
    margin-bottom: 1rem;
}
img{
    width: 135px;
    height: 180px;
}
.blog-container{
    padding: 2rem 0;
    text-align: center;
}
.blog-grid{
    display: flex;
    gap:2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.b-card{
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.b-card img{
    width: 100%;
        border-radius: 5px;
    margin-bottom: 1rem;
}
.newsletter{
    background: #c2b6e5;
    padding: 2rem;
    text-align: center;
}
.newsletter form{
    display: flex;
    margin-top: 1rem;
    justify-content: center;
}
.newsletter input{
    padding: 0.8rem;
    border:none;
    width: 250px;
    border-radius: 5px 0 0 5px;
}
.newsletter button{
    border-radius: 0 5px 5px 0;
}
.contact-container{
    padding: 2rem 0;
    text-align: center;
}
.contact-container form{
    display: grid;
    gap:1rem;
    max-width: 500px;
    margin: auto;
}
.contact-container input, .contact-container textarea{
    padding: 0.8rem;
    border:1px solid #ccc;
    border-radius: 5px;
}
footer{
    background: #2d2d2d;
    color: white;
    padding: 1.5rem 0;
    align-items: center;
}
.container-footer-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer ul{
    list-style: none;
    display: flex;
    gap: 1rem;
}
footer a{
    color: white;
    text-decoration: none;
}
.chat-widget{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: "poppins", sans-serif;
}
.chat-btn{
    background-color: #a594d9;
    color: white;
    border: none;
    border-radius: 50%;
    width:55px;
    height: 55px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.3s;
}
.chat-btn:hover{
    background-color: #8e7cc3;
    transform: scale(1.05);
}
.chat-box{
    width:440px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 5px;
    right: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}
.hidden{
    display:none;
}
.chat-header{
    background: linear-gradient(120deg,#c2b6e5,#a594d9);
    padding: 1rem;
    color: #2d2d2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.chat-body{
    padding: 1rem;
    height: 320px;
    overflow-y: auto;
    background-color: #f9f7fc;
}
.message{
    margin: 0.5rem 0;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.5;
    animation: fadeInUp 0.3s ease;
}
.user-msg{
    background-color: #a594d9;
    color:white;
    margin-left: auto;
    text-align: right;
}
.bot-msg{
    background-color: #e8e3f4;
    color: #333;
    margin-right: auto;
}
.typing{
    display: flex;
    align-items: center;
    gap: 5px;
}
.typing-dot{
    width: 6px;
    height: 6px;
    background-color: #a594d9;
    border-radius: 50%;
    animation: typingBlink 2s infinite ease-in-out;
}
.typing-dot:nth-child(2){
    animation-delay: 0.3s;
}
.typing-dot:nth-child(3){
    animation-delay: 0.5s;
}
.chat-input-area{
    display: flex;
    padding: 0.8rem;
    border-top: 1px solid #ddd;
    background: #fff;
}
.chat-input-area input{
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 20px;
    outline: none;
    background-color: #f2f2f2;
    margin-right: 0.5rem;
}
.chat-input-area button {
    background-color: #a594d9;
    border: none;
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.chat-input-area button:hover {
    background-color: #8e7cc3;
}


@keyframes typingBlink{
    0%, 80%, 100% { opacity: 0;}
    40%{ opacity: 1;}
}
@keyframes fadeInUp{
    from{
        opacity: 0; transform: translateY(10px);
    } to {
        opacity: 1; transform: translateY(0);
    }
}
@keyframes fadeIn{
    from{
        opacity: 0; transform: scale(0.95);
    }to{
        opacity: 0; transform: scale(1);
    }

}
.blur-active{
    filter:  blur(4px);
    transition: filter 0.4s ease;
    pointer-events: none;
}
.highlight {
    box-shadow: 0 0 15px rgba(165, 148, 217, 0.8);
}




/* ===============================
   🌐 RESPONSIVE DESIGN STYLES
   =============================== */
/* ----- Tablets (≤ 1024px) ----- */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    padding: 2rem 1rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero .image-container {
    position: static;
    width: 60%;
    margin-top: 1.5rem;
  }
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .therapist-grid,
  .blog-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .t-card,
  .b-card {
    width: 45%;
  }
  .chat-box {
    width: 350px;
    bottom: 10px;
    right: 10px;
  }
}
/* ----- Phones (≤ 768px) ----- */
@media (max-width: 768px) {
  .nav-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo{
    font-weight: bold;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav-links a {
    display: block;
    padding: 0.5rem 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero .image-container {
    width: 70%;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .t-card,
  .b-card {
    width: 80%;
  }
  .newsletter form {
    flex-direction: column;
  }
  .newsletter input {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 0.5rem;
  }
  .newsletter button {
    width: 100%;
    border-radius: 5px;
  }
  .contact-container form {
    width: 90%;
  }
  footer .container-footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .chat-box {
    width: 100%;
    right: 5%;
    height: 95%;
    
  }
  .chat-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
/* ----- Small Phones (≤ 480px) ----- */
@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  .nav-links {
    gap: 0.3rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .features-container h2{
    font-size: 1.8rem ;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .t-card,
  .b-card {
    width: 100%;
  }
  .booking form {
    width: 90%;
  }
  .chat-box {
    width: 95%;
    right: 2.5%;
  }
  .chat-header {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  .chat-body {
    height: 250px;
  }
  .chat-input-area input {
    font-size: 0.85rem;
  }
  .chat-input-area button {
    padding: 0.5rem 0.7rem;
  }
  footer ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* ----- Landscape Phones (≤ 360px) ----- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .chat-box {
    width: 100%;
    right: 0;
    border-radius: 0;
  }
  .chat-body {
    height: 220px;
  }
}
/* Hamburger Menu Base */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #6b3fa0;
}
/* For Phones and Tablets */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    
    margin-left: 305px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    transition: max-height 0.3s ease;
  }
  .nav-links.show {
    display: flex;
    animation: dropdown 0.3s ease;
  }
  @keyframes dropdown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-links a {
    padding: 1rem 0;
    display: block;
    width: 100%;
    color: #2d2d2d;
  }
  .nav-btns{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-top: -30px;
  }
}