/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Open+Sans&display=swap');

:root {
  --header-height: 3rem;
  --font-semi: 600;
  /*===== Colores =====*/
  /*Purple 260 - Red 355 - Blue 224 - Pink 340*/
  /* HSL color mode */
  --hue-color: 187;
  --hue-colour: 0;
  --first-color: hsl(var(--hue-color), 100%, 42%);
  --second-color: hsl(var(--hue-colour), 80%, 11%);
  /*===== Fuente y tipografia =====*/
  --body-font: "Poppins", sans-serif;
  --big-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;
  /*===== Margenes =====*/
  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*===== z index =====*/
  --z-back: -10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .875rem;
  }
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--second-color);
  background-color: #e9ecef;
}

#home {
    padding-top: 80px;
}


h2 {
    color: #00000;
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
}

h4 {
    color: #00000;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 8px;
    color: black;
    text-align: center;
}

h3{
    color: #28a745;
    font-size: 16px;
    text-align: center;
}

header {
    background-color: #e9ecef;
    color: #28a745;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto; /* Adjust height as needed */
    font-weight: bolder;
    margin-bottom: 8px;
    font-style: arial black;
}


button {
  font-family: 'Nunito', sans-serif;
}

.home__title {
  font-size: 1.5rem;
  margin-bottom: 0px;
  margin-left: 8px;
  color: #28a745;
  margin-bottom: 10px;
}
.home__title-color {
  color: #00BCD4;
  font-size: 1.5rem;
  margin-left: 8px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}



@media (min-width: 992px) {
    h4 {
    font-size: 32px;
    margin-top: 25px;
    margin-bottom: 10px;
    }
    
    .home__title-color {
  font-size: 2rem;
  margin-left: 25px;
    }

}


@media (min-width: 1200px) {
     h4 {
    font-size: 4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    }
    
    .home__title {
  font-size: 2.5rem;
  margin-left: 32px;
    }
    
}



/* styles.css */

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #e9ecef;
    padding: 8px;
}


.nav__toggle {
    z-index: 101; /* Higher than the header's z-index */
}


/*===== NAV =====*/
.nav {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
@media screen and (max-width: 992px) {
  .nav__menu {
    position: fixed;
    top: 4rem;
    right: -100%;
    width: 80%;
    height: auto;
    padding: 2rem;
    background-color: white;
    transition: 0.5s;
    border-bottom-left-radius: 30px;
    text-align: center;
    filter: drop-shadow(0 0 30px #90A4AE);
  }
}
.nav__item {
  margin-bottom: 2rem;
  color: #000000;
}
.nav__link {
  position: relative;
  color: black;
}
.nav__link:hover {
  position: relative;
}
.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: whitesmoke;
  font-size: 18px;
}

#active{
    color: #28a745;
}
.nav__logo {
  color: #000000;
}
/* styles.css */

.nav__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 51;
    cursor: pointer;
    color: var(--text-color); /* Adjust if needed */
    font-size: 1.7rem;
    font-weight: bolder;    
    background-color: white;
    padding: 4px 6px 0px 6px;
    margin-bottom:  4px;
    border-radius: 4px;
    text-align: center;
    filter: drop-shadow(0 0 15px #90A4AE);
}


/*Active menu*/
.active-link::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  color: #28a745;
  background-color: #00BCD4;
}

/*=== Show menu ===*/
.show {
  right: 0;
}



@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .section-title {
    margin-bottom: 3rem;
  }
  .section-title::after {
    width: 80px;
    top: 3rem;
  }
  .nav {
    
  }
  .nav__list {
    display: flex;
    padding-top: 0;
  }
  .nav__item {
    margin-left: 3rem;
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .nav__link {
    color: var(--second-color);
  }
  .profile-card img {
    width: 150px;
    height: 150px;
  }
  .profile-card {
    background-color: none;
    border-radius: 8px;
    min-width: 166px; /* Adjust as needed */
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  h3{
    color: green;
    font-size: 20px;
  }
  
  #featured-professionals p2 {
    margin-bottom: 4px;
    margin-top: 16px;
    font-size: 18px;
   }
}
}
@media screen and (min-width: 992px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}




/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #00BCD4;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Tools section */
.tools-container {
  display: flex;
  overflow-x: auto;
  padding-bottom: 15px;
  gap: 15px;
}

.tool-card {
  min-width: 250px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  flex-shrink: 0;
}

.tool-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.tool-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2em;
}

.tool-card p {
  font-size: 0.9em;
  color: #6c757d;
  margin-bottom: 10px;
}

/* ===== Loading Animation Styles ===== */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e9ecef; /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure it's on top of the content */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--loading-color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profiles-container.loading,
.products-container.loading,
.blogs-container.loading {
    opacity: 0.5; /* Fade out content while loading */
}


/* ===== Modern Hero Slider ===== */
/* ===== MOBILE-FRIENDLY SLIDER ===== */
.hero-slider {
    position: relative;
    margin: 80px 8px 10px 8px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 200px; /* Smaller height for mobile */
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 15px;
}

.slide-content h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.slide-content p {
    font-size: 0.8rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.slider-prev, .slider-next {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Touch improvements */
.slider-container {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* ===== Modern Hero Slider ===== */
/* Mobile styles remain untouched */

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .hero-slider {
        margin: 80px 10px 30px 10px;
        max-width: 1400px;
        border-radius: 24px;
        height: 500px;
    }

    .slider-container {
        height: 100%;
    }

    .slide {
        min-height: 500px;
        position: relative;
    }

    .slide img {
        object-position: center;
    }

    .slide-content {
        padding: 40px;
        max-width: 60%;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        background: linear-gradient(to right, rgba(0,0,0,0.8), transparent);
    }

    .slide-content h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 1.2rem;
        -webkit-line-clamp: 4;
        line-height: 1.5;
    }

    .slider-controls {
        bottom: 30px;
        gap: 20px;
    }

    .slider-prev, .slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .slider-dots {
        gap: 10px;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-slider {
        height: 600px;
    }

    .slide {
        min-height: 600px;
    }

    .slide-content {
        max-width: 50%;
        padding: 60px;
    }

    .slide-content h2 {
        font-size: 3rem;
    }

    .slide-content p {
        font-size: 1.4rem;
    }

    .slider-controls {
        bottom: 40px;
    }
}

/* 4K Screens */
@media (min-width: 2000px) {
    .hero-slider {
        height: 800px;
        max-width: 2000px;
    }

    .slide {
        min-height: 800px;
    }

    .slide-content h2 {
        font-size: 4rem;
    }

    .slide-content p {
        font-size: 1.8rem;
    }
}
  
    
/* Join Practitioner Section */
.join-practitioner22 {
    background: linear-gradient(135deg, #00BCD4, #3182ce);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin: 2rem 0;
}

.join-container22 {
    max-width: 800px;
    margin: 0 auto;
}

.join-container22 h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.join-container22 p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-button22 {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1rem 0;
    width: 80%;
}

.whatsapp-button22:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


/* Join Practitioner Section */
.ai-therapists{
    background: linear-gradient(135deg, #28a745, #3182ce);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin: 2rem 0;
}

.join-container22 {
    max-width: 800px;
    margin: 0 auto;
}

.join-container22 h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.join-container22 p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.therapists-button {
    background-color: #fffff;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1rem 0;
    width: 80%;
}

.therapists-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}



/* Centered Modern Footer */
/* Modern Centered Footer */
.modern-footer {
    background-color: #2a3b4d;
    color: #ffffff;
    padding: 4rem 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    place-items: center;
}

.footer-column {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-column h3 {
    color: #00BCD4;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #00BCD4;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #00BCD4;
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #00BCD4;
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-column ul li a:hover {
    color: #00BCD4;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.contact-info i {
    color: #00BCD4;
    font-size: 1.1rem;
}

.newsletter-form {
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form button {
    padding: 0.8rem;
    background-color: #00BCD4;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #008ba3;
}

.footer-bottom {
    background-color: #1f2a36;
    padding: 1.5rem;
    margin-top: 3rem;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #00BCD4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-column {
        max-width: 100%;
    }
    
    .legal-links {
        gap: 1rem;
    }
}


/* Auth Modal */
#auth-modal .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #00BCD4;
    border-bottom: 3px solid #00BCD4;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #00BCD4;
    outline: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.modal .close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.modal .close:hover {
    color: #ff0000;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    display: none;
    margin-bottom: 1rem;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 70%;
    margin-left: 30px;
    width: 100%;   
    }

#login-btn {
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

#login-btn:hover {
    color: #00BCD4;
}

#logout-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    width: 100%;
}

#logout-btn:hover {
    background: #bb2d3b;
}

/* Auth Modal Styling */
#auth-modal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #00BCD4;
    border-bottom: 3px solid #00BCD4;
}

.auth-form {
    display: none;
    text-align: center;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #00BCD4;
    outline: none;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff0000;
}

button{
    background-color: #28a745;
    width: 60%;
    font-size: 18px;
    padding: 5px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}



/* Add to your CSS */
.cta-button {
    background: #00BCD4;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1rem 0;
    width: 80%;
}

.cta-button:hover {
    background: #008ba3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.become-supplier {
    position: relative;
    z-index: 1; /* Ensure it's above the fixed header */
    padding: 2rem 1rem;
    text-align: center;
    background: #f8f9fa;
    margin: 50px;
}

@media screen and (min-width: 992px) {
  .whatsapp-button, .cta-button {
    width: 40%;
    font-size: 23px;  
  }
}

/* Fix modal z-index */
.modal {
    z-index: 2000; /* Higher than navigation */
}

/* Fix form input binding */
#supplier-form input,
#supplier-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}


/* Add to profile.css */
.nav-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--primary-color); /* You might have a different variable for your primary color */
}

.profile-image-nav {
    display: none; /* Initially hidden */
    margin-left: auto;
    margin-right: 1rem;
}

@media (max-width: 991px) { /* Example breakpoint, adjust as needed */
    .logged-in .nav__toggle { /* You might not need this if you're handling it in JS */
        display: none;
    }

    .logged-in .profile-image-nav { /* You might not need this if you're handling it in JS */
        display: block !important;
    }
}

@media (min-width: 992px) {
    .profile-image-nav {
        display: block !important; /* Show on desktop */
        order: 2; /* Adjust order if needed */
    }

    .nav-profile-img {
        width: 45px;
        height: 45px;
    }
}

/* Styles for logged-in desktop view */
@media (min-width: 992px) { /* Adjust breakpoint if needed */
  .nav__menu {
    display: flex; /* Use flexbox to control layout */
    align-items: center; /* Vertically center items */
  }

  .nav__list {
    margin-right: auto; /* Push the navigation list to the left */
  }

  .profile-image-nav {
    margin-left: 0.5rem; /* Add some spacing between the menu and the profile image */
  }
}

/* Modify the existing media query */
@media (min-width: 992px) {
  /* Only show profile image when logged in */
  .logged-in .profile-image-nav {
    display: block !important;
  }

  .nav-profile-img {
    width: 45px;
    height: 45px;
  }
}

/* Add this new rule to handle default state */
.profile-image-nav {
  display: none !important;
}

/* Show only when logged in (for all screen sizes) */
.logged-in .profile-image-nav {
  display: block !important;
}



/* ads.css */
/* ads.css - Styles for advertisement containers and fallback content */

/* Ad Container Styles */
.ad-container {
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ad-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px; /* Minimum height */
    min-width: 300px; /* Minimum width */
    background-color: #f0f0f0; /* Fallback color */
}

/* Fallback content styles */
.ad-fallback {
    padding: 20px;
    background: #e9f7fe;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.ad-fallback h3 {
    color: #00BCD4;
    margin-top: 0;
    font-size: 1.2rem;
}

.ad-fallback p {
    margin: 10px 0 20px;
    color: #495057;
    font-size: 0.9rem;
}

.ad-fallback a {
    display: inline-block;
    background: #00BCD4;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.ad-fallback a:hover {
    background: #0097a7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-container {
        margin: 20px 10px;
        padding: 15px;
    }
    
    .ad-content {
        min-height: 200px;
        min-width: 250px;
    }
    
    .ad-fallback {
        padding: 15px;
    }
    
    .ad-fallback h3 {
        font-size: 1.1rem;
    }
    
    .ad-fallback p {
        font-size: 0.85rem;
    }
    
    .ad-fallback a {
        padding: 8px 16px;
    }
}


/* Floating AI Assistant Button */
.floating-ai-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00BCD4, #28a745);
  color: white;
  border-radius: 50px;
  padding: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-ai-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #00a5bb, #2c6db5);
}

.floating-ai-button i {
  font-size: 28px;
}

.ai-button-text {
  margin-left: 10px;
  font-weight: 600;
  font-size: 18px;
}

/* Hide text on mobile devices */
@media (max-width: 767px) {
  .ai-button-text {
    font-size: 15px;
  }
  
  .floating-ai-button {
    padding: 15px;  
    height: 50px;
    border-radius: 50px;
  }
}

/* Tablet and Desktop adjustments */
@media (min-width: 768px) {
  .floating-ai-button {
    padding: 15px 25px;
  }
}

.floating-ai-button22 {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #28a745, #00BCD4);
  color: white;
  border-radius: 50px;
  padding: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-ai-button22:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #00a5bb, #2c6db5);
}

.floating-ai-button22 i {
  font-size: 28px;
}

.ai-button-text22 {
  margin-left: 10px;
  font-weight: 600;
  font-size: 18px;
}

/* Hide text on mobile devices */
@media (max-width: 767px) {
  .ai-button-text22 {
    font-size: 15px;
  }
  
  .floating-ai-button22 {
    padding: 15px;  
    height: 50px;
    border-radius: 50px;
  }
}

/* Tablet and Desktop adjustments */
@media (min-width: 768px) {
  .floating-ai-button22 {
    padding: 15px 25px;
  }
}

.ad-content {
    min-width: 300px;  /* Standard ad width */
    min-height: 250px; /* Standard ad height */
    background: #f0f0f0; /* Fallback color */
}

/* Ad container base styles */
.ad-container {
  margin: 2rem auto;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  max-width: 1200px;
}

.ad-content {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-fallback {
  padding: 1.5rem;
  background: #e9f7fe;
  border-radius: 8px;
}

.fallback-cta {
  display: inline-block;
  background: #00BCD4;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 0.5rem;
}

/* Ensure containers have initial size */
#ad-middle-content,
#ad-bottom-content {
  min-width: 300px;
  min-height: 250px;
}


/* Terms agreement styling */
.terms-agreement {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 0.9rem;
}

.terms-agreement input {
    margin-right: 8px;
}

.terms-agreement a {
    color: #3498db;
    text-decoration: underline;
}

/* Register link styling */
.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 1.0rem;
}

.register-link a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Designs Section Styles */
#designs-section {
    padding: 20px;
    background-color: white;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}

.designs-slider-container {
    position: relative;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    max-width: 1200px;
    height: 300px;
}

.designs-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.design-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.design-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.designs-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.designs-prev, .designs-next {
    background: rgba(0, 188, 212, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.designs-prev:hover, .designs-next:hover {
    background: rgba(0, 188, 212, 1);
}

.designs-dots {
    display: flex;
    gap: 8px;
}

.designs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.designs-dot.active {
    background: #00BCD4;
    transform: scale(1.2);
}

#view-more-designs {
    background: linear-gradient(145deg, #00BCD4, #28a745);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    filter: drop-shadow(0 0 7px #90A4AE);
}

#view-more-designs:hover {
    background-color: #128C7E; /* Darker WhatsApp green */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .designs-slider-container {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .designs-slider-container {
        height: 500px;
    }
    
    #view-more-designs {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}

.ad-container {
    margin: 2rem 0;
    text-align: center;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
}


/* Password toggle styles */
.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #00BCD4;
}

.password-toggle i {
    font-size: 1.3rem;
}

/* Forgot password styles */
.forgot-password {
    text-align: right;
    margin: -10px 0 15px 0;
}

.forgot-password a {
    color: #00BCD4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #008ba3;
    text-decoration: underline;
}

/* Adjust input padding to accommodate toggle icon */
.password-group input {
    padding-right: 45px !important;
}


/* Teletherapy CTA Section */
.teletherapy-cta {
    background: linear-gradient(135deg, #00BCD4, #28a745); /* teal to green */
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin: 2rem 0;
}

/* Reuse existing .join-container22 and .whatsapp-button22 styles */
.join-container22 {
    max-width: 800px;
    margin: 0 auto;
}

.join-container22 h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.join-container22 p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-button22 {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 1rem 0;
    width: 80%;
}

.whatsapp-button22:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Teletherapy CTA Section with Floating Icons */
.teletherapy-cta {
    background: linear-gradient(135deg, #00BCD4, #28a745);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.teletherapy-cta .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.teletherapy-cta .floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    animation: float-slow 8s infinite ease-in-out;
}

/* Position each icon randomly */
.teletherapy-cta .floating-icons i:nth-child(1) { top: 10%; left: 5%; }
.teletherapy-cta .floating-icons i:nth-child(2) { bottom: 20%; left: 15%; animation-delay: 1s; }
.teletherapy-cta .floating-icons i:nth-child(3) { top: 30%; right: 10%; animation-delay: 2s; }
.teletherapy-cta .floating-icons i:nth-child(4) { bottom: 15%; right: 20%; animation-delay: 3s; }
.teletherapy-cta .floating-icons i:nth-child(5) { top: 60%; left: 25%; animation-delay: 0.5s; }
.teletherapy-cta .floating-icons i:nth-child(6) { bottom: 40%; right: 15%; animation-delay: 1.5s; }

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Pulse animation for button */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
    100% { transform: scale(1); }
}