@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
    --primary-color: #16459d;
    --secondary-color: #eb2023;
    --font-family: 'Poppins', sans-serif;
}

body {
    /* background-color: aliceblue; */
    background-color: white;
    color: #333;
    font-family: var(--font-family);
    line-height: 1.6;
    font-size: 16px;
}

/* NAVBAR */
.navbar-custom {
    background-color: white;
}

.navbar .container {
    padding-left: 0;
}

.brand-text {
    color: var(--primary-color);
}

.brand-text:hover {
    color: var(--secondary-color);
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
    border-radius: 8px;
    padding: 4px 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* FOOTER */

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

footer a.text-white:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.social-icon {
  transition: background-color 0.3s ease !important;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2) !important; 
}

/* CAROUSEL */
/* Default for larger screens */
.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Medium screens */
@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }
}

/* Small screens: show full image without cropping */
@media (max-width: 576px) {
  .carousel-item img {
    height: auto;
    object-fit: contain;
  }
}



/* WHY */
.text-justify {
    text-align: justify !important;
}

/* Contact Us */
/* Page Banner Styling */


/* Icon Wrapper */
.icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -50px auto 0;
  animation: floatIcon 1.5s ease-in-out infinite;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

/* Contact Card Adjustment */
.contact-card {
  position: relative;
  padding-top: 3.5rem;
  border: none;
  border-radius: 12px;
}

/* Icon animation */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(3px);
  }
}

/* Make breadcrumb divider white */
.breadcrumb-item + .breadcrumb-item::before {
  color: white !important;
}

/* Breadcrumb links white normally */
.breadcrumb-item a {
    color: white;
    transition: color 0.3s;
}

/* Breadcrumb links hover color: primary */
.breadcrumb-item a:hover {
    color: var(--secondary-color)!important;
    text-decoration: underline;
}

.btn-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-custom:hover {
  background-color: #ef4d4f;
  border-color: #ef4d4f;
  color: white;
}

/* About Us*/
.ceo-description {
  position: relative;
  font-style: italic;
}

.ceo-description::before {
  content: "“";
  color: #007bff; /* Bootstrap primary blue or use your custom blue */
  font-size: 5rem;
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: serif;
  line-height: 1;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ceo-description::after {
  content: "”";
  color: #007bff;
  font-size: 5rem;
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: serif;
  line-height: 1;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ceo-description p {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: scale(1.02);
  transition: 0.3s ease;
}

/* DOCTOR CARD */
.doctor-avatar {
  width: 80;
  height: 80;
  border:#333;
  object-fit: cover;
}

/* ALERT */
.alert.fade {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}





