:root{
  --uzima-red: #c62828;
  --uzima-purple: #6b2e6b;
  --soft-black: #0b0b0b;
  --muted: #6c757d;
}
body{font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}
.topbar{background:var(--uzima-purple); font-size:0.9rem;}
.bg-softblack{background:var(--soft-black);}
.brand-text{font-weight:600; color:#fff;}
.hero{background:linear-gradient(90deg, rgba(198,40,40,0.06), rgba(107,46,107,0.04));}
.card-service{border:1px solid rgba(11,11,11,0.06); border-radius:12px;}
.card-service .card-body h5{color:var(--uzima-purple);}
.btn-primary{background:var(--uzima-red); border:none;}
a {text-decoration:none;}
footer a{text-decoration:none;}

/* Logo image */
.logo-img {
  height: 45px; /* adjust for balance */
  width: auto;
}

/* Brand text */
.brand-name {
  font-weight: 700;
  font-size: 15px;
  color: #530566; /* hospital deep red */
  text-transform: uppercase;
}

/* Navbar links */
.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #7a0d0d;
}

/* Mobile view adjustments */
@media (max-width: 991px) {
  .logo-img {
    height: 65px;
  }
  .brand-name {
    font-size: 10px;
  }
}

/* Hero Base */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Slider */
.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active { opacity: 1; }

/* Overlay */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 700px;
  animation: fadeUp 1.2s ease-out;
}

.hero-badge {
  display: inline-block;
  background: #ff4d4d;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.hero h1 { font-size: 3rem; margin: 20px 0; font-weight: 700; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #eee; }

/* CTA Buttons */
.hero-cta .btn {
  padding: 12px 30px;
  border-radius: 50px;
  margin: 0 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary { background: #ff4d4d; color: #fff; border: none; }
.btn-primary:hover { background: #e64444; }
.btn-secondary { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid #fff; }
.btn-secondary:hover { background: #ff4d4d; color: #fff; border: none; }

/* Floating Cards */
.floating-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.floating-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(255,255,255,0.15);
  padding: 20px 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
}
.stat-card .number { font-size: 1.5rem; font-weight: 700; }
.stat-card .label { font-size: 0.9rem; display: block; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero { height: auto; padding: 80px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-slider .slide { height: 400px; }
  .floating-cards { flex-direction: column; gap: 15px; margin-top: 20px; }
  .hero-stats { flex-direction: column; gap: 15px; margin-top: 30px; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-slider .slide { height: 300px; }
  .hero-cta .btn { padding: 10px 20px; margin: 5px; width: 100%; }
}
.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
  opacity: 1;
}
.hero {
  position: relative;
  min-height: 100vh; /* ensures it covers at least full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;      /* cover the entire container */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

/* Responsive heights */
@media (max-width: 1200px) {
  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 992px) {
  .hero {
    min-height: 70vh;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 60vh; /* smaller screens, less height */
  }
}
/* Section Base */
#why-us {
  background: linear-gradient(to bottom right, #fafafa, #f2f0f5);
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
}

#why-us h2 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c2c2c;
}

#why-us p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c6c6c;
}

/* Card Base */
.why-card {
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: default;
  background: #fff;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Card Body */
.why-card .card-body {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon Circles */
.icon-circle {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
  transition: all 0.4s ease;
}

/* Hover effect on icons */
.why-card:hover .icon-circle {
  transform: scale(1.1);
}

/* Gradient backgrounds for icons */
.bg-gradient-pink { background: linear-gradient(45deg, #ff4d6d, #ff7096); }
.bg-gradient-purple { background: linear-gradient(45deg, #6a4dff, #9b7bff); }
.bg-gradient-blue { background: linear-gradient(45deg, #4d91ff, #70b0ff); }
.bg-gradient-red { background: linear-gradient(45deg, #ff4d4d, #ff7a7a); }

.card-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.card-body p {
  color: #6c6c6c;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  #why-us {
    padding: 60px 20px;
  }
  .icon-circle { width: 60px; height: 60px; }
  .why-card .card-body { padding: 25px 15px; }
}

@media (max-width: 576px) {
  #why-us {
    padding: 50px 15px;
  }
  .icon-circle { width: 50px; height: 50px; }
  .why-card .card-body { padding: 20px 10px; }
  #why-us h2 { font-size: 1.8rem; }
  #why-us p { font-size: 0.95rem; }
}
/* Card Base */
.news-card {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

/* Hover effect */
.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* Image wrapper with gradient overlay */
.card-img-wrapper {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-img-wrapper:hover img {
  transform: scale(1.1);
}

/* Gradient overlay for readability */
.img-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 60%);
  pointer-events: none;
}

/* Card body */
.news-card .card-body {
  padding: 15px;
  text-align: left;
}

.news-card .card-title {
  font-size: 1rem;
  color: #003049;
  transition: color 0.3s ease;
}

.news-card .card-title:hover {
  color: #ff4d4d;
}

.news-card .card-text {
  font-size: 0.85rem;
  color: #6c6c6c;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #ff4d4d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.read-more:hover {
  transform: translateX(3px);
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Horizontal scroll on mobile */
@media (max-width: 576px) {
  .news-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
  }
  .news-wrapper .col-md-4 {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

.blog {
  padding: 40px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: #545454;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #e96b56;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #bababa;
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li+li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #777777;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: #e96b56;
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #ec7f6d;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #545454;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #a1a1a1;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #616161;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #e96b56;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li+li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: #545454;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(84, 84, 84, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #b7b7b7;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: #444444;
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: #e96b56;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: #545454;
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #545454;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #616161;
}

.blog .blog-pagination {
  color: #878787;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: #545454;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #e96b56;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #545454;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: #e96b56;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #eb7b68;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #545454;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #e96b56;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: #545454;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #e96b56;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #aaaaaa;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #949494;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid white;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid #e96b56;
  background: #e96b56;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #ededed;
  font-size: 14px;
}
.section-soft-gradient {
  background: linear-gradient(135deg, #f8f2f4, #f1e6eb); /* soft purplish-pink tone */
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.section-soft-gradient:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.section-soft-gradient h3 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #800040; /* Deep purplish-red for headings */
  text-align: left;
}

.section-soft-gradient p,
.section-soft-gradient ul {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

.section-soft-gradient ul {
  padding-left: 18px;
}

.section-soft-gradient ul li {
  margin-bottom: 10px;
}
.subnav-link {
  font-family: "Poppins", sans-serif;
  color: #800040;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.subnav-link:hover,
.subnav-link.active {
  background-color: #f6e9ee;
  color: #b3003c;
}
.insurance-logos img.insurance-logo {
  height: 50px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.4s ease;
  filter: grayscale(30%);
}

.insurance-logos img.insurance-logo:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}
.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
  background: #ffffff;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.bg-gradient-pink {
  background: linear-gradient(135deg, #ff6b81, #ff9a9e);
}
.bg-gradient-purple {
  background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}
.bg-gradient-blue {
  background: linear-gradient(135deg, #5b86e5, #36d1dc);
}
.bg-gradient-red {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}
.animate__faster-custom {
  --animate-duration: 0.4s;
}
.quick-card {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f0f0f0;
}
.quick-card:hover {
  background: linear-gradient(145deg, #fceaea, #ffeafd);
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.quick-card i {
  transition: transform 0.3s ease;
}
.quick-card:hover i {
  transform: scale(1.1);
}
/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  border: 1px solid #ededed;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #e96b56;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(233, 107, 86, 0.15);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
  z-index: -1;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #664481;
  font-weight: bolder;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  font-weight: bolder;
  margin-bottom: 0;
  color:#e96b56;
}

.services .icon-box:hover {
  background: #664481;
  border-color: #664481;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #e96b56;
}

.services .icon-box:hover .icon::before {
  background: rgba(255, 255, 255, 0.3);
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
}
/* Carousel Wrapper */
.insurance-carousel {
  scroll-behavior: smooth;
  padding: 10px 0;
}

.partner-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.partner-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Hide scrollbar for modern look */
.insurance-carousel::-webkit-scrollbar {
  display: none;
}
.insurance-carousel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .partner-logo {
    width: 100px;
    height: 50px;
  }
}
.insurance-carousel-wrapper {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.insurance-carousel {
  display: flex;
  gap: 2rem;
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Half the width because we duplicated logos */
}

.partner-logo {
  flex: 0 0 auto;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.partner-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Hide scrollbar for modern look */
.insurance-carousel::-webkit-scrollbar {
  display: none;
}
.insurance-carousel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .partner-logo {
    width: 100px;
    height: 50px;
  }
}
 /* Base style (hidden off-screen to the right) */
.emergency-btn {
  position: fixed;
  bottom: 30px;
  right: -250px; /* start off-screen */
  background: #e63946;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 999;

  /* Slide-in animation */
  animation: slideIn 1s forwards;
}

/* Slide-in keyframes */
@keyframes slideIn {
  0% { right: -250px; }
  100% { right: 30px; }
}

/* Hover effect */
.emergency-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Pulse effect every 3s */
@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.emergency-btn.pulse {
  animation: pulse 3s infinite;
}

/* Optional responsive adjustment */
@media (max-width: 576px) {
  .emergency-btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}
/* Logo */
.logo-img {
  height: 50px;  /* reasonable size */
  width: auto;   /* maintain aspect ratio */
}

/* Brand text */
.brand-text {
  font-weight: 200;       /* bold but not too heavy */
  font-size: 1.2rem;      /* readable size */
  color: #003049;         /* your theme color */
  letter-spacing: 1px;    /* subtle spacing for elegance */
}
#topbar {
  top: 0; /* stays at top */
  width: 100%;
  z-index: 1040; /* higher than navbar to stay on top */
}

#header {
  top: 20px; /* push main navbar below topbar */
  width: 100%;
  z-index: 1030;
}
/* Prevent hero section from being hidden behind fixed navbar */
#hero {
  padding-top: 150px; /* adjust if navbar height changes */
}

/* Adjust brand spacing */
.navbar-brand {
  font-size: 1rem;
  white-space: nowrap;
}

/* Fix mobile toggler */
.navbar-toggler {
  border: none;
  outline: none;
}
  .footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }
  .footer-link:hover {
    color: #66b2ff;
    text-decoration: underline;
  }
  .social-icon {
    color: white;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .social-icon:hover {
    color: #66b2ff;
    transform: translateY(-3px);
  }

  /* Mobile adjustments */
  @media (max-width: 767px) {
    footer {
      text-align: center;
    }
    footer img {
      margin-bottom: 10px;
    }
    .footer-link {
      display: inline-block;
      margin: 5px 0;
    }
    .social-links {
      margin-top: 10px;
    }
  }
  /* Topbar */
#topbar {
  background-color: #8B0000; /* Uzima deep red */
  font-size: 0.85rem;
}

#topbar i {
  color: #f4d41a; /* Gold icons */
}

#topbar a {
  text-decoration: none;
}

#topbar a:hover {
  color: #bf00ff;
}

/* Navbar */
.navbar .nav-link {
  font-weight: 500;
  padding: 10px 15px;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #8B0000 !important;
  font-weight: 600;
}

/* Dropdown menus */
.dropdown-menu {
  border-radius: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 10px 20px;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #8B0000;
}

/* Brand */
.brand-text {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Mobile menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 12px 10px;
  }
}
