/********** Template CSS **********/

/********** Telephone Number Start **********/

.ringing-icon {
    display: inline-block;
    animation: ring 1.5s infinite;
    color: #ff5722;
    font-size: 20px;
    transform-origin: 0.5em 0.5em;
}

/* Keyframes for realistic ring movement */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(12deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    70% { transform: rotate(2deg); }
    80%, 100% { transform: rotate(0); }
}

/* Colorful animated phone number text */
.colorful-number {
    font-weight: bold;
    font-size: 18px;
    background: linear-gradient(90deg, #e91e63, #ff9800, #2196f3, #4caf50);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textColorFlow 5s ease infinite;
}

/* Gradient animation */
@keyframes textColorFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/********** Telephone Number End **********/

/********** Mail Box Start **********/

.envelope-icon {
    display: inline-block;
    font-size: 20px;
    color: #3f51b5;
    animation: envelopeFlap 2s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Animation keyframes for open/close effect */
@keyframes envelopeFlap {
    0%   { transform: scaleY(1) rotate(0deg); }
    25%  { transform: scaleY(1.1) rotate(-10deg); }
    50%  { transform: scaleY(1) rotate(0deg); }
    75%  { transform: scaleY(1.1) rotate(10deg); }
    100% { transform: scaleY(1) rotate(0deg); }
}

/* Multicolor gradient email text */
.colorful-email {
    font-weight: bold;
    font-size: 18px;
    background: linear-gradient(90deg, #e91e63, #ff9800, #2196f3, #4caf50);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textColorFlow 5s ease infinite;
}

/* Reuse same text gradient animation */
@keyframes textColorFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/********** Mail Box end **********/


/********** Topbar Start **********/
.under-construction {
    display: inline-block;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #ff6b6b, #ffcc00, #4ecdc4, #5d5fef);
    background-size: 300% 300%;
    animation: gradientMove 5s ease infinite;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Optional: animated gradient border effect using outline simulation */
.under-construction::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    background: linear-gradient(90deg, #ff6b6b, #ffcc00, #4ecdc4, #5d5fef);
    background-size: 300% 300%;
    border-radius: 60px;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/********** Topbar End **********/

/********** Navber Logo Color Start **********/
.colorful-text {
    background: linear-gradient(90deg, #ff6b6b, #ffcc00, #4ecdc4, #5d5fef);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 4s ease infinite;
    display: inline-block;
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/********** Navber Logo Color End **********/


/********** Doctor Carosel Start **********/

 * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f5f7fa;
      margin: 0;
      padding: 40px 20px;
    }
	

    @keyframes moveCircles {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
      }
      100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
      }
    }

    .carousel-container {
      position: relative;
      max-width: 1200px;
      margin: auto;
      overflow: hidden;
    }

    .carousel-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: none;
      padding: 10px 0;
    }

    .carousel-track::-webkit-scrollbar {
      display: none;
    }

    .doctor-card {
      flex: 0 0 auto;
      width: 260px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
      padding: 20px 15px;
      transition: transform 0.3s ease;
    }

    .doctor-card:hover {
      transform: translateY(-5px);
    }

    .doctor-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 15px;
    }

    .doctor-card h3 {
      font-size: 18px;
      color: #054ddd;
      margin: 10px 0 5px;
    }

    .doctor-card p {
      color: #666;
      font-size: 14px;
      margin-bottom: 5px;
    }

    .phone {
      color: #054ddd;
      font-weight: bold;
      margin: 8px 0;
    }

    .doctor-card a {
      display: inline-block;
      margin-top: 10px;
      background-color: #054ddd;
      color: #fff;
      padding: 8px 18px;
      border-radius: 6px;
      text-decoration: none;
      font-size: 14px;
      transition: background 0.3s ease;
    }

    .doctor-card a:hover {
      background-color: #033bb5;
    }

   .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: white;
  border: none;
  font-size: 26px;
  font-weight: bold;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #0056b3, #003f7f);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

    @media (max-width: 768px) {
      .doctor-card {
        width: 200px;
      }

      .doctor-card img {
        height: 180px;
      }
    }

/********** Doctor Carosel End **********/



body {
  /*background: linear-gradient(-45deg, #1a73e8, #0f9d58, #fbbc05, #ea4335);*/
  /*background: linear-gradient(-45deg, #adcaf9, #bffb48, #f9e7ad, #f9bead);*/
  background: linear-gradient(-45deg, #d8f1fb, #befbd2, #e7fbbe, #fbebd8);
  background-size: 400% 400%;
  animation: gradientBG 3s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*
.navbar {
  background: linear-gradient(-45deg, #1a73e8, #0f9d58, #fbbc05, #ea4335);
  background-size: 200% 200%;
  animation: gradientBG 15s ease infinite;
}
*/

@keyframes bgFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }


:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-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: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
/********** for under-construction-box start **********/
.under-construction-box {
      border: 2px solid #33ffac;
      padding: 20px;
      max-width: 600px;
      margin: 50px auto;
      font-family: Arial, sans-serif;
      /*color: #333;*/
      text-align: center;
      background-color: #fff;
      overflow: hidden;
	  font-color: blue;
    }

    .scroll-text-wrapper {
    width: 100%;
    overflow: hidden;
    background-color: #28a745; /* Bootstrap green */
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    animation: scrollLeft 35s linear infinite;
    padding-left: 100%; /* Start from outside right */
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Optional: pause on hover */
.scroll-text-wrapper:hover .scroll-text {
    animation-play-state: paused;
}
	
/********** for under-construction-box end **********/

/********** carousel start **********/
body {
            margin: 0;
            padding: 0;
            font-family: sans-serif;
        }
.carousel-wrapper {
            position: relative;
        }

        .single-carousel .item {
            height: 600px;
        }

        .single-carousel .item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .text-overlay {
            position: absolute;
            bottom: 30px;
            left: 30px;
            color: white;
            z-index: 2;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
        }

        .text-overlay h3 {
            font-size: 32px;
            margin-bottom: 5px;
        }

        .text-overlay p {
            font-size: 18px;
            margin: 0;
        }

        .social-icons-vertical {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 10;
        }

        .social-icons-vertical a {
            display: block;
            width: 30px;
            height: 30px;
            background: white;
            color: #333;
            text-align: center;
            line-height: 30px;
            border-radius: 5px;
            transition: 0.3s;
            font-size: 16px;
        }

        .social-icons-vertical a:hover {
            background-color: #ff7f50;
            color: white;
        }

        .appointment-button {
            position: absolute;
            top: 30px;
            right: 30px;
            z-index: 10;
        }

        .custom-slide-indicators {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 10;
        }

        .custom-slide-indicators .indicator {
            font-size: 16px;
            color: #999;
            padding: 5px 10px;
            border-left: 3px solid transparent;
            cursor: pointer;
            transition: 0.3s;
        }

        .custom-slide-indicators .indicator.active {
            color: #ff5722;
            border-left: 3px solid #ff5722;
        }
		
	.department-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 30px;
      width: 100%;
      /*max-width: 1000px;*/
	  max-width: 100%;
      text-align: center;
    }

    .department-card {
      background: #eef6fa;
      border-radius: 50%;
      width: 160px;
      height: 160px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin: auto;
      transition: 0.3s ease;
    }

    .department-card:hover {
      background-color: #e0f7ff;
      transform: scale(1.05);
      cursor: pointer;
    }

    .department-card i {
      font-size: 32px;
      color: #00bcd4;
      margin-bottom: 10px;
    }

    .department-title {
      font-weight: bold;
      font-size: 16px;
      color: #12263a;
    }

    .department-subtitle {
      font-size: 14px;
      color: #00bcd4;
    }

    /* Responsive tweaks */
    @media (max-width: 480px) {
      .department-card {
        width: 140px;
        height: 140px;
      }
    }
	
}

/********** carousel end **********/

/* Background Bubble Animation */
    .bubbles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
      pointer-events: none;
    }

    .bubble {
      position: absolute;
      bottom: -100px;
      /* Square shape */
      border-radius: 0;
      opacity: 0.6;
      animation: rise linear infinite;
      filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
      box-shadow:
        0 0 10px rgba(255,255,255,0.6),
        0 0 20px rgba(255,255,255,0.4);
    }

    /* Individual bubble sizes, positions, colors, animation durations and delays */
    .bubble:nth-child(1) {
      left: 5%;
      width: 40px; height: 40px;
      background: #ff4d6d;
      animation-duration: 12s;
      animation-delay: 0s;
    }
    .bubble:nth-child(2) {
      left: 12%;
      width: 30px; height: 30px;
      background: #ffb347;
      animation-duration: 14s;
      animation-delay: 2s;
    }
    .bubble:nth-child(3) {
      left: 20%;
      width: 50px; height: 50px;
      background: #ffff66;
      animation-duration: 13s;
      animation-delay: 4s;
    }
    .bubble:nth-child(4) {
      left: 28%;
      width: 25px; height: 25px;
      background: #6aff6a;
      animation-duration: 15s;
      animation-delay: 1s;
    }
    .bubble:nth-child(5) {
      left: 35%;
      width: 45px; height: 45px;
      background: #54a0ff;
      animation-duration: 14s;
      animation-delay: 3s;
    }
    .bubble:nth-child(6) {
      left: 42%;
      width: 20px; height: 20px;
      background: #3380ff;
      animation-duration: 12s;
      animation-delay: 5s;
    }
    .bubble:nth-child(7) {
      left: 50%;
      width: 35px; height: 35px;
      background: #a866ff;
      animation-duration: 11s;
      animation-delay: 6s;
    }
    .bubble:nth-child(8) {
      left: 58%;
      width: 40px; height: 40px;
      background: #ff6fff;
      animation-duration: 16s;
      animation-delay: 8s;
    }
    .bubble:nth-child(9) {
      left: 65%;
      width: 30px; height: 30px;
      background: #ffffff;
      animation-duration: 13s;
      animation-delay: 10s;
      opacity: 0.7;
      box-shadow: 0 0 15px #fff;
    }
    .bubble:nth-child(10) {
      left: 72%;
      width: 50px; height: 50px;
      background: #ff4757;
      animation-duration: 14s;
      animation-delay: 7s;
    }
    .bubble:nth-child(11) {
      left: 78%;
      width: 25px; height: 25px;
      background: #ff793f;
      animation-duration: 11s;
      animation-delay: 9s;
    }
    .bubble:nth-child(12) {
      left: 85%;
      width: 45px; height: 45px;
      background: #feca57;
      animation-duration: 15s;
      animation-delay: 4s;
    }
    .bubble:nth-child(13) {
      left: 90%;
      width: 20px; height: 20px;
      background: #1dd1a1;
      animation-duration: 16s;
      animation-delay: 6s;
    }
    .bubble:nth-child(14) {
      left: 95%;
      width: 35px; height: 35px;
      background: #5352ed;
      animation-duration: 13s;
      animation-delay: 2s;
    }
    .bubble:nth-child(15) {
      left: 98%;
      width: 40px; height: 40px;
      background: #00d2d3;
      animation-duration: 12s;
      animation-delay: 1s;
    }

    @keyframes rise {
      0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
      }
      100% {
        transform: translateY(-110vh) scale(1.1);
        opacity: 0;
      }
    }
	
	
.stars-container {
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 1;
      pointer-events: none;
    }

    .star {
      position: absolute;
      color: #fff;
      opacity: 0.8;
      animation: floatUp linear infinite;
    }

    @keyframes floatUp {
      0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
      }
      100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
      }
    }

    .circle-rotate {
      position: absolute;
      animation: rotateClockwise 20s linear infinite;
    }

    .circle-rotate-reverse {
      position: absolute;
      animation: rotateCounterClockwise 24s linear infinite;
    }

    @keyframes rotateClockwise {
      0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
      100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
    }

    @keyframes rotateCounterClockwise {
      0% { transform: rotate(0deg) translateX(30px) rotate(0deg); }
      100% { transform: rotate(-360deg) translateX(30px) rotate(360deg); }
    }