/********** Template CSS **********/
:root {
    --primary: royalblue;
    --secondary: black;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 30px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease-in-out;
  z-index: 1;
}

@media (max-width: 576px) {
  .btn {
    margin-bottom: 30px;
  }
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 300%;
  height: 300%;
  background: var(--secondary);
  transition: all 0.4s ease-in-out;
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -80%) scale(0);
}

.btn-primary:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary:hover {
  color: #fff;
}

/* Secondary Button */
.btn-secondary {
  background: linear-gradient(135deg, var(--light), var(--primary));
  color: #FFFFFF;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 300%;
  height: 300%;
  background: var(--light);
  transition: all 0.4s ease-in-out;
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -80%) scale(0);
}

.btn-secondary:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-secondary:hover {
  color: var(--primary);
}

/* Button Sizes */
.btn-square {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
  border-radius: 5px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}


/* loader */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
  }
  
  .content {
    display: none;
  }
  
  .loading svg polyline {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .loading svg polyline#back {
    stroke: rgba(65, 105, 225, .40);
  }
  
  .loading svg polyline#front {
    stroke: var(--primary);
    stroke-dasharray: 48, 144;
    stroke-dashoffset: 192;
    animation: dash_682 1.4s linear infinite;
  }
  
  @keyframes dash_682 {
    72.5% {
      opacity: 0;
    }
  
    to {
      stroke-dashoffset: 0;
    }
  }

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

/* Navbar Styling */
.navbar {
    padding: 20px 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: 100px;
}

.navbar-brand img {
    height: 140px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.navbar-brand img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 4px rgba(65, 105, 225, 0.6));
}

.navbar-toggler {
    background-color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%281, 46, 113, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s, transform 0.3s, background 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: #FFD700;
    transform: scale(1.1);
    background: royalblue;
}

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #FFD700;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 3px;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Remove Dropdown Arrow */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .dropdown-item {
    color: black;
    font-size: 15px;
    padding: 10px 20px;
    transition: background 0.3s, transform 0.3s;
    border-radius: 5px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(65, 105, 225, .50);
    transform: translateX(5px);
}

.nav-button {
    background: linear-gradient(90deg, rgba(65, 105, 225, .70), rgba(65, 105, 225, .50));
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.4s ease;
}

.nav-button:hover {
    background: #ffffff;
    color: black;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.nav-btn.text-dark {
    color: #ffffff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(65, 105, 225, .50);
    transition: transform 0.4s, box-shadow 0.4s;
}

.nav-btn.text-dark:hover {
    transform: rotate(20deg);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .navbar-nav .nav-link {
        margin: 0 5px;
        font-size: 14px;
    }
    .btn-primary {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
  .nav-btn {
    margin-bottom: 25px;
    margin-top: 10px;
    margin-left: 20px;
  }
}

/* Navbar Toggle Styling */
.custom-toggler {
    background: transparent;
    border: none;
    outline: none;
    position: relative;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: black;
  }
  
  .custom-toggler .toggler-icon {
    position: relative;
    width: 30px;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease;
    border-radius: 2px;
    color: black;
    margin-right: 20px;
  }
  
  .custom-toggler .toggler-icon::before,
  .custom-toggler .toggler-icon::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
    color: black;
    align-items: center;
    justify-content: center;
  }
  
  .custom-toggler .toggler-icon::before {
    top: -8px;
    color: black;
  }
  
  .custom-toggler .toggler-icon::after {
    bottom: -8px;
    color: black;
  }
  
  /* When button is pressed (active) */
  .custom-toggler.collapsed .toggler-icon {
    background-color: transparent;
  }
  
  .custom-toggler.collapsed .toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .custom-toggler.collapsed .toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
  }
  

  .logo-styling {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rounded-image {
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-bg {
  background: linear-gradient(135deg, royalblue 0%, #87ceeb 50%, #00bfff 100%);
  background-size: 400% 400%;
  position: relative;
  overflow: hidden;
  animation: gradientShift 15s ease infinite;
  perspective: 1000px;
  margin-bottom: 50px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(45deg, 
      rgba(255,255,255,0.05) 0, 
      rgba(255,255,255,0.05) 10px, 
      transparent 10px, 
      transparent 20px
    ),
    radial-gradient(circle at 30% 70%, 
      rgba(255,255,255,0.3) 0%, 
      transparent 50%
    );
  opacity: 0.4;
  mix-blend-mode: overlay;
  transform-style: preserve-3d;
  transform: translateZ(100px);
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.05) 100%
  );
  border-radius: 44% 56% 70% 30% / 30% 54% 46% 70%;
  top: -100px;
  left: -100px;
  box-shadow: 
    0 0 50px rgba(0,0,0,0.1), 
    inset 0 0 30px rgba(255,255,255,0.1);
  animation: bubbleFloat 8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes bubbleFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(100px, 100px) scale(1.1) rotate(5deg);
  }
  50% {
    transform: translate(200px, 200px) scale(0.95) rotate(-5deg);
  }
  75% {
    transform: translate(100px, 100px) scale(1.05) rotate(3deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
 }

.hero-bg .shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    225deg, 
    rgba(255,255,255,0.15) 0%, 
    rgba(255,255,255,0.05) 100%
  );
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  bottom: 80px;
  right: 80px;
  box-shadow: 
    0 0 40px rgba(0,0,0,0.1), 
    inset 0 0 20px rgba(255,255,255,0.1);
  animation: floating 10s ease-in-out infinite alternate;
}

@keyframes shapeShift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(20deg) scale(1.1); }
}

@keyframes floating {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}


@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: 90px;
        z-index: 1;
        
    }
    .banner .col {
        position: relative;
        border-radius: 12px;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    
    .banner .col:hover {
        transform: translateY(-10px);
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.about-container {
    width: 100%;
    height: 100%;
    background: royalblue;
    background: radial-gradient(
        circle,
        royalblue,
        #87ceeb 30%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 40px 40px,
        royalblue,
        #87ceeb 30%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 600px 200px,
        royalblue,
        #87ceeb 10%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 800px 100px,
        royalblue,
        #87ceeb 10%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 700px 500px,
        royalblue,
        #87ceeb 2%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 200px 400px,
        royalblue,
        #87ceeb 1%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 300px 700px,
        royalblue,
        #87ceeb 15%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 900px 500px,
        royalblue,
        #87ceeb 20%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 650px 400px,
        royalblue,
        #87ceeb 10%, /* Slightly darker blue */
        rgba(135, 206, 250, 0) 0%
      ),
      radial-gradient(
        circle at 600px 600px,
        royalblue,
        #87ceeb 1%, /* Slightly darker blue */
        rgba(135, 206, 250, 0.8) 0%
      );
  }

  .about-container h5 {
    color: var(--secondary);
  }

  /* tooltip */
  

  /* Personal Care */
  .personal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.personal-header {
    background: royalblue;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.personal-row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}
.personal-col {
    flex: 1;
    padding: 15px;
    min-width: 300px;
}
.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
}
.activity-list {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.medical-alert {
  background: #ff6b6b;
  color: white;
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: center;
}
@media (min-width: 991.98px) {
  .service-image img{
    width: 450px;
    height: 300px;
    position: relative;
    left: 350px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.service-content {
    padding: 2rem;
}
.service-title {
    color: royalblue;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.service-description {
    color: black;
    margin-bottom: 1rem;
}
.highlight {
    background: royalblue;
    color: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}
.highlight h3 {
    color: white;
    margin-top: 0;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}
.benefits {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid royalblue;
}
.contact-section {
    background: royalblue;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-radius: 10px;
}
.testimonial {
    background: white;
    padding: 1.5rem;
    border-left: 5px solid royalblue;
    margin: 1.5rem 0;
    font-style: italic;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.service-box {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-bottom: 3px solid royalblue;
}
.service-box h3 {
  color: royalblue;
  margin-bottom: 1rem;
}

  .section-title h5::before {
    background: var(--light);
  }

  .service h5::before {
    background: var(--primary);
  }
  
  .section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.wow {
  visibility: visible;
}

html {
  scroll-behavior: smooth;
}

.footer-container {
  width: 100%;
  height: 100%;
  --s: 100px; /* control the size */
  --c1: #4169E1; /* Royal Blue */
  --c2: #000000; /* Black */

  --_g: var(--c2) 4% 14%, var(--c1) 14% 24%, var(--c2) 22% 34%,
    var(--c1) 34% 44%, var(--c2) 44% 56%, var(--c1) 56% 66%, var(--c2) 66% 76%,
    var(--c1) 76% 86%, var(--c2) 86% 96%;
  background: radial-gradient(
      100% 100% at 100% 0,
      var(--c1) 4%,
      var(--_g),
      #0008 96%,
      #0000
    ),
    radial-gradient(
        100% 100% at 0 100%,
        #0000,
        #0008 4%,
        var(--_g),
        var(--c1) 96%
      )
      var(--c1);
  background-size: var(--s) var(--s);
}

/* Footer Styling */
.footer {
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 10%, transparent 70%);
  animation: moveBg 10s linear infinite;
  z-index: 0;
}

/* Quick Links & Popular Links Styling */
.footer a {
  color: #bbb;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: transform 0.4s ease-in-out, color 0.3s ease-in-out;
}

/* Moving Effect on Hover */
.footer a:hover {
  color: #fff;
  transform: translateX(8px); /* Slide effect */
  text-shadow: 0 0 8px #00bcd4;
}

/* Animated Glowing Underline */
.footer a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: #00bcd4;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-in-out;
}

.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contact Info */
.footer p {
  color: #ddd;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover effect on Contact Info */
.footer p:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Social Icons */
.footer .btn {
  transition: transform 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Floating & Pulsating Social Icons */
.footer .btn:hover {
  transform: translateY(-5px) rotate(4deg);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.7);
}

/* Background Animation */
@keyframes moveBg {
  0% { transform: translateX(-50px) translateY(-50px); }
  50% { transform: translateX(50px) translateY(50px); }
  100% { transform: translateX(-50px) translateY(-50px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
      text-align: center;
  }

  .footer .d-flex {
      justify-content: center;
  }
}

.inputGroup {
  font-family: 'Segoe UI', sans-serif;
  margin: 1em 0 1em 0;
  max-width: 500px;
  position: relative;
}

.inputGroup input {
  font-size: 100%;
  padding: 0.8em;
  outline: none;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 20px;
  width: 100%;
}

.inputGroup label {
  font-size: 100%;
  position: absolute;
  left: 0;
  padding: 0.8em;
  margin-left: 0.5em;
  pointer-events: none;
  transition: all 0.3s ease;
  color: black;
}

.inputGroup :is(input:focus, input:valid)~label {
  transform: translateY(-50%) scale(.9);
  margin: 0em;
  margin-left: 1.3em;
  padding: 0.4em;
  background-color: royalblue;
}

.inputGroup :is(input:focus, input:valid) {
  border-color: #fff;
}

.newsletter-container {
  background: royalblue;
}

.newsletter-container h5::before {
  background: var(--light);
}

/* buttons */

/* back to top button */
.back-to-top {
  background: linear-gradient(45deg, royalblue, #4a90e2);
  color: white;
  position: fixed;
  display: none;
  padding: 12px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 24px;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  box-shadow: 0 0 10px rgba(65, 105, 225, 0.6);
  transition: all 0.3s ease-in-out;
}

/* Hover effect */
.back-to-top:hover {
  background: linear-gradient(45deg, #4a90e2, royalblue);
  color: black;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(65, 105, 225, 0.9);
}

/* Animation: Glowing effect */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.6);
  }
}

/* Apply the glowing effect */
.back-to-top {
  animation: glow 1.5s infinite alternate;
}
/* .back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
} */

/* banner button */
.banner-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #fff;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.banner-button:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: royalblue;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.banner-button:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.banner-button span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 18px 25px;
  color: black;
  font-size: 1.125em;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.banner-button:hover span {
  color: #fff;
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

.banner-button a {
  background: transparent;
  border: transparent;
}

.banner-button:hover a {
  background: transparent;
  border: transparent;
}


/* general button */
.general-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: black;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.general-button:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #fff;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.general-button:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.general-button span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 18px 25px;
  color: #fff;
  font-size: 1.125em;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.general-button:hover span {
  color: #183153;
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

.general-button a {
  background: transparent;
  border: transparent;
}

.general-button:hover a {
  background: transparent;
  border: transparent;
}


/* newsletter button */
.cta {
  position: relative;
  margin: auto;
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: #fff;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: black;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: black;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background: #fff;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.95);
}

.cta2 {
  position: relative;
  margin: auto;
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.cta2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background: royalblue;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.cta2 span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: black;
}

.cta2 svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: black;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta2:hover:before {
  width: 100%;
  background: royalblue;
}

.cta2:hover svg {
  transform: translateX(0);
}

.cta2:active {
  transform: scale(0.95);
}


/* .newsletter-container form {
  align-items: center;
  justify-content: center;
  position: relative;
  left: 350px;
} */

/* caregiver support group */
.caregiver-container {
  padding: 4rem 0;
}

.join-container {
  padding: 4rem 80px;
}

@media (max-width: 576px) {
  .caregiver-container {
    padding: 4rem 0;
  }
  
  .join-container {
    padding: 4rem 30px;
  }
}

.caregiver-header {
  color: #2c3e50;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.caregiver-lead {
  font-size: 1.25rem;
  color: #34495e;
  margin-top: 1rem;
}

/* Card Styling */
.caregiver-card {
  background: #ffffff;
  border: none;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caregiver-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* List Group Styling */
.caregiver-list-group {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caregiver-list-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 0.5rem;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.caregiver-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Accordion Styling */
.caregiver-accordion {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caregiver-accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.caregiver-accordion-button {
  background-color: royalblue;
  color: #ffffff;
  font-weight: bold;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.caregiver-accordion-button:hover {
  background-color: royalblue;
  color: black;
}

.caregiver-accordion-body {
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

/* Form Styling */
.caregiver-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caregiver-form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.caregiver-form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.caregiver-btn-primary {
  background-color: #3498db;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.caregiver-btn-primary:hover {
  background-color: #2980b9;
}

/* Contact Section Styling */
.caregiver-contact-section {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.caregiver-contact-link {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.caregiver-contact-link:hover {
  color: #2980b9;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.caregiver-fade-in-up {
  animation: fadeInUp 1s ease-out;
}

/* Form inputs */
.generalinput {
  position: relative;
  width: 300px;
  margin-left: 30px;
}

.generalinput input {
  position: relative;
  width: 100%;
  padding: 20px 10px 10px;
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
  color: #23242a;
  font-size: 1em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  z-index: 10;
}

.generalinput span {
  position: absolute;
  left: 0;
  padding: 20px 10px 10px;
  font-size: 1em;
  color: black;
  letter-spacing: 00.05em;
  transition: 0.5s;
  pointer-events: none;
}

.generalinput input:valid ~span,
.generalinput input:focus ~span {
  color: royalblue;
  transform: translateX(-10px) translateY(-34px);
  font-size: 0,75em;
}

.generalinput i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: royalblue;
  border-radius: 4px;
  transition: 0.5s;
  pointer-events: none;
  z-index: 9;
}

.generalinput input:valid ~i,
.generalinput input:focus ~i {
  height: 44px;
}

.generalinput textarea {
  position: relative;
  width: 100%;
  height: 200px; 
  padding: 20px 10px 10px;
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
  color: #23242a;
  font-size: 1em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  z-index: 10;
  resize: none; 
}

.generalinput textarea:valid ~ span,
.generalinput textarea:focus ~ span {
  color: royalblue;
  transform: translateX(-10px) translateY(-34px);
  font-size: 0.75em;
}

.generalinput textarea:valid ~ i,
.generalinput textarea:focus ~ i {
  height: 200px; 
}

.general-form div {
  margin-bottom: 20px;
}

.generalinput select {
  position: relative;
  width: 100%;
  padding: 20px 10px 10px;
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
  color: #23242a;
  font-size: 1em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  z-index: 10;
  appearance: none; /* Removes default dropdown styling */
}

.generalinput select:valid ~ span,
.generalinput select:focus ~ span {
  color: royalblue;
  transform: translateX(-10px) translateY(-34px);
  font-size: 0.75em;
}

.generalinput select:valid ~ i,
.generalinput select:focus ~ i {
  height: 44px;
}
