html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}





:root {
  --primary: #13BADC;
}

.text-justify {
  text-align: justify;
}
/* Navbar */
.custom-navbar {
  background-color: #000;
  border-radius: 40px;
  margin: 20px;
  padding: 10px 20px;
}
.custom-navbar .nav-link {
  color: white;
  margin: 0 10px;
}
.custom-navbar .nav-link.active {
  background: #13BADC;
  padding: 8px 18px;
  border-radius: 20px;
  color: #fff !important;
}

.navbar-brand small {
  font-size: 0.75rem;  
  line-height: 1.2;     
  display: block;
}

/* Hero Section */

.hero-section {
  position: relative;
  min-height: 100vh; /* ensures full visible height */
  display: flex;
  align-items: center;
  padding: 100px 0; /* adds space above & below */
  overflow: hidden;
  /* z-index: 1; - REMOVED: Managed by inner elements */
}

/* Fix background or circle elements inside */
.hero-section .circle-bg,
.hero-section .hero-image-wrapper::before {
  z-index: 0;
}

/* Make sure next section starts below */
section:not(.hero-section) {
  position: relative;
  z-index: 1;
}
.greeting {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.3;
}
.hero-title span {
  color: #13BADC;
}
.hero-text {
  margin-top: 15px;
  font-size: 16px;
  color: #555;
	flex: 1;
  z-index: 3;
}
.hero-image-wrapper {
  position: relative;
  display: inline-block;
}
.hero-image-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: 12px; /* optional */
}

.hero-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 50px;
  gap: 40px;
  position: relative;
  z-index: 3; /* ADDED: Ensures content is above background elements */
}



/* Buttons styling */
.hero .btn {
  margin: 10px;
}

/* Mobile / Tablet responsive fix */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;   /* stack vertically */
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-left {
    width: 100%;
    margin-bottom: 30px;
    z-index: 2;
  }

  .hero-right {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  /* Fix circle so it doesn’t overlap */
 .circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 500px;
  max-height: 500px;
  background-color: #E6F8FB;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: hidden;
}

  /* Scale the doctor image */
  .hero-right img {
    width: 160px;
    height: auto;
    border-radius: 12px;
  }

  /* Buttons stack neatly */
  .hero-left .btn {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
}

.doctor-img {
  border-radius: 20px;
  max-height: 320px; /* smaller photo */
  position: relative;
  z-index: 2;
}
.experience-box {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

/* Years Highlight animation */
.experience-box .years-highlight::after {
  content: "30+";
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: #13BADC;
  animation: swapHighlight 6s infinite;
}

@keyframes swapHighlight {
  0%, 40% {
    content: "30+";
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  50%, 90% {
    content: "Ex HOD, SGPGIMS";
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  100% {
    content: "30+";
    opacity: 1;
  }
}


/* Experience box styling */
.experience-box {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  position: relative;
  z-index: 3;
}

/* Years Highlight animation (Top text like "30+" or "Ex HOD, SGPGIMS") */
.experience-box .years-highlight::after {
  content: "30+";
  display: inline-block;
  font-size: 22px; /* reduced from 32px */
  font-weight: 700;
  color: #13BADC;
  animation: swapHighlight 6s infinite;
}

/* Animation for the top line */
@keyframes swapHighlight {
  0%, 40% {
    content: "30+";
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  50%, 90% {
    content: "Ex HOD, SGPGIMS";
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  100% {
    content: "30+";
    opacity: 1;
  }
}

/* Years Text animation (Bottom text like “Years Experience” or “Medical Genetics”) */
.experience-box .years-text::after {
  content: "Years Experience";
  display: inline-block;
  font-size: 13px; /* reduced from 16px */
  font-weight: 500;
  color: #333;
  animation: swapText 6s infinite;
}

@keyframes swapText {
  0%, 40% {
    content: "Years Experience";
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  50%, 90% {
    content: "Medical Genetics";
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  100% {
    content: "Years Experience";
    opacity: 1;
  }
}

/* Responsive fixes */
@media (max-width: 992px) {
  .experience-box {
    padding: 6px 12px;
    margin-top: 10px;
  }

  .experience-box .years-highlight::after {
    font-size: 18px; /* smaller on tablets */
  }

  .experience-box .years-text::after {
    font-size: 12px;
  }

  /* Move box below image in small screens */
  .hero-image-wrapper {
    position: relative;
  }

  .experience-box {
    position: static;
    margin-top: 10px;
  }

  .doctor-img {
    max-height: 260px;
  }
}

@media (max-width: 576px) {
  .doctor-img {
    max-height: 220px;
  }
}



/* Years Text animation */
.experience-box .years-text::after {
  content: "Years Experience";
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  animation: swapText 6s infinite;
}

@keyframes swapText {
  0%, 40% {
    content: "Years Experience";
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  50%, 90% {
    content: "Medical Genetics";
    opacity: 1;
  }
  95% {
    opacity: 0;
  }
  100% {
    content: "Years Experience";
    opacity: 1;
  }
}
.btn-appointment {
  background-color: #13BADC; /* Replace with your color code */
  color: #fff; /* White text */
  border: none;
}

.circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background-color: #E6F8FB;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* slight 3D depth */
  overflow: visible;
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column; /* stack text above image */
    text-align: center;
    padding: 40px 20px;
  }

  .circle-bg {
    width: 280px;
    height: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero h1 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero .btn {
    display: block;
    width: 80%;
    margin: 10px auto;
  }

  .hero-image {
    margin-top: 30px;
  }
}

/* First concentric ring */
.circle-bg::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 2px solid rgba(0, 187, 255, 0.4);
  animation: ripple 6s infinite linear;
}

/* Second concentric ring */
.circle-bg::after {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2px solid rgba(0, 187, 255, 0.25);
  animation: ripple 8s infinite linear;
}

/* Ripple animation */
@keyframes ripple {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}


.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  position: relative;
  z-index: 2; /* keeps photo above the circle */
  border-radius: 20px; /* optional: rounded corners */
}

.image-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;   /* adjust size */
  height: 350px;  /* adjust size */
  background-color: #E6F8FB; /* your light blue */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* circle behind the photo */
}


.experience-box {
  position: absolute;
  bottom: 10px;  /* adjust as needed */
  right: 10px;   /* adjust as needed */
  background: white;
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 3;

  /* 3D effect */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translate(10px, 10px); /* little offset gives depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-box:hover {
  transform: translate(5px, 5px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.years-highlight {
  font-size: 24px;
  font-weight: bold;
  color: #007b8f; /* highlight color */
}

.years-text {
  font-size: 14px;
  color: #333;
}





.footer {
  background: #E6F8FB;
  color: #333;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  z-index: 10;
  margin-top: auto;
  padding: 10px 20px;
  width: 100%;
  position: relative;
  bottom: 0;
  box-sizing: border-box;
}

.footer {
  margin-top: auto;
  width: 100%;
  position: relative; /* ensure it's not absolute */
  bottom: 0;
}

footer .footer-container {
  max-width: 1200px; /* keep inner content centered */
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: center;  /* center align horizontally */
  align-items: center;
  flex-wrap: wrap;  /* allows stacking in responsive */
  gap: 20px;        /* space between items */
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #0099cc;
  margin: 0 12px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #006699;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;  /* less gap on mobile */
  }

  .footer-links {
    justify-content: center;
  }
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.footer-powered img {
  height: 34px;   /* adjust as needed */
  width: auto;
}




@media (max-width: 992px) {
  .hero-title {
    font-size: 32px;
  }
  .doctor-img {
    max-height: 260px;
  }
  .circle-bg {
    width: 380px;
    height: 380px;
  }
  .circle-bg::before {
    width: 440px;
    height: 440px;
  }
  .circle-bg::after {
    width: 500px;
    height: 500px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .custom-navbar {
    margin: 10px;
    border-radius: 20px;
    padding: 6px 12px;
  }

  .hero-section {
    padding: 40px 0;
    text-align: center;
  }

	.hero-section {
  flex: 1;
  min-height: 80vh; /* ensures it stretches enough */
  display: flex;
  align-items: center;
}
	
  .hero-title {
    font-size: 26px;
    line-height: 1.4;
  }

  .hero-text {
    font-size: 14px;
  }

  .doctor-img {
    max-height: 220px;
  }

  .circle-bg {
    width: 280px;
    height: 280px;
  }
  .circle-bg::before {
    width: 340px;
    height: 340px;
  }
  .circle-bg::after {
    width: 400px;
    height: 400px;
  }

  .experience-box {
    bottom: 0;
    right: 0;
    padding: 8px 14px;
    font-size: 12px;
  }

  .experience-box .years-highlight {
    font-size: 20px;
  }

  .experience-box .years-text {
    font-size: 12px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}

/* Keep all footer items in one single line */
.footer-content {
  justify-content: space-between;
  flex-wrap: nowrap; /* prevents breaking into multiple lines */
  gap: 40px; 
}

.visitor-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  white-space: nowrap;
}

.visit-boxes {
  display: flex;
  gap: 4px;
}

.visit-boxes .digit-box {
  width: 26px;
  height: 32px;
  background: #000;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.footer-copy {
  font-size: 13px;
  color: #777;
  margin: 0; /* important: remove extra spacing */
  white-space: nowrap; /* prevents it from breaking to a new line */
}









/* Smallest devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }
  .hero-text {
    font-size: 13px;
  }
  .doctor-img {
    max-height: 180px;
  }
}


/* Default (desktop/tablet) → side by side */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* For mobile screens 375px and below */
@media (max-width: 375px) {
  .hero-buttons {
    flex-direction: column;   /* stack vertically */
    align-items: center;      /* center align */
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}




/* Make hamburger icon white */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6); /* white border */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}







/* Section Titles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #13BADC;
  position: relative;
}
.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #13BADC;
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Awards */
.award-card {
  background: #fff;
  border: 1px solid #e6f8fb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Collaborations */
.collab-card {
  background: #fff;
  border: 1px solid #e6f8fb;
}
.collab-card img {
  max-height: 60px;
}

/* Publications */
.publications-section .list-group-item {
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}
.publications-section .list-group-item:hover {
  background: #e6f8fb;
}



.award-card {
    transition: all 0.3s ease;
  }
  .award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .icon-circle {
    width: 70px;
    height: 70px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }








/* Consultation page css */


/* White hamburger icon (fallback if not in main.css) */
.navbar-toggler { border-color: rgba(255,255,255,0.6); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



.pedigree-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.pedigree-card img {
  transition: transform 0.3s ease;
}

.pedigree-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.pedigree-card:hover img {
  transform: scale(1.05);
}



/* Hero */
.consultation-hero {
  position: relative;
  overflow: hidden;
  background-color: #f9fbfc; /* fallback */
  padding: 100px 0; /* add vertical space */
  min-height: 80vh; /* ensure it occupies the screen */
}

/* Pedigree full background */
.consultation-hero .pedigree-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/pedigree-bg.png") center/contain no-repeat;
  opacity: 0.07; /* very subtle */
  z-index: 0; /* stays behind everything */
}

/* Content above pedigree */
.consultation-hero .container {
  position: relative;
  z-index: 1;
}

.btn-appointment {
  background-color: #13badc;
  color: #fff;
  font-weight: 500;
  border: none;
  transition: 0.3s;
}

.btn-appointment:hover {
  background-color: #0fa1be;
  color: #fff;
}

/* Hero decorative bubbles */
.hero-bubbles {
  position: absolute;
  border-radius: 50%;
  background: rgba(19, 186, 220, 0.15);
  z-index: 0; /* keep them at the back */
}

/* Parent section fix */
section.consultation-hero {
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scroll */
}


.resource-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.hospital-title {
  color: #13badc !important;
}

.service-img img {
  max-height: 120px;
  object-fit: cover;
}






.btn-appointment {
  background-color: #13badc;
  color: #fff;
  font-weight: 500;
  border: none;
  transition: 0.3s;
}

.btn-appointment:hover {
  background-color: #0fa1be;
  color: #fff;
}


/* Pedigree background */
.consultation-hero {
  position: relative;
  background: #f9fbfc url("assets/pedigree.png") no-repeat right center;
  background-size: 400px auto;
}
.pedigree-bg {
  background: url("assets/pedigree-bg.png") no-repeat right center;
  background-size: 400px auto;
  opacity: 0.15; /* subtle but visible */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;   /* only right side */
  height: 100%;
  pointer-events: none;
  z-index: 1; /* bring it above section bg */
}

.consultation-hero .container {
  position: relative;
  z-index: 2; /* keep text above pedigree */
}

.case-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.badge {
  font-size: 0.8rem;
  padding: 0.4em 0.75em;
  border-radius: 20px;
}




/* pastel backgrounds for card body */
.pastel-1 { background: #E3F2FD; } /* soft blue */
.pastel-2 { background: #FDE2E4; } /* pastel pink */
.pastel-3 { background: #E2F0CB; } /* pastel green */
.pastel-4 { background: #FFF1E6; } /* peach */
.pastel-5 { background: #F3E8FF; } /* lavender */
.pastel-6 { background: #E0F7FA; } /* aqua */
.pastel-7 { background: #FFF9C4; } /* yellow */
.pastel-8 { background: #FFE0F0; } /* rose */

/* tweak text contrast */
.resource-card h5 { color: #1a1a1a; }
.resource-card p  { color: rgba(0,0,0,0.7); }



/* Bubble fix */
.bubble-1 {
  width: 180px;
  height: 180px;
  top: -40px;
  left: -40px;
}

.bubble-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -60px;
}
.contact-hero {
  position: relative;
  overflow: hidden;
  background-color: #f9fbfc;
  padding: 100px 0; /* gives breathing space */
  min-height: 80vh; /* ensures it fills the screen */
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}






/* Services */
.section-head p { max-width: 760px; margin: 0 auto; }

.service-card {
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(19,186,220,0.12);
  margin-bottom: 12px;
  font-size: 22px;
}

/* Info band under services */
.info-band {
  background: #F5FCFE;
  border: 1px solid rgba(19,186,220,0.15);
}

/* Resources */
.resources-section .resource-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.resources-section .resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.placeholder-thumb {
  height: 160px;
  background: linear-gradient(135deg, #E6F8FB, #f7fdff);
}

/* CTA Banner */
.cta-banner {
  background: #E6F8FB;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cta-banner .btn-appointment {
  background: var(--primary);
  color: #fff;
  border: none;
}

/* Footer alignment (inherits your existing footer styles if included) */
.footer { margin-top: 0; }

/* Responsive tweaks */
@media (max-width: 992px) {
  .consultation-hero { padding: 48px 0; }
}
@media (max-width: 576px) {
  .consultation-hero { margin: 10px; border-radius: 16px; }
  .service-card, .resource-card { border-radius: 16px; }
  .placeholder-thumb { height: 140px; }
}








/* Expressions page css */


.expression-card {
    border: 2px solid #e0f2f5;
  transition: all 0.3s ease;
  cursor: pointer;
}
.expression-card:hover {
    border-color: #13badc;
  box-shadow: 0 6px 16px rgba(19,186,220,0.15);
  transform: translateY(-3px);

}




.expression-card {
  border: 2px solid #e9eef2;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.expression-card:hover {
  transform: translateY(-5px);
  border-color: #13BADC;
  box-shadow: 0 6px 18px rgba(19, 186, 220, 0.15);
}

.expression-card h4 {
  transition: color 0.3s ease;
}

.expression-card:hover h4 {
  color: #13BADC;
}

.photo-gallery img {
  object-fit: cover;
  height: 140px;
  border-radius: 10px;
}

/* Primary filled View More button */
.btn-view-more {
  background-color: #13BADC;
  color: #fff;
  border: none;
  font-weight: 500;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background-color: #0ea5c0; /* slightly darker shade on hover */
  transform: translateY(-1px);
  color: #fff;
}




.video-gallery .video-frame {
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
  position: relative;
}

.video-gallery img,
.video-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Vertical video fix: full size on fullscreen */
video:fullscreen {
  object-fit: contain !important;
}

/* Optional: subtle hover for interactivity */
.video-gallery img:hover,
.video-gallery video:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}








.video-fit {
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

/* When video goes fullscreen, show full proportions */
video::-webkit-media-controls-fullscreen-button {
  display: block;
}

video:fullscreen,
video:-webkit-full-screen {
  object-fit: contain !important;
  background-color: #000;
}








.photo-gallery img, .art-gallery img {
  object-fit: cover;
  height: 160px;
	 border: 1px solid #eee;
}

.view-more-wrapper {
  position: relative;
}

.view-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 186, 220, 0.65);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.view-more-wrapper:hover .view-more-overlay {
  opacity: 1;
}

.video-carousel, .audio-carousel {
  position: relative;
  overflow: hidden;
}

.video-wrapper, .audio-wrapper {
  scroll-behavior: smooth;
  white-space: nowrap;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.left-arrow {
  left: -10px;
}

.right-arrow {
  right: -10px;
}

/* Contact page css */


   .contact-header {
      text-align: center;
      padding: 60px 20px;
      background: linear-gradient(135deg, #007bff, #00b894);
      color: white;
    }
    .contact-header h2 {
      font-weight: 700;
    }
    .contact-card {
      background: white;
      border-radius: 16px;
      padding: 30px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      transition: 0.3s;
    }
    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }
    .social-icons a {
      margin-right: 15px;
      font-size: 20px;
      color: #007bff;
      transition: 0.3s;
    }
    .social-icons a:hover {
      color: #00b894;
    }
    .form-control, .btn {
      border-radius: 10px;
    }
.contact-hero {
  position: relative;
  background: #f9fcff;
  overflow: hidden; /* ensures bubbles don’t overflow */
}

.contact-hero h1 {
  color: #1e1e1e;
}

.contact-hero p {
  color: #444;
}

.btn-appointment {
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  transition: 0.3s;
}

.btn-appointment:hover {
  background-color: #153258;
	color: #ffffff;
}


/* Base Card Styling */
.book-card {
  color: #333;
  transition: all 0.3s ease-in-out;
  min-height: 100%; /* keeps them aligned */
  background-blend-mode: multiply;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Gradient Backgrounds */
.book-gradient-1 {
  background: linear-gradient(135deg, #d4fc79, #96e6a1); /* green tones */
}
.book-gradient-2 {
  background: linear-gradient(135deg, #f6d365, #fda085); /* orange tones */
}
.book-gradient-3 {
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

/* Optional: keep all cards consistent */
.book-card h5 {
  font-size: 1.1rem;
}
.book-card p {
  line-height: 1.5;
}






/* Presentations Section */
.presentations-section {
  background: #f8fbfd;
}

.presentation-card {
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e5e7eb;
}

.presentation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.presentation-icon {
  background: #e6f4ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}








.publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.publication-list li {
  background: #ffffff;
  border-left: 4px solid #13BADC;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.publication-list a {
  color: #13BADC;
  font-weight: 500;
  text-decoration: none;
}

.publication-list a:hover {
  text-decoration: underline;
}

.omim-list li {
  border-left-color: #7A4FFF; /* different accent for OMIM section */
}

.section-title {
  color: #222;
}

.btn-appointment {
  background-color: #13BADC;
  color: #fff;
  font-weight: 500;
  border: none;
  transition: 0.3s;
}

.btn-appointment:hover {
  background-color: #0fa1be;
  color: #fff;
}





.about-section .btn-primary {
  background-color: #13BADC;
  border: none;
  transition: 0.3s ease;
}

.about-section .btn-primary:hover {
  background-color: #0fa2bd;
  transform: translateY(-2px);
}






.services-section ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

.services-section .list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.services-section .list-group-item:last-child {
  border-bottom: none;
}

.services-section .alert-info {
  background: #eaf6ff;
  border: 1px solid #b6e0fe;
}





/* Icon Circles */
.icon-circle {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: #fff;
  transition: all 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Accordion */
.accordion-button {
  background: #f8f9fa;
  font-weight: 600;
}
.accordion-button:not(.collapsed) {
  background: #eaf6ff;
  color: #0d6efd;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}


.link-highlights {
  color: #13badc;
	text-decoration: none;
 
}


.link-highlight {
  color: #13badc;
  transition: color 0.3s ease;
}

.link-highlight:hover {
  color: #0f96b8;
  text-decoration: underline;
}






.link-highlight {
  color: #13badc;
  font-weight: 600;
  text-decoration: none;
}
.link-highlight:hover {
  text-decoration: underline;
}









/* Full gallery */

    /* Hero section */
    .gallery-hero {
      background: #e8f9fd;
      padding: 60px 0;
      text-align: center;
    }

    .gallery-hero h1 {
      color: #13badc;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .gallery-hero p {
      color: #666;
      font-size: 1.1rem;
    }

    /* Folder list */
    .folder-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .folder-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fff;
      border-left: 4px solid #13badc;
      border-radius: 10px;
      padding: 16px 20px;
      margin-bottom: 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }

    .folder-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .folder-item i {
      color: #13badc;
      font-size: 1.4rem;
      margin-right: 10px;
    }

    .folder-name {
      font-weight: 600;
      color: #333;
      font-size: 1rem;
    }

    .folder-desc {
      font-size: 0.9rem;
      color: #666;
    }

    .folder-link {
      text-decoration: none;
      color: #13badc;
      font-weight: 500;
      transition: color 0.3s;
    }

    .folder-link:hover {
      color: #0fa1be;
      text-decoration: underline;
    }





 .gallery-header {
      background: #e8f9fd;
      padding: 60px 0;
      text-align: center;
    }

    .gallery-header h1 {
      color: #13badc;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .gallery-header p {
      color: #666;
      font-size: 1.1rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 16px;
      margin-top: 40px;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .gallery-item:hover {
      transform: scale(1.02);
      box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    /* Back button */
    .back-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #13badc;
      text-decoration: none;
      font-weight: 500;
      margin-top: 20px;
    }
    .back-btn:hover {
      text-decoration: underline;
    }


.lb-close {
  top: 20px !important;
  right: 25px !important;
  opacity: 1 !important;
  filter: brightness(0) invert(1); /* makes it white */
  transform: scale(1.3);
}



/* Gallery grid base (you probably already have similar) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

/* Lightbox overlay */
.slb-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8,12,18,0.75);
  z-index: 99999;
  padding: 24px;
}

/* show class toggles visibility */
.slb-overlay.open { display: flex; }

/* Inner: image container */
.slb-inner {
  max-width: 1100px;
  max-height: 85vh;
  width: 100%;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Image */
.slb-img {
  max-width: 100%;
  max-height: calc(85vh - 88px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  background: #111;
  object-fit: contain;
}

/* Caption */
.slb-caption {
  color: #e6f2f6;
  font-size: 0.95rem;
  text-align: center;
  max-width: 100%;
  padding: 6px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
}

/* Controls */
.slb-close, .slb-nav {
  position: fixed;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 100000;
  backdrop-filter: blur(2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.slb-close { top: 20px; right: 22px; }
.slb-nav { top: 50%; transform: translateY(-50%); width:48px; height:48px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.slb-prev { left: 18px; }
.slb-next { right: 18px; }

/* Larger clickable area on mobile */
@media (max-width: 720px) {
  .slb-prev, .slb-next { width:42px; height:42px; font-size:18px; left:12px; right:12px; }
  .gallery-item img { height: 160px; }
  .slb-img { max-height: calc(78vh - 80px); }
}















.poem-card {
  transition: all 0.3s ease;
  border-left: 4px solid #13badc;
}
.poem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.poem-card h5 {
  font-size: 1.2rem;
}
.poem-card p {
  line-height: 1.6;
}
.poem-link {
  color: #13BADC !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.poem-link:hover {
  color: #004a80; /* slightly darker on hover */
  text-decoration: underline;
}


.play-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ratio:hover .play-overlay {
  opacity: 1;
}

.video-wrapper img {
  transition: transform 0.3s ease;
}

.video-wrapper img:hover {
  transform: scale(1.03);
}
