/* ==================== GLOBAL STYLES ==================== */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
}
:focus,
:active {
  box-shadow: none !important;
}
:root {
  --primary: #8a1538;
  --secondary: #d6005c;
  --light: #f8f9fa;
  --dark: #212529;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
/* ==================== TOP BAR ==================== */
.topbar {
  background-color: #8a1538;
  font-size: 14px;
 /* width: 97%;*/
  margin: 10px auto;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  height: 50px;
}

.icon-circle,
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  color: #8b0036;
  transition: all 0.4s ease;
  font-size: 14px;
  margin: 0 5px;
}

.icon-circle:hover,
.social-icon:hover {
  background: #8b0036;
  color: #fff;
  transform: rotate(360deg);
}

.topbar .d-flex:last-child {
  margin-right: 20px;
}

/* ==================== MIDDLE BAR ==================== */
.middle-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 15px 20px;
  width: 97%;
  margin: 0 auto;*/
}

.main_logo {
  max-height: 78px;
  /*width: 650px;*/
}

.info-boxs {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b0036, #d6005c);
  color: #fff;
  font-size: 18px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(139, 0, 54, 0.4);
}

.btn-consult {
  background: linear-gradient(135deg, #8b0036, #d6005c);
  border: none;
  padding: 6px 8px;
  font-size:12px;
  font-weight: 600;
  color: #fff;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-consult:hover {
  background: linear-gradient(135deg, #d6005c, #8b0036);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ==================== NAV BAR ==================== */
.navbar-wrapper {
  margin-top: 7px;
  /*width: 95%;*/
  gap: 25px;
}

.custom-navbar {
  background: linear-gradient(135deg, #8a1538, #a51c47);
  border-radius: 50px;
  padding: 5px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-navbar .nav-link {
      color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    margin: 0 7px;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #ffe6ee !important;
  transform: translateY(-2px);
}

.dropdown-item {
  position: relative;
  padding: 10px 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dropdown-item::before,
.dropdown-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #8a1538;
  transition: all 0.3s ease;
}

.dropdown-item::before {
  top: 0;
  left: 0;
}

.dropdown-item::after {
  bottom: 0;
  right: 0;
}

.dropdown-item:hover::before,
.dropdown-item:hover::after {
  width: 100%;
}

.dropdown-item:hover {
  color: #8a1538;
}

.emergency-call {
  background: #8a1538;
  padding: 5px 15px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emergency-call small {
  font-size: 12px;
}

.emergency-call:hover {
  background: #a51c47;
  transform: translateY(-2px);
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }

  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .navbar .dropdown:hover > .nav-link {
    color: #ffe6ee !important;
  }
}

/* ==================== HERO CAROUSEL ==================== */
.carousel-container {
  width: 97%;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.carousel {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  height: 600px;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  color: white;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 25%
  );
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.slide h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-left: 45px !important;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  margin-left: 45px !important;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.slide-btn {
  display: inline-block;
  padding: 15px 35px;
  margin-left: 45px !important;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
  box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
}

.slide-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(255, 75, 43, 0.4);
}

.slide.active h2,
.slide.active p,
.slide.active .slide-btn {
  opacity: 1;
  transform: translateY(0);
}

.slide-1 {
  background: url("../image/crousel_img/cr-1.jpg") center/cover no-repeat;
}

.slide-2 {
  background: url("../image/crousel_img/cr-2.jpg") center/cover no-repeat;
}

.slide-3 {
  background: url("../image/crousel_img/cr-3.jpg") center/cover no-repeat;
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}
/* ================= Carousel Dots=============== ===== */
.control-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.control-dot.active {
  background: #fff;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* Hover effect with pulse animation */
.control-dot:hover {
  transform: scale(1.6);
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

/* ===== Carousel Arrows ===== */
.carousel-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  transform: translateY(-50%);
}

.arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.2) rotate(8deg);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
  color: #ff0057; /* stylish accent color */
}

.arrow:hover i {
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from {
    text-shadow: 0 0 5px #ff0057, 0 0 10px #ff0057;
  }
  to {
    text-shadow: 0 0 15px #ff408c, 0 0 25px #ff408c;
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */


@media (max-width: 992px) {
  .topbar {
    width: 100%;
    font-size: 12px;
    height: 45px;
    padding: 6px 15px;
  }

  .icon-circle,
  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .middle-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .info-boxs {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .carousel {
    height: 500px;
  }

  .slide {
    padding: 50px;
  }

  .slide h2 {
    font-size: 2.8rem;
  }

  .slide p {
    font-size: 1.1rem;
  }

  .custom-navbar {
    border-radius: 15px;
  }

  .custom-navbar .nav-link {
    font-size: 14px;
    margin: 0 5px;
  }
}

/* Small devices */
@media (max-width: 768px) {
  .topbar {
    width: 93%;
    margin: 8px auto;
    height: 40px;
    padding: 5px 10px;
  }

  .topbar .d-flex:last-child {
    margin-right: 10px;
  }

  .icon-circle,
  .social-icon {
    width: 25px;
    height: 25px;
    font-size: 11px;
    margin: 0 3px;
  }

  .middle-bar {
    padding: 10px;
  }

  .main_logo {
    height: 75px;
    max-width: 392px;
    margin-left: -10px !important;
  }

  .info-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .btn-consult {
    padding: 8px 16px;
    font-size: 14px;
  }

  .carousel {
    height: 400px;
  }

  .slide {
    padding: 30px;
    align-items: center;
    text-align: center;
  }

  .slide h2 {
    font-size: 2.3rem;
    margin-left: 0;
  }

  .slide p {
    font-size: 1rem;
    margin-left: 0;
  }

  .slide-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
    margin-left: 0;
  }

  .arrow {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .custom-navbar {
    padding: 6px 15px;
  }

  .navbar-wrapper {
    gap: 15px;
  }

  .emergency-call {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .topbar {
    width: 94%;
    font-size: 10px;
    height: 35px;
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 8px;
  }

  .topbar .d-flex:last-child {
    margin-right: 0;
  }

  .icon-circle,
  .social-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
    margin: 0 2px;
  }

  .middle-bar {
    flex-direction: column;
    gap: 10px;
  }


  .btn-consult {
    display: none;
  }

  .carousel {
    height: 350px;
  }

  .slide {
    padding: 20px;
  }

  .slide h2 {
    font-size: 1.8rem;
  }

  .slide p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .slide-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .control-dot {
    width: 12px;
    height: 12px;
  }

  .custom-navbar {
    border-radius: 10px;
  }

  .custom-navbar .nav-link {
    font-size: 12px;
    padding: 8px 5px;
  }

  .emergency-call {
    padding: 5px 10px;
    font-size: 12px;
    background: linear-gradient(135deg, #8a1538, #a51c47);
  }

  .emergency-call small {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .carousel {
    height: 300px;
  }

  .slide h2 {
    font-size: 1.5rem;
  }

  .slide p {
    font-size: 0.8rem;
  }

  .info-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .main_logo {
    height: 50px;
    max-width: 180px;
  }
}
/*===================ABOUT SECTION STYLING====================*/
.about-section {
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  padding: 20px;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  /* Clip-path effect */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
  animation: clipReveal 1.5s ease-out;
  max-height: 580px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(138, 21, 56, 0.8), transparent);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px;
  color: white;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px 40px;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 2.8rem;
  color: #8a1538;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #8a1538, #d6005c);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.about-text h3 {
  font-size: 2.2rem;
  color: #8a1538;
  margin-bottom: 25px;
  position: relative;
  animation: fadeInRight 1s ease-out;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #8a1538, #d6005c);
  border-radius: 2px;
  animation: expandLine 1.2s ease-out;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: #495057;
  margin-bottom: 25px;
  animation: fadeIn 1.4s ease-out;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.feature {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  animation: fadeInUp 1s ease-out;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a1538, #a51c47);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(138, 21, 56, 0.3);
}

.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #212529;
}

.feature-content p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #6c757d;
  animation: none;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, #8a1538 0%, #a51c47 100%);
  padding: 40px;
  border-radius: 15px;
  color: white;
  /* Clip-path effect for stats section */
  clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
  animation: clipReveal 1.8s ease-out;
}

.stat {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes clipReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2.5rem;
  }

  .about-content {
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  .about-content {
    padding: 40px 20px;
    flex-direction: column;
  }

  .about-text {
    padding: 20px 0;
  }

  .stats {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 90% 100%, 0 100%);
    margin-top: 40px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .section-title p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .about-text h3 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .feature {
    min-width: 100%;
  }
  .stats {
    margin-top: 40px;
  }
  .stat {
    min-width: 120px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-text {
    font-size: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
/*===============DEPARTMENT SECTION STYLING===============*/
.med-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.med-content-wrapper {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.med-text-section {
  flex: 0 0 35%;
  max-width: 35%;
}

.med-main-heading {
  color: #1e293b;
  font-size: 3.5rem;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.med-description {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.7;
}

.med-department-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #8a1538, #6a0f2b);
  color: #ffffff;
  padding: 16px 38px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 6px 18px rgba(138, 21, 56, 0.35);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.med-department-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.med-department-btn:hover::before {
  left: 100%;
}

.med-department-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(138, 21, 56, 0.45);
  background: linear-gradient(135deg, #6a0f2b, #4a0a1e);
}

.med-department-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 20px rgba(138, 21, 56, 0.4);
}

.med-department-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.med-department-btn:hover i {
  transform: translateX(4px);
}

.med-department-btn span {
  position: relative;
  z-index: 1;
}

.med-department-btn:focus {
  outline: 2px solid #8a1538;
  outline-offset: 2px;
}

.med-cards-section {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
}

.med-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
}

.med-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.med-slide-page {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.med-card-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.med-department-card {
  flex: 1;
  background: linear-gradient(135deg, #ffffff, #fafafa);
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 8px 32px rgba(138, 19, 88, 0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f8f4f6;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  min-height: 200px;
  box-sizing: border-box;
}

.med-department-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(138, 19, 88, 0.05),
    rgba(59, 130, 246, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.med-department-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #8a1358, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 0 0 16px 16px;
}

.med-department-card:hover::before {
  opacity: 1;
}

.med-department-card:hover::after {
  transform: scaleX(1);
}

.med-department-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(138, 19, 88, 0.15);
  border-color: rgba(138, 19, 88, 0.2);
}

.med-department-card:active {
  transform: translateY(-4px) scale(1.01);
}

@keyframes cardGlow {
  0%,
  100% {
    box-shadow: 0 20px 40px rgba(138, 19, 88, 0.15);
  }
  50% {
    box-shadow: 0 20px 45px rgba(138, 19, 88, 0.25);
  }
}

.med-department-card:hover {
  animation: cardGlow 2s ease-in-out infinite;
}

/* Individual card border colors based on department */
.med-urology-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-ophthalmology-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-orthopedics-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-plastic-surgery-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-physiotherapy-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-nephrology-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-gastroenterology-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-trauma-care-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-gynecology-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-cardiology-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-neurosurgery-card:hover {
  border-color: rgba(138, 19, 88, 0.3);
}

.med-icu-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.med-department-card:focus-within {
  outline: 2px solid #8a1358;
  outline-offset: 2px;
}

.med-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.med-urology-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-ophthalmology-card .med-card-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.med-orthopedics-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-plastic-surgery-card .med-card-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.med-physiotherapy-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-nephrology-card .med-card-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.med-gastroenterology-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-trauma-care-card .med-card-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.med-gynecology-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-cardiology-card .med-card-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.med-neurosurgery-card .med-card-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.med-icu-card .med-card-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.med-card-title {
  color: #1e293b;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.med-card-description {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin: 0;
}

.med-slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.med-nav-btn {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid #e2e8f0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(138, 21, 56, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1.1rem;
  color: #8a1538;
  position: relative;
  overflow: hidden;
}

.med-nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8a1538, #6a0f2b);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.med-nav-btn:hover::before {
  transform: scale(1);
}

.med-nav-btn:hover {
  border-color: #8a1538;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(138, 21, 56, 0.25);
}

.med-nav-btn i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.med-nav-btn:hover i {
  color: white;
  transform: scale(1.1);
}

.med-nav-btn:active {
  transform: translateY(-1px) scale(1.05);
}

.med-indicator-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.med-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 2px solid transparent;
}

.med-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #8a1538;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.med-dot-active {
  background: transparent;
  border: 2px solid #8a1538;
  transform: scale(1.3);
}

.med-dot-active::before {
  width: 6px;
  height: 6px;
  background: #8a1538;
}

.med-dot:hover {
  transform: scale(1.2);
  border-color: #8a1538;
}

.med-dot:hover::before {
  width: 4px;
  height: 4px;
  background: #8a1538;
}

.med-nav-btn:focus {
  outline: 2px solid #8a1538;
  outline-offset: 2px;
}

.med-dot:focus {
  outline: 2px solid #8a1538;
  outline-offset: 2px;
}

@media (max-width: 1200px) {
  .med-content-wrapper {
    gap: 30px;
  }

  .med-text-section {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .med-cards-section {
    flex: 0 0 55%;
    max-width: 55%;
  }

  .med-main-heading {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .med-content-wrapper {
    gap: 40px;
  }

  .med-main-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .med-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .med-text-section {
    flex: 1;
    max-width: 100%;
    text-align: center;
  }

  .med-cards-section {
    flex: 1;
    max-width: 100%;
  }

  .med-main-heading {
    font-size: 2.2rem;
  }

  .med-card-row {
    flex-direction: column;
  }

  .med-department-card {
    min-height: 180px;
  }
}

@media (max-width: 576px) {
  .med-container {
    padding: 0 15px;
  }

  .med-main-heading {
    font-size: 2rem;
  }

  .med-department-btn {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .med-department-card {
    padding: 20px 15px;
    min-height: 160px;
  }

  .med-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .med-card-title {
    font-size: 1.1rem;
  }

  .med-card-description {
    font-size: 0.85rem;
  }
}
/*================NEWS SECTION STYLING=====================*/
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-title-main {
  text-align: center;
  margin-bottom: 50px;
}

.main-heading {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 15px;
}

.main-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* News Card */
.news-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 750px;
  display: flex;
  flex-direction: column;
}

.news-header {
  background: var(--gradient);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-15deg);
}

.news-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.news-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
}

.news-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  position: relative;
}

.control-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  text-decoration: none;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  border-color: white;
}

.news-content {
  flex: 1;
  padding: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.marquee-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
}

.marquee-content {
  position: absolute;
  width: 100%;
  animation: smoothScroll 80s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.news-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-left: 4px solid var(--primary);
}

.news-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-item-content {
  padding: 20px;
}

.news-item-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.news-date {
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.news-category {
  background: rgba(138, 21, 56, 0.1);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.news-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-item-text {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.news-read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.news-read-more:hover {
  color: var(--secondary);
  gap: 12px;
}

/* Enquiry Card */
.enquiry-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 750px;
  display: flex;
  flex-direction: column;
}

.enquiry-header {
  background: var(--gradient);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.enquiry-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
}

.enquiry-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.enquiry-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
}

.enquiry-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.enquiry-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-label i {
  color: var(--primary);
}

.form-control {
  padding: 15px 20px;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(138, 21, 56, 0.15);
  transform: translateY(-2px);
}

.btn-submit {
  background: var(--gradient);
  border: none;
  padding: 18px 30px;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 21, 56, 0.3);
}

.contact-info {
  margin-top: 30px;
  padding: 25px;
  background: rgba(138, 21, 56, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--primary);
}

.contact-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #495057;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

/* Smooth Marquee Animation */
@keyframes smoothScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .news-card,
  .enquiry-card {
    height: 650px;
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 2.5rem;
  }

  .main-subtitle {
    font-size: 1.1rem;
  }

  .news-title,
  .enquiry-title {
    font-size: 1.8rem;
  }

  .news-header {
    padding: 25px 20px;
  }
  .enquiry-header {
    padding: 85px 20px;
  }

  .news-content,
  .enquiry-content {
    padding: 20px;
  }

  .news-image {
    height: 150px;
  }
  .enquiry-card {
    height: 100%;
  }
}

@media (max-width: 576px) {
  .main-heading {
    font-size: 2rem;
  }

  .news-card {
    height: 600px;
  }
  .enquiry-card {
    height: 100%;
  }
  .news-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .news-image {
    height: 120px;
  }
}
/*===================GALLERY SECTION STYLE==================*/
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(138, 21, 56, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #ffffff;
  border: 1px solid #f1f5f9;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.gallery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 21, 56, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(138, 21, 56, 0.2);
  border-color: #8a1538;
}

.gallery-card:hover::before {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.6s ease;
  border-radius: 20px 20px 0 0;
  filter: brightness(0.95);
  transform: translateZ(0);
}

.gallery-card:hover img {
  transform: scale(1.15) translateZ(10px);
  filter: brightness(1.05);
}

/* Overlay */
.gallery-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 20px;
  background: linear-gradient(transparent, rgba(138, 21, 56, 0.95));
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.gallery-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.2s;
}

.gallery-card:hover .overlay h3,
.gallery-card:hover .overlay p {
  transform: translateY(0);
}

.gallerySwiper {
  padding: 50px 0 80px 0;
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  width: 55px;
  height: 55px;
  background: #8a1538;
  border-radius: 50%;
  color: #ffffff;
  bottom: 15px;
  top: auto;
  box-shadow: 0 8px 25px rgba(138, 21, 56, 0.3);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: absolute;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #6a102f;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 12px 30px rgba(138, 21, 56, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next {
  right: calc(50% - 70px);
}

.swiper-button-prev {
  left: calc(50% - 70px);
}

.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #e2e8f0;
  opacity: 0.7;
  transition: all 0.4s ease;
  margin: 0 8px !important;
  border-radius: 6px;
}

.swiper-pagination-bullet:hover {
  transform: scale(1.3);
  background: #8a1538;
}

.swiper-pagination-bullet-active {
  background: #8a1538;
  opacity: 1;
  transform: scale(1.4);
  box-shadow: 0 4px 15px rgba(138, 21, 56, 0.3);
  width: 30px;
  border-radius: 15px;
}

/* Card content area */
.gallery-card-content {
  padding: 20px;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 1;
}

.gallery-card-content h4 {
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-card-content p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .gallery-card img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery-card {
    margin: 0 10px;
  }

  .gallery-card img {
    height: 220px;
  }

  .overlay h3 {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 45px;
    height: 45px;
    bottom: 12px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }

  .swiper-button-next {
    right: calc(50% - 60px);
  }

  .swiper-button-prev {
    left: calc(50% - 60px);
  }
}

@media (max-width: 576px) {
  .gallerySwiper {
    padding: 30px 0 70px 0;
  }

  .gallery-card img {
    height: 200px;
  }

  .gallery-card .overlay {
    padding: 20px 15px;
  }

  .overlay h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    bottom: 10px;
  }

  .swiper-button-next {
    right: calc(50% - 50px);
  }

  .swiper-button-prev {
    left: calc(50% - 50px);
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
  }

  .swiper-pagination-bullet-active {
    width: 25px;
  }
}

/* Loading animation */
@keyframes cardLoad {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.gallery-card {
  animation: cardLoad 0.8s ease forwards;
}

/* Hover effect for card content */
.gallery-card-content {
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-content {
  transform: translateY(-5px);
}
/*=====================FOOTER STYLING========================*/

.medicare-footer {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  color: #334155;
  position: relative;
  margin-top: 80px;
  border-top: 1px solid #e2e8f0;
}

.footer-wave-top {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, #8a1538 0%, #3b82f6 100%);
  clip-path: ellipse(100% 100% at 50% 100%);
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px 0px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 40px;
  align-items: stretch;
}

.footer-about {
  display: flex;
  flex-direction: column;
}

.medicare-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.brand-symbol {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: pulse-heart 2s infinite;
}

@keyframes pulse-heart {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand-tagline {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex: 1;
}

.social-connect {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-circle {
  width: 40px;
  height: 40px;
  background: rgba(138, 21, 56, 0.1);
  border: 1px solid rgba(138, 21, 56, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a1538;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-circle:hover {
  background: #8a1538;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 21, 56, 0.3);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  color: #1e293b;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.nav-links {
  list-style: none;
  flex: 1;
}

.nav-links li {
  margin-bottom: 6px;
}

.nav-links a {
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  line-height: 2;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #8a1538;
  transform: translateX(3px);
}

.nav-icon {
  color: #8a1538;
  font-size: 0.7rem;
}

.department-list {
  list-style: none;
  flex: 1;
}

.department-list li {
  margin-bottom: 6px;
}

.department-list a {
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
}

.department-list a:hover {
  color: #8a1538;
  transform: translateX(3px);
}

.dept-icon {
  width: 32px;
  height: 32px;
  background: rgba(138, 21, 56, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a1538;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.department-list a:hover .dept-icon {
  background: #8a1538;
  color: white;
  transform: rotate(5deg);
}

.contact-details {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #64748b;
  border-bottom: 1px solid rgba(138, 21, 56, 0.1);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-badge {
  width: 36px;
  height: 36px;
  background: rgba(138, 21, 56, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a1538;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.contact-details li:hover .contact-badge {
  background: #8a1538;
  color: white;
  transform: scale(1.05);
}

.contact-info {
  line-height: 1.4;
  flex: 1;
}

.contact-info strong {
  color: #1e293b;
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.contact-info span {
  font-size: 0.85rem;
  color: #64748b;
  display: block;
  margin-bottom: 1px;
}

.additional-info {
  margin-top: 15px;
  padding: 12px;
  background: rgba(138, 21, 56, 0.05);
  border-radius: 8px;
  border-left: 3px solid #8a1538;
}

.additional-info strong {
  color: #8a1538;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 5px;
}

.additional-info p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Footer Base with #8a1358 Background */
.footer-base-container {
  background: #8a1538;
  width: 100%;
  margin-top: 40px;
}

.footer-base {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-text {
  color: #ffffff;
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-legal a:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

.accreditation-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.accreditation-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.accreditation-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transform: translateY(-1px);
}

/* Emergency Button */
.urgent-call-btn {
  position: fixed;
  bottom: 10px;
  left: 30px;
  background: linear-gradient(135deg, #8a1538, #dc2626);
  color: white;
  border: none;
  padding: 15px 15px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: emergency-pulse 2s infinite;
  font-size: 1.5rem;
}

@keyframes emergency-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.urgent-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-base {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }

  .accreditation-badges {
    justify-content: center;
  }

  .footer-wave-top {
    top: -60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .footer-wrapper {
    padding: 60px 15px 0px;
  }

  .medicare-brand {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .social-connect {
    justify-content: center;
  }

  .urgent-call-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-base {
    padding: 20px 15px;
  }
}

/*==========================OTHER PAGE STYLING START================================*/
.inner-cover {
  background: url("../image/about-img/ab-5.jpg") no-repeat center center/cover;
  min-height: 400px;
  position: relative;
}

.inner-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.inner-cover .container {
  position: relative;
  z-index: 2;
}

.text-shadow {
  text-shadow: 2px 2px 5px rgba(138, 19, 88, 0.8); /* theme text shadow */
}

.home-btn {
  background: transparent;
  border: none;
  color: white;
  font-weight: 600;
  padding: 0;
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #8a1358; /* theme color */
  transition: width 0.4s ease;
}

.home-btn:hover {
  color: #8a1358; /* theme color */
}

.home-btn:hover::after {
  width: 100%;
}

.home-btn span {
  display: inline-block;
  transition: letter-spacing 0.3s ease;
}

.home-btn:hover span {
  letter-spacing: 1.5px;
}

.home-btn:hover {
  text-shadow: 0 0 10px rgba(138, 19, 88, 0.4); /* theme glow effect */
}

@media (max-width: 768px) {
  .inner-cover {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .inner-cover {
    min-height: 250px;
  }
}

/* For extremely small devices (optional) */
@media (max-width: 400px) {
  .inner-cover {
    min-height: 200px;
  }
}
/*===================OTHER PAGE ABOUT SECTION===================*/
.about-page-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

/* Background Shapes */
.about-shape-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.about-shape-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: about-float 8s ease-in-out infinite;
}

.about-shape-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(138, 21, 56, 0.08) 100%
  );
  clip-path: circle(50% at 50% 50%);
  animation: about-float 6s ease-in-out infinite reverse;
}

.about-shape-3 {
  position: absolute;
  top: 40%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  animation: about-float 10s ease-in-out infinite;
}

@keyframes about-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.about-page-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 80px;
}

.about-page-header {
  text-align: center;
  margin-bottom: 80px;
}

.about-page-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-page-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.about-page-subtitle {
  font-size: 1.3rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-page-text {
  padding-right: 20px;
}

.about-page-description {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  font-family: "Lora", serif;
  margin-bottom: 30px;
}

/* Owner Information Section */
.about-owner-info {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(138, 21, 56, 0.1);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.about-owner-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
}

.about-owner-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.about-owner-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-owner-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.about-owner-qualification {
  color: #8a1538;
  font-weight: 600;
  font-size: 1rem;
}

.about-owner-bio {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
  text-align: justify;
}

.about-owner-bio strong {
  color: #8a1538;
}

.about-page-visual {
  position: relative;
}

.about-main-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.about-main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-main-image-container:hover .about-main-image {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(138, 21, 56, 0.9));
  color: white;
}

.about-overlay-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid #8a1538;
  animation: about-pulse 2s ease-in-out infinite;
}

@keyframes about-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.about-floating-card i {
  font-size: 2rem;
  color: #8a1538;
  margin-bottom: 10px;
}

.about-floating-card p {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mission Vision Section */
.about-mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.about-mission-card,
.about-vision-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 21, 56, 0.1);
}

.about-mission-card::before,
.about-vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
}

.about-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-mission-card h3,
.about-vision-card h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.about-mission-card p,
.about-vision-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.about-page-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 20px 20px;
}

.about-cta-content {
  position: relative;
  z-index: 2;
}

.about-cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-cta-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta-btn-primary,
.about-cta-btn-secondary {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-cta-btn-primary {
  background: white;
  color: #8a1538;
}

.about-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.about-cta-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.about-cta-btn-secondary:hover {
  background: white;
  color: #8a1538;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-page-grid {
    gap: 40px;
  }

  .about-mission-vision {
    gap: 30px;
  }

  .about-shape-1 {
    width: 300px;
    height: 300px;
  }

  .about-shape-2 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-page-text {
    padding-right: 0;
  }

  .about-mission-vision {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-page-title {
    font-size: 2.8rem;
  }

  .about-page-stats {
    grid-template-columns: 1fr;
  }

  .about-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }

  .about-owner-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .about-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-cta-btn-primary,
  .about-cta-btn-secondary {
    width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-page-content {
    padding: 80px 15px 60px;
  }

  .about-page-title {
    font-size: 2.2rem;
  }

  .about-page-subtitle {
    font-size: 1.1rem;
  }

  .about-mission-card,
  .about-vision-card {
    padding: 30px 25px;
  }

  .about-owner-info {
    padding: 25px 20px;
  }

  .about-page-cta {
    padding: 40px 25px;
  }

  .about-cta-title {
    font-size: 1.8rem;
  }

  .about-shape-1,
  .about-shape-2,
  .about-shape-3 {
    display: none;
  }
}
/*============================AFFILITIONS PAGE STYLING========================*/
.medaffiliate-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  position: relative;
}

/* Background Shapes */
.medaffiliate-shape {
  position: absolute;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 50%;
  opacity: 0.1;
  animation: medaffiliate-float 6s ease-in-out infinite;
}

.medaffiliate-shape-1 {
  width: 180px;
  height: 180px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.medaffiliate-shape-2 {
  width: 120px;
  height: 120px;
  top: 70%;
  right: 8%;
  animation-delay: 2s;
}

.medaffiliate-shape-3 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 12%;
  animation-delay: 4s;
}

@keyframes medaffiliate-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.medaffiliate-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header Section */
.medaffiliate-header {
  text-align: center;
  margin-bottom: 60px;
}

.medaffiliate-badge {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.medaffiliate-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.medaffiliate-title span {
  background: linear-gradient(135deg, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.medaffiliate-subtitle {
  font-size: 1.2rem;
  color: #5d6d7e;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Affiliations Grid */
.medaffiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Affiliation Card */
.medaffiliate-card {
  background: white;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3498db;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.medaffiliate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

.medaffiliate-card:hover::before {
  left: 100%;
}

.medaffiliate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.medaffiliate-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.medaffiliate-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.medaffiliate-card:hover .medaffiliate-card-icon {
  transform: scale(1.1);
}

.medaffiliate-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
}

.medaffiliate-card-content {
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 25px;
}

.medaffiliate-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.medaffiliate-feature {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.medaffiliate-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e8f4fe;
}

.medaffiliate-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.medaffiliate-status.active {
  color: #27ae60;
}

.medaffiliate-status.pending {
  color: #f39c12;
}

.medaffiliate-status.inactive {
  color: #e74c3c;
}

.medaffiliate-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.active .medaffiliate-status-dot {
  background: #27ae60;
}

.pending .medaffiliate-status-dot {
  background: #f39c12;
}

.inactive .medaffiliate-status-dot {
  background: #e74c3c;
}

.medaffiliate-download-btn {
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.medaffiliate-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Stats Section */
.medaffiliate-stats {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.medaffiliate-stats-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 40px;
}

.medaffiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.medaffiliate-stat {
  text-align: center;
}
.medaffiliate-stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.medaffiliate-stat-label {
  color: #5d6d7e;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
  .medaffiliate-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .medaffiliate-title {
    font-size: 2.5rem;
  }

  .medaffiliate-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .medaffiliate-section {
    padding: 80px 15px;
  }

  .medaffiliate-title {
    font-size: 2.2rem;
  }

  .medaffiliate-card {
    padding: 30px 25px;
  }

  .medaffiliate-stats {
    padding: 40px 30px;
  }

  .medaffiliate-card-header {
    flex-direction: column;
    text-align: center;
  }

  .medaffiliate-card-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .medaffiliate-card-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .medaffiliate-title {
    font-size: 1.8rem;
  }

  .medaffiliate-grid {
    grid-template-columns: 1fr;
  }

  .medaffiliate-stats-grid {
    grid-template-columns: 1fr;
  }

  .medaffiliate-stat-number {
    font-size: 2.5rem;
  }
}

/*============================DOCTOR MESSEAGE PAGE STYLING========================*/

.doctor-message-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Background Shapes */
.doctor-shape-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.doctor-shape-1 {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.08) 0%,
    rgba(59, 130, 246, 0.08) 100%
  );
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: doctor-float 9s ease-in-out infinite;
}

.doctor-shape-2 {
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.06) 0%,
    rgba(138, 21, 56, 0.06) 100%
  );
  clip-path: circle(50% at 50% 50%);
  animation: doctor-float 7s ease-in-out infinite reverse;
}

.doctor-shape-3 {
  position: absolute;
  top: 60%;
  right: 15%;
  width: 180px;
  height: 180px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.04) 0%,
    rgba(59, 130, 246, 0.04) 100%
  );
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  animation: doctor-float 11s ease-in-out infinite;
}

@keyframes doctor-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.doctor-message-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-message-header {
  text-align: center;
  margin-bottom: 80px;
}

.doctor-message-title {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.doctor-message-title::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.doctor-message-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.doctor-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Doctor Image Section */
.doctor-image-section {
  position: relative;
  padding: 20px;
}

.doctor-image-container {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.doctor-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 35px 70px rgba(138, 21, 56, 0.2);
}

.doctor-image-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(15px);
}

.doctor-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(138, 21, 56, 0.1) 100%
  );
  z-index: 1;
}

.doctor-main-image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.doctor-image-container:hover .doctor-main-image {
  transform: scale(1.05);
}

.doctor-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(138, 21, 56, 0.95));
  color: white;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.doctor-image-container:hover .doctor-image-overlay {
  transform: translateY(0);
}

.doctor-overlay-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.doctor-overlay-role {
  font-size: 1rem;
  opacity: 0.9;
}

/* Message Card Section */
.doctor-message-card-section {
  position: relative;
  padding: 20px;
}

.doctor-message-card {
  background: white;
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 21, 56, 0.1);
  transform: perspective(1000px) rotateY(5deg);
  transition: all 0.5s ease;
}

.doctor-message-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 35px 70px rgba(59, 130, 246, 0.15);
}

.doctor-message-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
}

.doctor-message-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  border-radius: 50%;
  z-index: 1;
}

.doctor-quote-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  z-index: 2;
}

.doctor-message-content-inner {
  position: relative;
  z-index: 2;
}

.doctor-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.doctor-card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.doctor-message-text {
  color: #475569;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: justify;
  position: relative;
}

.doctor-message-text::before {
  content: '"';
  font-size: 4rem;
  color: rgba(138, 21, 56, 0.1);
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: serif;
  z-index: -1;
}

.doctor-signature-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(138, 21, 56, 0.1);
}

.doctor-signature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doctor-signature-info {
  flex: 1;
}

.doctor-signature-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.doctor-signature-role {
  color: #8a1538;
  font-weight: 600;
  font-size: 0.95rem;
}

.doctor-signature-hospital {
  color: #64748b;
  font-size: 0.9rem;
}

/* Floating Elements */
.doctor-floating-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(138, 21, 56, 0.3);
  z-index: 3;
  animation: doctor-badge-float 3s ease-in-out infinite;
}

@keyframes doctor-badge-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.doctor-experience-badge {
  position: absolute;
  bottom: 30px;
  right: -15px;
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid #8a1538;
  text-align: center;
  z-index: 3;
  animation: doctor-badge-float 4s ease-in-out infinite reverse;
}

.doctor-experience-badge i {
  font-size: 1.8rem;
  color: #8a1538;
  margin-bottom: 8px;
}

.doctor-experience-badge p {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .doctor-message-grid {
    gap: 40px;
  }

  .doctor-shape-1 {
    width: 280px;
    height: 280px;
  }

  .doctor-shape-2 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .doctor-message-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .doctor-image-container,
  .doctor-message-card {
    transform: none;
  }

  .doctor-image-container:hover,
  .doctor-message-card:hover {
    transform: translateY(-10px);
  }

  .doctor-message-title {
    font-size: 2.6rem;
  }

  .doctor-floating-badge,
  .doctor-experience-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 20px 0;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .doctor-message-container {
    padding: 60px 0;
  }

  .doctor-message-content {
    padding: 0 15px;
  }

  .doctor-message-title {
    font-size: 2.2rem;
  }

  .doctor-message-subtitle {
    font-size: 1.1rem;
  }

  .doctor-message-card {
    padding: 35px 25px;
  }

  .doctor-card-title {
    font-size: 1.5rem;
  }

  .doctor-main-image {
    height: 400px;
  }

  .doctor-shape-1,
  .doctor-shape-2,
  .doctor-shape-3 {
    display: none;
  }
}
.doctor-message-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Background Shapes */
.doctor-shape-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.doctor-shape-1 {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.08) 0%,
    rgba(59, 130, 246, 0.08) 100%
  );
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: doctor-float 9s ease-in-out infinite;
}

.doctor-shape-2 {
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.06) 0%,
    rgba(138, 21, 56, 0.06) 100%
  );
  clip-path: circle(50% at 50% 50%);
  animation: doctor-float 7s ease-in-out infinite reverse;
}

.doctor-shape-3 {
  position: absolute;
  top: 60%;
  right: 15%;
  width: 180px;
  height: 180px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.04) 0%,
    rgba(59, 130, 246, 0.04) 100%
  );
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  animation: doctor-float 11s ease-in-out infinite;
}

@keyframes doctor-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.doctor-message-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-message-header {
  text-align: center;
  margin-bottom: 80px;
}

.doctor-message-title {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.doctor-message-title::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.doctor-message-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.doctor-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Doctor Image Section */
.doctor-image-section {
  position: relative;
  padding: 20px;
}

.doctor-image-container {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.doctor-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 35px 70px rgba(138, 21, 56, 0.2);
}

.doctor-image-container::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(15px);
}

.doctor-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(138, 21, 56, 0.1) 100%
  );
  z-index: 1;
}

.doctor-main-image {
  width: 100%;
  height: 650px;
  object-fit: cover;
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.doctor-image-container:hover .doctor-main-image {
  transform: scale(1.05);
}

.doctor-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(138, 21, 56, 0.95));
  color: white;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.doctor-image-container:hover .doctor-image-overlay {
  transform: translateY(0);
}

.doctor-overlay-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.doctor-overlay-role {
  font-size: 1rem;
  opacity: 0.9;
}

/* Message Card Section */
.doctor-message-card-section {
  position: relative;
  padding: 20px;
}

.doctor-message-card {
  background: white;
  padding: 50px 40px;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(138, 21, 56, 0.1);
  transform: perspective(1000px) rotateY(5deg);
  transition: all 0.5s ease;
}

.doctor-message-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 35px 70px rgba(59, 130, 246, 0.15);
}

.doctor-message-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
}

.doctor-message-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(138, 21, 56, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  border-radius: 50%;
  z-index: 1;
}

.doctor-quote-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  z-index: 2;
}

.doctor-message-content-inner {
  position: relative;
  z-index: 2;
}

.doctor-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.doctor-card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #8a1538, #3b82f6);
  border-radius: 2px;
}

.doctor-message-text {
  color: #475569;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 30px;
  text-align: justify;
  position: relative;
}

.doctor-message-text::before {
  content: '"';
  font-size: 4rem;
  color: rgba(138, 21, 56, 0.1);
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: serif;
  z-index: -1;
}

.doctor-signature-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(138, 21, 56, 0.1);
}

.doctor-signature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.doctor-signature-info {
  flex: 1;
}

.doctor-signature-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.doctor-signature-role {
  color: #8a1538;
  font-weight: 600;
  font-size: 0.95rem;
}

.doctor-signature-hospital {
  color: #64748b;
  font-size: 0.9rem;
}

/* Floating Elements */
.doctor-floating-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: linear-gradient(135deg, #8a1538, #3b82f6);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(138, 21, 56, 0.3);
  z-index: 3;
  animation: doctor-badge-float 3s ease-in-out infinite;
}

@keyframes doctor-badge-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.doctor-experience-badge {
  position: absolute;
  bottom: 30px;
  right: -15px;
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid #8a1538;
  text-align: center;
  z-index: 3;
  animation: doctor-badge-float 4s ease-in-out infinite reverse;
}

.doctor-experience-badge i {
  font-size: 1.8rem;
  color: #8a1538;
  margin-bottom: 8px;
}

.doctor-experience-badge p {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .doctor-message-grid {
    gap: 40px;
  }

  .doctor-shape-1 {
    width: 280px;
    height: 280px;
  }

  .doctor-shape-2 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .doctor-message-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .doctor-image-container,
  .doctor-message-card {
    transform: none;
  }

  .doctor-image-container:hover,
  .doctor-message-card:hover {
    transform: translateY(-10px);
  }

  .doctor-message-title {
    font-size: 2.6rem;
  }

  .doctor-floating-badge,
  .doctor-experience-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 20px 0;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .doctor-message-container {
    padding: 60px 0;
  }

  .doctor-message-content {
    padding: 0 15px;
  }

  .doctor-message-title {
    font-size: 2.2rem;
  }

  .doctor-message-subtitle {
    font-size: 1.1rem;
  }

  .doctor-message-card {
    padding: 35px 25px;
  }

  .doctor-card-title {
    font-size: 1.5rem;
  }

  .doctor-main-image {
    height: 400px;
  }

  .doctor-shape-1,
  .doctor-shape-2,
  .doctor-shape-3 {
    display: none;
  }
}
/*=======================FACILITES PAGE STYLING================================*/
.med-facilities-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Background shapes */
.med-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #8a1538 0%, #a51e47 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.1;
  z-index: 0;
}

.med-shape-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: circle(40% at 30% 70%);
  opacity: 0.08;
  z-index: 0;
}

.med-shape-3 {
  position: absolute;
  top: 40%;
  left: 60%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #8a1538 0%, #3498db 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
  z-index: 0;
}

.med-facilities-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.med-facilities-heading {
  text-align: center;
  margin-bottom: 60px;
  color: #2c3e50;
  position: relative;
}

.med-facilities-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1538);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.med-facilities-heading p {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
}

.med-facilities-heading::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #8a1538);
  border-radius: 2px;
}

.med-facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.med-facility-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(52, 152, 219, 0.1);
}

.med-facility-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, #3498db, #8a1538);
  transition: all 0.4s ease;
  z-index: -1;
}

.med-facility-card:hover::before {
  height: 100%;
}

.med-facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
}

.med-facility-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.med-facility-card:hover .med-facility-icon {
  background: transparent;
}

.med-facility-icon i {
  font-size: 48px;
  background: linear-gradient(135deg, #3498db, #8a1538);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}
.med-facility-card:hover .med-facility-icon i {
  color: white;
  -webkit-text-fill-color: white;
  transform: scale(1.2);
}

.med-facility-content {
  padding: 25px;
  text-align: center;
}

.med-facility-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: all 0.4s ease;
}

.med-facility-card:hover .med-facility-content h3 {
  color: white;
}

.med-facility-content p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.4s ease;
}

.med-facility-card:hover .med-facility-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Additional decorative elements */
.med-corner-decoration {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 0;
}

.med-corner-top-left {
  top: 0;
  left: 0;
  border-top: 4px solid #3498db;
  border-left: 4px solid #3498db;
  border-top-left-radius: 15px;
}

.med-corner-top-right {
  top: 0;
  right: 0;
  border-top: 4px solid #8a1538;
  border-right: 4px solid #8a1538;
  border-top-right-radius: 15px;
}

.med-corner-bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 4px solid #8a1538;
  border-left: 4px solid #8a1538;
  border-bottom-left-radius: 15px;
}

.med-corner-bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 4px solid #3498db;
  border-right: 4px solid #3498db;
  border-bottom-right-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .med-facilities-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .med-facilities-heading h2 {
    font-size: 2rem;
  }

  .med-shape-1,
  .med-shape-2,
  .med-shape-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  .med-facilities-grid {
    grid-template-columns: 1fr;
  }

  .med-facilities-heading h2 {
    font-size: 1.8rem;
  }
}
/*=====================OUR DOCTORS PAGE STYLING====================*/
.doc-team-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf5ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Unique Background Shapes */
.doc-shape-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #8a1358 0%, #a51e6a 100%);
  clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
  opacity: 0.1;
  z-index: 0;
}

.doc-shape-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 0% 100%);
  opacity: 0.08;
  z-index: 0;
}

.doc-shape-3 {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #8a1358 0%, #3498db 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.07;
  z-index: 0;
}

.doc-shape-4 {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #3498db 0%, #8a1358 100%);
  clip-path: circle(30% at 30% 30%);
  opacity: 0.06;
  z-index: 0;
}

.doc-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.doc-heading {
  text-align: center;
  margin-bottom: 70px;
  color: #2c3e50;
  position: relative;
}

.doc-heading h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.doc-heading p {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
}

.doc-heading::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

.doc-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
}

/* Unique Top Border with ::before and ::after */
.doc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #3498db 20%,
    #8a1358 50%,
    #3498db 80%,
    transparent 100%
  );
  z-index: 2;
  border-radius: 15px 15px 0 0;
}

.doc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;
  background: linear-gradient(90deg, #3498db, #8a1358);
  border-radius: 0 0 3px 3px;
  opacity: 0.8;
  z-index: 3;
}

.doc-img-container {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.doc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doc-card:hover .doc-img {
  transform: scale(1.05);
}

.doc-content {
  padding: 25px 20px;
  text-align: center;
  position: relative;
  background: white;
}

/* Unique card bottom design */
.doc-content::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #3498db,
    #8a1358,
    transparent
  );
}

.doc-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.doc-name::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #3498db, #8a1358);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.doc-card:hover .doc-name::after {
  transform: scaleX(1);
}

.doc-specialty {
  font-size: 1rem;
  color: #3498db;
  margin-bottom: 0;
  font-weight: 500;
  padding: 8px 15px;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(138, 19, 88, 0.1)
  );
  border-radius: 20px;
  display: inline-block;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.doc-specialty::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.5s ease;
}

.doc-card:hover .doc-specialty::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
  .doc-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .doc-heading h2 {
    font-size: 2.2rem;
  }

  .doc-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }

  .doc-shape-1,
  .doc-shape-2,
  .doc-shape-3,
  .doc-shape-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-heading h2 {
    font-size: 2rem;
  }

  .doc-team-section {
    padding: 70px 15px;
  }
}
/*=====================OUR DEPARTMENT PAGE STYLING====================*/
.medical-dept-wrapper {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf5ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Animated Background Shapes */
.med-bg-element-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #8a1358 0%, #a51e6a 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.08;
  z-index: 0;
  animation: med-float-anim 8s ease-in-out infinite;
}

.med-bg-element-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: circle(40% at 30% 30%);
  opacity: 0.06;
  z-index: 0;
  animation: med-float-anim 10s ease-in-out infinite reverse;
}

.med-bg-element-3 {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #8a1358 0%, #3498db 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
  z-index: 0;
  animation: med-rotate-anim 15s linear infinite;
}

.med-bg-element-4 {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #3498db 0%, #8a1358 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.04;
  z-index: 0;
  animation: med-pulse-anim 6s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes med-float-anim {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes med-rotate-anim {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes med-pulse-anim {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.04;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.07;
  }
}

@keyframes med-img-hover {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

.department-content-box {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title-area {
  text-align: center;
  margin-bottom: 80px;
  color: #2c3e50;
  position: relative;
}
.section-main-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
}

.section-description {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 30px auto 0;
  line-height: 1.6;
}

.dept-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
}

.dept-single-item {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.dept-single-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #8a1358);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.dept-single-item:hover::before {
  transform: scaleX(1);
}

.dept-single-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(52, 152, 219, 0.15);
}

.dept-image-holder {
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, #3498db, #8a1358);
  padding: 5px;
  animation: med-img-hover 6s ease-in-out infinite;
}

.dept-profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  transition: all 0.4s ease;
}

.dept-single-item:hover .dept-profile-image {
  transform: scale(1.1);
}

.dept-text-content {
  position: relative;
}

.dept-item-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.dept-item-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.dept-single-item:hover .dept-item-title::after {
  width: 100px;
}

.dept-item-description {
  color: #7f8c8d;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
}

.dept-feature-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.dept-single-item:hover .dept-feature-icon {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .dept-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }

  .section-main-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .dept-items-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-main-title {
    font-size: 2.2rem;
  }

  .section-description {
    font-size: 1.1rem;
  }

  .med-bg-element-1,
  .med-bg-element-2,
  .med-bg-element-3,
  .med-bg-element-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .medical-dept-wrapper {
    padding: 70px 15px;
  }

  .section-main-title {
    font-size: 2rem;
  }

  .dept-single-item {
    padding: 30px 20px;
  }

  .dept-image-holder {
    width: 120px;
    height: 120px;
  }
}
/*======================Empanelment PAGE STYLING=======================*/
.emp-list-container {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf5ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Animated Background Shapes */
.emp-bg-shape-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #8a1358 0%, #a51e6a 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.08;
  z-index: 0;
  animation: emp-float-1 8s ease-in-out infinite;
}

.emp-bg-shape-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: circle(40% at 30% 30%);
  opacity: 0.06;
  z-index: 0;
  animation: emp-float-2 10s ease-in-out infinite;
}

.emp-bg-shape-3 {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #8a1358 0%, #3498db 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
  z-index: 0;
  animation: emp-rotate 15s linear infinite;
}

.emp-bg-shape-4 {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #3498db 0%, #8a1358 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.04;
  z-index: 0;
  animation: emp-pulse 6s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes emp-float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes emp-float-2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(10px) scale(1.05);
  }
}

@keyframes emp-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes emp-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.04;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.07;
  }
}

@keyframes emp-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emp-main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.emp-header-section {
  text-align: center;
  margin-bottom: 60px;
  color: #2c3e50;
  position: relative;
}
.emp-main-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.emp-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
}

.emp-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
}

.emp-list-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid;
  border-image: linear-gradient(135deg, #3498db, #8a1358) 1;
}

.emp-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.emp-card-header {
  margin-bottom: 30px;
  position: relative;
}

.emp-card-title {
  font-size: 1.8rem;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.emp-card-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #3498db, #8a1358);
}

.emp-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.emp-list-item {
  padding: 15px 0;
  border-bottom: 1px solid #f1f2f6;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  animation: emp-fade-in 0.6s ease forwards;
  opacity: 0;
}

.emp-list-item:nth-child(1) {
  animation-delay: 0.1s;
}
.emp-list-item:nth-child(2) {
  animation-delay: 0.2s;
}
.emp-list-item:nth-child(3) {
  animation-delay: 0.3s;
}
.emp-list-item:nth-child(4) {
  animation-delay: 0.4s;
}
.emp-list-item:nth-child(5) {
  animation-delay: 0.5s;
}
.emp-list-item:nth-child(6) {
  animation-delay: 0.6s;
}
.emp-list-item:nth-child(7) {
  animation-delay: 0.7s;
}
.emp-list-item:nth-child(8) {
  animation-delay: 0.8s;
}
.emp-list-item:nth-child(9) {
  animation-delay: 0.9s;
}
.emp-list-item:nth-child(10) {
  animation-delay: 1s;
}

.emp-list-item:last-child {
  border-bottom: none;
}

.emp-list-item:hover {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.05),
    rgba(138, 19, 88, 0.05)
  );
  padding-left: 15px;
  border-radius: 8px;
}

.emp-item-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.emp-item-text {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 500;
  flex: 1;
}

.emp-badge {
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .emp-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .emp-main-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .emp-list-card {
    padding: 30px 25px;
  }

  .emp-main-title {
    font-size: 2.1rem;
  }

  .emp-card-title {
    font-size: 1.6rem;
  }

  .emp-item-text {
    font-size: 1rem;
  }

  .emp-bg-shape-1,
  .emp-bg-shape-2,
  .emp-bg-shape-3,
  .emp-bg-shape-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .emp-list-container {
    padding: 70px 15px;
  }

  .emp-main-title {
    font-size: 1.8rem;
  }

  .emp-list-card {
    padding: 25px 20px;
  }

  .emp-card-title {
    font-size: 1.4rem;
  }

  .emp-item-text {
    font-size: 0.95rem;
  }

  .emp-item-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-right: 12px;
  }
}
/*========================Institutions PAGE STYLING=========================*/
.inst-main-wrapper {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf5ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Animated Background Shapes */
.inst-bg-element-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #8a1358 0%, #a51e6a 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.08;
  z-index: 0;
  animation: inst-float-1 8s ease-in-out infinite;
}

.inst-bg-element-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: circle(40% at 30% 30%);
  opacity: 0.06;
  z-index: 0;
  animation: inst-float-2 10s ease-in-out infinite;
}

.inst-bg-element-3 {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #8a1358 0%, #3498db 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
  z-index: 0;
  animation: inst-rotate 15s linear infinite;
}

.inst-bg-element-4 {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #3498db 0%, #8a1358 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.04;
  z-index: 0;
  animation: inst-pulse 6s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes inst-float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes inst-float-2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(10px) scale(1.05);
  }
}

@keyframes inst-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes inst-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.04;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.07;
  }
}

@keyframes inst-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inst-content-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.inst-header-area {
  text-align: center;
  margin-bottom: 60px;
  color: #2c3e50;
  position: relative;
}

.inst-main-heading {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}
.inst-main-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
}

.inst-sub-heading {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-top: 40px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.inst-sub-heading::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #3498db, #8a1358);
}

.inst-list-card {
  background: white;
  border-radius: 15px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid;
  border-image: linear-gradient(135deg, #3498db, #8a1358) 1;
}

.inst-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.inst-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inst-list-item {
  padding: 20px 0;
  border-bottom: 1px solid #f1f2f6;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  animation: inst-fade-in 0.6s ease forwards;
  opacity: 0;
}

.inst-list-item:nth-child(1) {
  animation-delay: 0.1s;
}
.inst-list-item:nth-child(2) {
  animation-delay: 0.2s;
}
.inst-list-item:nth-child(3) {
  animation-delay: 0.3s;
}
.inst-list-item:nth-child(4) {
  animation-delay: 0.4s;
}
.inst-list-item:nth-child(5) {
  animation-delay: 0.5s;
}
.inst-list-item:nth-child(6) {
  animation-delay: 0.6s;
}
.inst-list-item:nth-child(7) {
  animation-delay: 0.7s;
}
.inst-list-item:nth-child(8) {
  animation-delay: 0.8s;
}
.inst-list-item:nth-child(9) {
  animation-delay: 0.9s;
}
.inst-list-item:nth-child(10) {
  animation-delay: 1s;
}

.inst-list-item:last-child {
  border-bottom: none;
}

.inst-list-item:hover {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.05),
    rgba(138, 19, 88, 0.05)
  );
  padding-left: 20px;
  border-radius: 8px;
}

.inst-item-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 1rem;
}

.inst-item-content {
  flex: 1;
}

.inst-item-title {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.inst-item-code {
  color: #7f8c8d;
  font-size: 0.9rem;
  font-weight: 500;
}

.inst-website-link {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(52, 152, 219, 0.1);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.inst-website-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.inst-website-link:hover {
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.inst-website-link:hover::before {
  left: 100%;
}

.inst-link-icon {
  margin-right: 8px;
  font-size: 0.9rem;
}

.inst-badge {
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .inst-main-heading {
    font-size: 2.5rem;
  }

  .inst-sub-heading {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .inst-list-card {
    padding: 40px 30px;
  }

  .inst-main-heading {
    font-size: 2.2rem;
  }

  .inst-sub-heading {
    font-size: 1.4rem;
  }

  .inst-item-title {
    font-size: 1.1rem;
  }

  .inst-bg-element-1,
  .inst-bg-element-2,
  .inst-bg-element-3,
  .inst-bg-element-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .inst-main-wrapper {
    padding: 70px 15px;
  }

  .inst-main-heading {
    font-size: 2rem;
  }

  .inst-list-card {
    padding: 30px 20px;
  }

  .inst-sub-heading {
    font-size: 1.3rem;
  }

  .inst-item-title {
    font-size: 1rem;
  }

  .inst-item-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 15px;
  }

  .inst-list-item {
    padding: 15px 0;
  }

  .inst-list-item:hover {
    padding-left: 15px;
  }
}
/*==============================GALLERY PAGE STYLING=========================*/
.gallery-main-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf5ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Animated Background Shapes */
.gallery-bg-shape-1 {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #8a1358 0%, #a51e6a 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.08;
  z-index: 0;
  animation: gallery-float-1 8s ease-in-out infinite;
}

.gallery-bg-shape-2 {
  position: absolute;
  bottom: 15%;
  left: 3%;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #3498db 0%, #2e86c1 100%);
  clip-path: circle(40% at 30% 30%);
  opacity: 0.06;
  z-index: 0;
  animation: gallery-float-2 10s ease-in-out infinite;
}

.gallery-bg-shape-3 {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #8a1358 0%, #3498db 100%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  opacity: 0.05;
  z-index: 0;
  animation: gallery-rotate 15s linear infinite;
}

.gallery-bg-shape-4 {
  position: absolute;
  top: 60%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #3498db 0%, #8a1358 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.04;
  z-index: 0;
  animation: gallery-pulse 6s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes gallery-float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes gallery-float-2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(10px) scale(1.05);
  }
}

@keyframes gallery-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gallery-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.04;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.07;
  }
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
  color: #2c3e50;
  position: relative;
}
.gallery-main-title {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}
.gallery-main-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #8a1358);
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-slide {
  position: relative;
}

.gallery-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

/* Unique Border Top */
.gallery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #8a1358);
  z-index: 2;
  border-radius: 15px 15px 0 0;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
}

.glightbox {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
  display: block;
}

.glightbox:hover .gallery-img {
  transform: scale(1.05);
}

/* Overlay Effect */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 25px 20px 15px;
  text-align: center;
}

.overlay h6 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .gallery-main-title {
    font-size: 2.5rem;
  }

  .gallery-img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-main-title {
    font-size: 2.2rem;
  }

  .gallery-bg-shape-1,
  .gallery-bg-shape-2,
  .gallery-bg-shape-3,
  .gallery-bg-shape-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  .gallery-main-section {
    padding: 70px 15px;
  }

  .gallery-main-title {
    font-size: 2rem;
  }

  .gallery-img {
    height: 200px;
  }

  .overlay h6 {
    font-size: 1.1rem;
  }
}
/*===========================CONTACT PAGE STYLING======================*/
.medconnect-section {
  min-height: 100vh;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  position: relative;
}

/* Visible Background Shapes */
.medconnect-shape {
  position: absolute;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 50%;
  opacity: 0.1;
  animation: medconnect-float 6s ease-in-out infinite;
}

.medconnect-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.medconnect-shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 8%;
  animation-delay: 2s;
}

.medconnect-shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes medconnect-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.medconnect-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header Section */
.medconnect-header {
  text-align: center;
  margin-bottom: 60px;
}

.medconnect-badge {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.medconnect-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.medconnect-title span {
  background: linear-gradient(135deg, #3498db, #8a1358);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.medconnect-subtitle {
  font-size: 1.2rem;
  color: #5d6d7e;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Grid Layout - Equal Height */
.medconnect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: stretch; /* This makes both sides equal height */
}

/* Contact Information - Fixed Height */
.medconnect-info {
  display: flex;
  flex-direction: column;
  height: 100%; /* Take full height of grid */
}

.medconnect-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #3498db;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  flex: 1; /* Equal height cards */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.medconnect-card:last-child {
  margin-bottom: 0;
}

.medconnect-card:hover {
  transform: translateY(-5px);
}

.medconnect-card.emergency {
  border-left-color: #e74c3c;
  background: linear-gradient(135deg, #fff, #ffeaea);
}

.medconnect-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.medconnect-card-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #3498db, #8a1358);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  margin-right: 15px;
}

.emergency .medconnect-card-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.medconnect-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.medconnect-card-content {
  color: #5d6d7e;
  line-height: 1.5;
  font-size: 0.95rem;
}

.medconnect-highlight {
  color: #3498db;
  font-weight: 600;
}

.emergency .medconnect-highlight {
  color: #e74c3c;
}

/* Contact Form - Same Height as Left Side */
.medconnect-form-container {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  height: 100%; /* Match left side height */
  display: flex;
  flex-direction: column;
}

.medconnect-form-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.medconnect-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.medconnect-form-group {
  margin-bottom: 20px;
}

.medconnect-form-label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
}

.medconnect-form-input,
.medconnect-form-textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #e8f4fe;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fbfe;
}

.medconnect-form-input:focus,
.medconnect-form-textarea:focus {
  outline: none;
  border-color: #3498db;
  background: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.medconnect-form-textarea {
  resize: vertical;
  min-height: 100px;
  flex: 1;
}

.medconnect-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #3498db, #8a1358);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.medconnect-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Real Map Section */
.medconnect-map-section {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.medconnect-map-container {
  height: 400px;
  position: relative;
}

.medconnect-map-frame {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.1);
}

.medconnect-map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 300px;
  backdrop-filter: blur(10px);
}

.medconnect-map-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.medconnect-map-address {
  color: #5d6d7e;
  line-height: 1.5;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.medconnect-map-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 15px;
}

.medconnect-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #5d6d7e;
}

.medconnect-feature i {
  color: #3498db;
  width: 14px;
}

.medconnect-map-buttons {
  display: flex;
  gap: 10px;
}

.medconnect-map-btn {
  padding: 8px 16px;
  border: 2px solid #3498db;
  border-radius: 6px;
  background: #3498db;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.medconnect-map-btn.outline {
  background: transparent;
  color: #3498db;
}

.medconnect-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
  .medconnect-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .medconnect-title {
    font-size: 2.5rem;
  }

  .medconnect-map-overlay {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    border-radius: 0;
  }

  .medconnect-info {
    height: auto;
  }

  .medconnect-form-container {
    height: auto;
  }
}

@media (max-width: 768px) {
  .medconnect-section {
    padding: 60px 15px;
  }

  .medconnect-title {
    font-size: 2.2rem;
  }

  .medconnect-form-container {
    padding: 30px 25px;
  }

  .medconnect-map-container {
    height: 350px;
  }

  .medconnect-map-features {
    grid-template-columns: 1fr;
  }

  .medconnect-map-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .medconnect-title {
    font-size: 1.8rem;
  }

  .medconnect-card {
    padding: 20px;
  }

  .medconnect-card-header {
    flex-direction: column;
    text-align: center;
  }

  .medconnect-card-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }
}
