/* ==============================================
   🌿 DR. HARISH VIJAY CLINIC WEBSITE - FINAL CSS
   ============================================== */

/* -------------------------------
   🌈 Root Color Variables
--------------------------------*/
:root {
  --primary: #003979;
  /* Teal Blue */
  --primary-dark: #000000;
  /* Darker Teal */
  --accent: #00BCD4;
  /* Bright Aqua */
  --light-bg: #f9fbfd;
  /* Soft Background */
  --card-bg: #ffffff;
  /* White Card */
  --muted: #6c757d;
  /* Muted Gray */
  --text-dark: #1e2b33;
  /* Main Text */
  --text-light: #eaf6ff;
  /* Light Text */
  --border-light: #dee2e6;
  /* Subtle Border */
  --footer-bg: #000;
  /* Footer Background */
  --footer-text: #cfd8dc;
  /* Footer Text */
  --accent-shadow: rgba(0, 151, 167, 0.15);
  /* Teal Shadow */
}

/* -------------------------------
   🌿 Global Resets & Base
--------------------------------*/
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Fade Animation on Page Load */
section {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease forwards;
}

/* Delay Each Section Slightly */
section:nth-of-type(1) {
  animation-delay: 0.2s;
}

section:nth-of-type(2) {
  animation-delay: 0.4s;
}

section:nth-of-type(3) {
  animation-delay: 0.6s;
}

section:nth-of-type(4) {
  animation-delay: 0.8s;
}

section:nth-of-type(5) {
  animation-delay: 1s;
}

section:nth-of-type(6) {
  animation-delay: 1.2s;
}

section:nth-of-type(7) {
  animation-delay: 1.4s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Button 8: Shine Effect */
.btn-shine {
  background: #fff;
  color: #003979;
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
}

.btn-shine:hover::before {
  left: 100%;
}

.btn-shine:hover {
  border: 1px solid var(--card-bg);
}

/* -------------------------------
   🧑‍⚕️ Nav Section
--------------------------------*/
/* ---------- NAVBAR BASE ---------- */
.navbar {
  width: 100%;
  background: #ffffff;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
}

.navbar-logo img {
  height: 80px;
  width: 100%;
}

/* ---------- NAV LINKS ---------- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #002b5b;
  transition: color 0.3s ease;
  font-size: 14px;
}

.nav-links li a:hover {
  color: #007bff;
}

/* ---------- HAMBURGER BUTTON ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

.bar {
  width: 28px;
  height: 3px;
  background-color: #002b5b;
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* Contact Button */
.contact-btn {
  background: var(--primary);
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
 
  transform: translateY(-2px);
}

/* ---------- MOBILE STYLING ---------- */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: linear-gradient(180deg, #002b5b 0%, #004080 100%);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    padding: 60px 30px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin-bottom: 25px;
  }

  .nav-links li a {
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0.5px;
    display: block;
  }

  .nav-links li a:hover {
    color: #00c2ff;
  }

  /* Animate hamburger icon */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}











/* -------------------------------
   🧑‍⚕️ Banner Section
--------------------------------*/
 
.hero-banner {
  background-image: url('../images/Shri\ Ram.png'); /* The image used */
  background-color: #cccccc; /* Used if the image is unavailable */
  height: 500px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}



/* Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
     text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    font-size: 1rem;
    padding: 8px 22px;
  }
}

@media (max-width: 480px) {
 

.hero-content h1 {
    font-size: 1.8rem;
    text-align: left;
}

.hero-content p {
    font-size: 0.75rem;
    text-align: left;
}
.hero-content.text-white {
    width: 80%;
    margin: 10px 0px;
}
}








/* -------------------------------
   🧑‍⚕️ Doctor Section
--------------------------------*/
section#doctor .col-lg-6.text-center img {
  border-radius: 20px;
  width: 90%;
  height: 450px;
  object-fit: cover;
  box-shadow: unset !important;
}

#doctor h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

#doctor p {
  color: var(--muted);
  line-height: 1.8;
}

section#doctor .consultant-info h3 {
  color: var(--primary) !important;
}

.consultant-harish {
    padding: 20px 10px;
}
.consultant-harish h5 {
    margin: 0px;
}








/* -------------------------------
   💊 Treatment Cards
--------------------------------*/
.treatment-card {
  border-radius: 16px;
  background-color: var(--card-bg);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.treatment-card img {
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 151, 167, 0.1);
  transition: all 0.4s ease;
}

.treatment-card:hover {
  transform: translateY(-8px);
  background: var(--text-light);
  box-shadow: 0 12px 30px var(--accent-shadow);
}

.treatment-card:hover img {
  transform: scale(1.08);
}

.treatment-card h4 {
  color: var(--primary-dark);
}

.treatment-card p {
  color: var(--muted);
}

section#treatments h4.fw-semibold.mb-3 {
  font-weight: 500 !important;
  margin-bottom: 5px !important;
  font-size: 20px;
}

section#treatments p {
  font-size: 14px;

}



/* -------------------------------
   🖼 Gallery
--------------------------------*/
#gallery {
  background-color: var(--light-bg);
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px var(--accent-shadow);
}

/* -------------------------------
   📢 CTA Section
--------------------------------*/
#cta {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  position: relative;
  z-index: 1;
}

#cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

#cta p {
  color: #e3faff;
  margin-bottom: 1.5rem;
}

#cta .btn-light {
  background-color: #fff;
  color: var(--primary-dark);
  border-radius: 30px;
  padding: 0.7rem 2rem;
  transition: all 0.3s ease;
}

#cta .btn-light:hover {
  background-color: #e0f7fa;
  color: var(--primary);
  transform: translateY(-3px);
}

.cta-back::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
a.cta-ancer {
    color: #003979;
    text-decoration: none;
}
a.cta-ancer:hover {
    color: #ffffff;
    text-decoration: none;
}


/* -------------------------------
   📢  Treatment Result Section
--------------------------------*/  


.carousel-item {
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.carousel-item img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .carousel-item .col-md-3 {
    display: none;
  }
  .carousel-item .col-md-3:nth-child(1) {
    display: block;
  }
}






/* -------------------------------
   📢  Appointment Section 
--------------------------------*/

#appointment {
  background-color: #fafbff;
}

.why-choose-box {
  background-color: var(--primary) !important;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.why-choose-box::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.section-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #fff;
  text-transform: capitalize;
}

.book-box {
  border: 1px solid #eee;
  background: #fff;
  transition: all 0.4s ease;
}

.book-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(2, 136, 209, 0.12);
}

.book-box h5 {
  font-family: "Playfair Display", serif;
  color: #b4574e;
  font-style: italic;
}

.book-box h2 {
  color: #1a2d3f;
}

.form-control,
.form-select {
  border: 1px solid #b4574e;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #0288d1;
  box-shadow: 0 0 6px rgba(2, 136, 209, 0.2);
}

.btn-primary {
  background-color: #b4574e;
  border: none;
}

.btn-primary:hover {
  background-color: #963f3b;
}

#faqs {
  background-color: #f9fbfd;
}

.accordion-button {
  background-color: #fff !important;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #0288d1;
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.2);
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  color: #555;
}

.accordion-item {
  border: none;
}





/* -------------------------------
   📍 Location Section
--------------------------------*/
#location {
  background-color: var(--light-bg);
}

.map-container iframe {
  border-radius: 16px;
  box-shadow: 0 8px 20px var(--accent-shadow);
}

.info-box {
  background-color: var(--card-bg);
  border-left: 5px solid var(--primary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 151, 167, 0.1);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px var(--accent-shadow);
}

.info-box h3 {
  color: var(--primary);
  font-weight: 700;
}

.info-box p {
  color: var(--muted);
  line-height: 1.7;
}

p.timing {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

/* -------------------------------
   💬 Testimonial Slider Carousel
--------------------------------*/

#treatment-results {
  background: #fafcfe;
}

#treatment-results .section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #a85046;
}

#treatment-results img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#treatment-results img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #a85046;
  border-radius: 50%;
  padding: 15px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* Indicators */
.carousel-indicators [data-bs-target] {
  background-color: #a85046;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
div#testimonialSlider .carousel-item.active h5.fw-semibold.text-primary.mb-0{
  color: var(--primary) !important;
}






/* -------------------------------
   ⚙️ Footer
--------------------------------*/
.footer-section {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-bottom: 0 !important;
}


.footer-title {
  color: #fff;
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-subtitle {
  color: #fff;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  margin-bottom: 10px;
}

.footer-links {
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.8;
}

.footer-link {
  color: var(--footer-text);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #ffffff20;
  text-align: center;
  padding: 15px 0;
}

.footer-bottom p {
  color: var(--footer-text) !important;
  font-size: 0.9rem;
}
 
.contact-info i {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #fff !important;
  padding-right: 10px;
}

.contact-info a:hover {
  color: #0d6efd; /* Bootstrap primary color */
  text-decoration: underline;
}

.contact-info {
  line-height: 1.6;
}


 
/* ==============================================
   🌿 END Footer CSS
   ============================================== */

/* -------------------------------
   🧑‍⚕️ Call and Whatsapp  Section
--------------------------------*/
/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

/* Common Button Styles */
.floating-buttons a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Call Button */
.call-btn {
  background-color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25d366;
}

/* Hover Effects */
.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .floating-buttons {
    right: 15px;
    bottom: 20px;
  }
  .floating-buttons a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* ==============================================
   🌿 END Call and Whatsapp CSS
   ============================================== */


/* ==============================================
   🌿 Responcive css
   ============================================== */

   @media (max-width: 767px) {
  .consultant-info {
    padding-top: 30px;
  }

  section#cta .cta-box {
    padding: 20px !important;
  }

  section#appointment .why-choose-box {
    padding: 20px !important;
  }

  section#appointment .book-box {
    padding: 20px !important;
  }
  .hero-banner {
    background-image: url('../images/Shri\ Ram.png');
    background-color: #cccccc;
    height: 280px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.navbar-logo img {
    height: 80px;
    width: 100%;
}
}

/* ==============================================
   🌿 END Responcive css
   ============================================== */




   

