:root {
  --primary: #c1121f;
  --primary-dark: #8f0d16;
  --black: #111111;
  --dark: #1c1c1c;
  --light: #f8f8f8;
  --white: #ffffff;
  --muted: #666666;
}

body {
  background: var(--light);
  font-family: "Roboto", Arial, sans-serif;
  color: var(--black);
  margin: 0;
  padding: 0;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover {
  color: var(--white);
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Header */
.logo-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 4px;
}


.main-nav {
  transition: 0.3s ease;
  background: var(--black);
}

.main-nav.scrolled {
  background: var(--black);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar-toggler {
  border: none;
  color: var(--white) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 6px;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.brand-logo i,
.brand-logo h4 {
  color: var(--white) !important;
}

/* Hero Section */
.hero-section {
  min-height: 70vh;
  padding-top: 120px;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #111111 0%,
    #1c1c1c 45%,
    #8f0d16 75%,
    #c1121f 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  font-size: 42px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  max-width: 700px;
  margin: 10px auto 25px;
  line-height: 1.6;
}

.hero-btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  border-radius: 10px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #f1f1f1;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Why Us Section */
.why-img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.why-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.why-list li {
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #444;
  line-height: 1.5;
}

.why-list i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 3px;
}

/* Why Boxes */
.why-team-box {
  background: var(--white);
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
  border-top: 4px solid var(--primary);
}

.why-team-box:hover {
  transform: translateY(-6px);
}

.why-team-box i {
  font-size: 32px;
  color: var(--primary);
}

.why-team-box h5 {
  color: var(--black);
}

.why-team-box p {
  color: var(--muted);
}

/* Appointment Section */
.appointment-box {
  position: relative;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(135deg, var(--primary), var(--black));
  overflow: hidden;
}

.appointment-box::before,
.appointment-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.appointment-box::before {
  top: -40px;
  left: -20px;
}

.appointment-box::after {
  bottom: -30px;
  right: 30px;
}

.equal-img {
  height: 255px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 22px 22px 0;
}

/* Footer */
.footer-section {
  background: var(--black);
  color: var(--white);
}

.footer-section h6 {
  color: var(--white);
}

.footer-section .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact i {
  color: var(--primary);
  margin-right: 6px;
}

.newsletter-box input {
  border-radius: 8px;
}

.newsletter-box button {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.social-icons i {
  font-size: 18px;
  cursor: pointer;
  color: var(--primary);
}

.social-icons i:hover {
  color: var(--white);
}

/* Mobile */
@media (max-width: 991px) {
  .main-nav {
    background: var(--black);
  }

  .hero-section {
    min-height: 60vh;
    padding-top: 110px;
  }

  .hero-title {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .appointment-box {
    border-radius: 22px 22px 0 0;
  }

  .equal-img {
    border-radius: 0 0 22px 22px;
  }

  .hero-title {
    font-size: 30px;
  }
}

/* Footer Social Links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social i {
  font-size: 18px;
}

/* Live Chat Docked Widget */
.live-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.live-chat-fab {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
}

.live-chat-fab:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.live-chat-fab i {
  font-size: 20px;
}

.live-chat-panel {
  width: 390px;
  max-width: calc(100vw - 44px);
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.live-chat-panel-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-chat-panel-header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.live-chat-panel-header small {
  color: rgba(255, 255, 255, 0.82);
}

.live-chat-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.live-chat-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.live-chat-panel-body {
  height: 520px;
  background: var(--white);
}

.live-chat-panel-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 575px) {
  .live-chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .live-chat-panel {
    width: calc(100vw - 28px);
  }

  .live-chat-panel-body {
    height: 68vh;
  }

  .live-chat-fab {
    padding: 12px 14px;
  }

  .live-chat-fab span {
    display: none;
  }

  .live-chat-fab i {
    font-size: 22px;
  }
}