body {
  background: #fcfbfb;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Splash page - Enhanced */
.splash-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 50%, #F8FBFF 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.splash-container::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(69, 165, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.splash-container::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(69, 165, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.logo {
  max-width: 380px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  /* Blend logo with background */
  mix-blend-mode: multiply;
  opacity: 0.95;
  filter: contrast(1.3) saturate(1.1);
  animation: logoFadeIn 1s ease-out;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

.loading-bar-container {
  width: 320px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.loading-bar {
  height: 16px;
  width: 100%;
  background: rgba(224, 224, 224, 0.5);
  border-radius: 20px;
  overflow: visible;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loading-bar::before {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #45A5FF 0%, #7EC8FF 100%);
  border-radius: 20px;
  animation: loading 5s ease-in-out forwards;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 2px 8px rgba(69, 165, 255, 0.4);
}

/* Animated tooth icon */
.loading-tooth {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  animation: toothMove 5s ease-in-out forwards;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  z-index: 10;
}

@keyframes loading {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes toothMove {
  0% {
    left: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    left: 100%;
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading-text {
  margin-top: 12px;
  color: #212224;
  font-size: 14px;
  text-align: center;
  letter-spacing: 3px;
  font-family: 'Inter', 'Montserrat', monospace;
  font-weight: 500;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Branch select page */
.branch-heading {
  text-align: center;
  color: #3a4a4e;
  font-size: 2em;
  margin-top: 32px;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.branch-options {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
  margin-top: 60px;
}

.branch-box {
  background: #fff;
  border: 4px solid #3a4a4e;
  border-radius: 12px;
  box-shadow: 0px 2px 10px rgba(40, 65, 103, 0.04);
  padding: 24px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.branch-box:hover {
  border-color: #14bfce;
  box-shadow: 0px 7px 24px rgba(40, 65, 103, 0.09);
}

.branch-logo {
  width: 160px;
  margin-bottom: 22px;
}

.branch-name {
  margin-top: 8px;
  font-size: 1.25em;
  color: #484c51;
  letter-spacing: 1px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-align: center;
}

/* Dashboard Page */
.dashboard-header {
  width: 100vw;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 54px 0 38px;
  box-sizing: border-box;
}

.dashboard-logo {
  width: 120px;
  height: auto;
  margin-right: 12px;
}

.branch-display {
  display: flex;
}

.dashboard-main {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-options {
  margin-top: 20px;
  display: flex;
  gap: 70px;
  justify-content: center;
}

.dashboard-btn {
  background: #242e49;
  color: #fff;
  border-radius: 16px;
  border: none;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0px 2px 18px rgba(40, 65, 103, 0.09);
  font-size: 1.1em;
}

.dashboard-btn:hover,
.dashboard-btn:focus {
  background: #14bfce;
  outline: none;
}

.btn-icon {
  font-size: 3em;
  margin-bottom: 14px;
  display: block;
  color: #fff;
}

.dashboard-label {
  font-size: 1em;
  color: #d2d4de;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 500;
  margin-top: 4px;
}

.back-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #222e35;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1.3em;
  cursor: pointer;
}

.branch-box#branch-name {
  border: 2px solid #db9090;
  padding: 8px 22px;
  border-radius: 10px;
  background: #fff;
  color: #35373b;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  min-width: 94px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .dashboard-header {
    flex-direction: column;
    padding: 22px 16px 0 16px;
    height: auto;
    align-items: flex-start;
  }

  .dashboard-options {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    margin-top: 36px;
  }
}

.appointment-title {
  text-align: center;
  color: #484c51;
  font-size: 2em;
  margin-top: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
}

.appointment-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
}

.appointment-options {
  display: flex;
  gap: 110px;
  justify-content: center;
}

.appointment-btn {
  background: #fff;
  border: none;
  outline: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0px 4px 28px rgba(20, 191, 206, 0.06);
  border-radius: 18px;
  transition: box-shadow 0.2s;
}

.appointment-btn:hover,
.appointment-btn:focus {
  box-shadow: 0px 10px 40px rgba(20, 191, 206, 0.17);
}

.appointment-icon {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clipboard-icon svg {
  width: 120px;
  height: 120px;
}

.checklist-icon svg {
  width: 120px;
  height: 120px;
}

.appointment-label {
  font-size: 1.45em;
  color: #484c51;
  letter-spacing: 2px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 18px 0 0 0;
}

/* Responsive for mobile/tablet */
@media (max-width: 900px) {
  .appointment-options {
    flex-direction: column;
    gap: 38px;
    align-items: center;
  }

  .appointment-btn .appointment-label {
    margin-top: 12px;
  }
}

.form-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}

.appointment-form {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 720px;
  max-width: 92vw;
}

.row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.row label {
  font-size: 1.07em;
  color: #484c51;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 6px;
}

.row input {
  border: 2px solid #14bfce;
  outline: none;
  border-radius: 6px;
  font-size: 1.13em;
  padding: 7px 16px;
  margin-right: 12px;
  margin-bottom: 2px;
  background: #fcfbfb;
  color: #282c39;
  width: 200px;
  transition: border-color 0.15s;
}

.row input:focus {
  border-color: #4a3576;
  background: #fff;
}

.form-calendar svg {
  margin-left: 12px;
  margin-bottom: -3px;
}

.actions-row {
  display: flex;
  flex-direction: row;
  gap: 38px;
  margin-top: 18px;
  align-items: center;
}

.circle-btn {
  width: 58px;
  height: 58px;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-btn:active {
  opacity: 0.85;
}

.actions-labels {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 70px;
  margin-left: 10px;
  font-size: 1.07em;
  color: #494a52;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 900px) {
  .appointment-form {
    min-width: 95vw;
    gap: 18px;
  }

  .row input {
    width: 150px;
  }

  .actions-row {
    gap: 22px;
  }

  .actions-labels {
    gap: 30px;
    font-size: 0.99em;
  }
}

.check-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  min-width: 660px;
  max-width: 95vw;
}

.check-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.calendar-icon svg {
  width: 54px;
  height: 54px;
}

.date-filter {
  border: 2px solid #14bfce;
  border-radius: 6px;
  font-size: 1.1em;
  padding: 5px 16px;
  background: #fcfbfb;
  color: #282c39;
  outline: none;
}

.appointments-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.appointment-row {
  display: flex;
  gap: 28px;
  border: 2px solid #14bfce;
  border-radius: 7px;
  background: #fff;
  padding: 12px 18px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  color: #34384e;
  margin-bottom: 3px;
  min-width: 95%;
}

.appt-detail {
  min-width: 110px;
  flex: 1;
}

.no-results {
  color: #969eb1;
  font-size: 1.08em;
  margin: 48px 0 30px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 900px) {
  .check-main {
    min-width: 95vw;
  }

  .appointment-row {
    gap: 10px;
    font-size: 1em;
  }

  .appt-detail {
    min-width: 75px;
  }
}

.check-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  min-width: 660px;
  max-width: 95vw;
}

.check-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.calendar-icon svg {
  width: 54px;
  height: 54px;
}

.date-filter {
  border: 2px solid #14bfce;
  border-radius: 6px;
  font-size: 1.1em;
  padding: 5px 16px;
  background: #fcfbfb;
  color: #282c39;
  outline: none;
}

.appointments-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.appointment-row {
  display: flex;
  gap: 28px;
  border: 2px solid #14bfce;
  border-radius: 7px;
  background: #fff;
  padding: 12px 18px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  color: #34384e;
  margin-bottom: 3px;
  min-width: 95%;
}

.appt-detail {
  min-width: 110px;
  flex: 1;
}

.no-results {
  color: #969eb1;
  font-size: 1.08em;
  margin: 48px 0 30px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 900px) {
  .check-main {
    min-width: 95vw;
  }

  .appointment-row {
    gap: 10px;
    font-size: 1em;
  }

  .appt-detail {
    min-width: 75px;
  }
}

.center-row {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.search-btn {
  background: #fff;
  color: #34384e;
  border: 2px solid #db9090;
  border-radius: 10px;
  font-size: 1.27em;
  padding: 12px 48px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.2s, border-color 0.2s;
}

.search-btn:hover,
.search-btn:focus {
  background: #fde6e6;
  border-color: #14bfce;
}

.form-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}

.appointment-form {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 720px;
  max-width: 92vw;
}

.row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.row label {
  font-size: 1.07em;
  color: #484c51;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 6px;
}

.row input {
  border: 2px solid #14bfce;
  outline: none;
  border-radius: 6px;
  font-size: 1.13em;
  padding: 7px 16px;
  margin-right: 12px;
  margin-bottom: 2px;
  background: #fcfbfb;
  color: #282c39;
  width: 200px;
  transition: border-color 0.15s;
}

.row input:focus {
  border-color: #4a3576;
  background: #fff;
}

/* Rest of your responsive styling as previously given */

.center-row {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  gap: 18px;
}

.search-box {
  font-size: 1.12em;
  padding: 8px 0 4px 0;
  /* top/bottom padding, no left-right */
  border: none;
  /* remove full box */
  border-bottom: 2px solid #14bfce;
  /* underline only (blue, change if you want) */
  border-radius: 0;
  background: transparent;
  color: #34384e;
  width: 230px;
  outline: none;
  transition: border-color 0.2s;
}

.search-box:focus {
  border-bottom-color: #4a3576;
  /* underline color when focused */
}


/* other styles unchanged */
.dashboard-options {
  display: flex;
  gap: 56px;
  justify-content: center;
  margin-top: 56px;
}

.dashboard-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-btn {
  background: #111;
  /* true black */
  color: white;
  border: none;
  border-radius: 15px;
  width: 94px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0px 2px 16px rgba(20, 20, 20, 0.07);
  transition: background 0.2s;
  cursor: pointer;
}

.dashboard-btn svg {
  display: block;
  margin: auto;
}

.dashboard-btn:hover,
.dashboard-btn:focus {
  background: #333;
  outline: none;
}

.dashboard-label {
  font-size: 1em;
  color: #222;
  letter-spacing: 1px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .dashboard-options {
    flex-direction: column;
    gap: 33px;
    align-items: center;
  }
}

.search-results {
  position: absolute;
  margin-top: 40px;
  background: #ffffff;
  border: 2px solid #90c3db;
  border-radius: 8px;
  max-height: 180px;
  min-width: 230px;
  z-index: 100;
  color: #242e49;
  box-shadow: 0 2px 12px rgba(50, 50, 50, 0.08);
  font-size: 1em;
}

.search-result-item {
  padding: 8px 18px;
  cursor: pointer;
}

.search-result-item:hover {
  background: #cac1c1;
}

.center-row {
  position: relative;
}

.center-row {
  position: relative;
}

.search-results {
  position: absolute;
  left: 0;
  margin-top: 40px;
  background: #ffffff;
  border: 2px solid #90bbdb;
  border-radius: 8px;
  max-height: 180px;
  min-width: 230px;
  z-index: 100;
  color: #242e49;
  box-shadow: 0 2px 12px rgba(50, 50, 50, 0.08);
  font-size: 1em;
  overflow-y: auto;
}

.search-result-item {
  padding: 8px 18px;
  cursor: pointer;
}

.search-result-item:hover {
  background: #e6f3fd;
}

.search-box:-webkit-autofill,
.search-box:-webkit-autofill:hover,
.search-box:-webkit-autofill:focus,
.search-box:-webkit-autofill:active {
  box-shadow: 0 0 0 1000px #90b4db inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  border-bottom: 2px solid #14bfce !important;
  /* underline only */
  border: none !important;

  -webkit-text-fill-color: #34384e !important;
}

/* Remove the native Chrome autofill brown border */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #34384e inset !important;
  box-shadow: 0 0 0 1000px #34384e inset !important;
  border: 2px solid #90b4db !important;
  -webkit-text-fill-color: #34384e !important;
}

.search-box:-webkit-autofill,
.search-box:-webkit-autofill:hover,
.search-box:-webkit-autofill:focus,
.search-box:-webkit-autofill:active {
  /* Kill browser autocomplete and brown line */
  transition: background-color 9999s ease-out, color 9999s ease-out;
  box-shadow: 0 0 0 30px #34384e inset !important;
  -webkit-box-shadow: 0 0 0 30px #34384e inset !important;
  border: 2px solid #90b4db !important;
  -webkit-text-fill-color: #34384e !important;
  color: #34384e !important;
  background: #fff !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  /* Remove browser autofill from ALL inputs globally if you want */
  transition: background-color 9999s ease-out, color 9999s ease-out;
  box-shadow: 0 0 0 30px #90b4db inset !important;
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  border: 2px solid #90b4db !important;
  -webkit-text-fill-color: #34384e !important;
  color: #34384e !important;
  background: #fff !important;
}

/* Remove Chrome/Edge autofill brown underline for this search box */
#searchName:-webkit-autofill,
#searchName:-webkit-autofill:hover,
#searchName:-webkit-autofill:focus,
#searchName:-webkit-autofill:active {
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px #34384e inset !important;
  -webkit-box-shadow: 0 0 0 1000px #34384e inset !important;
  border: 2px solid #14bfce !important;
  /* or your normal border color */
  -webkit-text-fill-color: #34384e !important;
  background: #90b4db !important;
}

.search-results {
  /* ... */
  border: 2px solid #54a6dc;
  border-radius: 8px;
  /* ...other styles... */
}

.search-result-item {
  padding: 8px 18px;
  cursor: pointer;
  border-bottom: none;
  /* Remove default bottom border */
  /* If you previously added a border-bottom, remove/override it */
}

/* Remove any borders between items (if present) */
.search-result-item:not(:last-child) {
  border-bottom: none !important;
  /* Or: border-bottom: 0; */
}

.media-actions {
  display: flex;
  gap: 38px;
  margin-top: 10px;
  align-items: flex-start;
  /* instead of center */
  justify-content: space-between;
}

/* ========================================
   LIGHT MODE REDESIGN - PARALLEL LAYOUT
   ======================================== */

/* CSS Variables */
:root {
  --primary-blue: #45A5FF;
  --dark-text: #212224;
  --white: #FFFFFF;
  --light-bg: #F8FBFF;
  --card-shadow: rgba(69, 165, 255, 0.12);
  --hover-shadow: rgba(69, 165, 255, 0.25);
}

/* Branch Select Page Body */
.branch-select-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 50%, #F8FBFF 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--dark-text);
  overflow-x: hidden;
  position: relative;
}

/* Decorative background element */
.branch-select-body::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(69, 165, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.branch-select-body::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(69, 165, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Main Container - Parallel Layout */
.branch-select-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px 40px 60px;
  gap: 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Left Content Section */
.left-content {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Logo Section */
.logo-section {
  margin-bottom: 0;
  padding-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.branch-page-logo {
  width: 180px;
  height: auto;
  display: block;
  /* Remove white background - make logo blend with page */
  mix-blend-mode: multiply;
  opacity: 0.95;
  filter: contrast(1.3) saturate(1.1);
  -webkit-filter: contrast(1.3) saturate(1.1);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.branch-page-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Tagline Section */
.tagline-section {
  margin-bottom: 15px;
  text-align: center;
}

.main-tagline {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.15;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.main-tagline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), #7EC8FF);
  border-radius: 2px;
}

.sub-tagline {
  font-size: 1.15rem;
  font-weight: 400;
  color: #5A5A5A;
  line-height: 1.6;
  margin: 12px 0 0 0;
  font-style: italic;
}

/* Branches Wrapper */
.branches-wrapper {
  margin-top: 5px;
  text-align: center;
}

.branches-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0 0 24px 0;
  letter-spacing: -0.5px;
  text-align: center;
}

/* Branch Cards Grid */
.branch-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Branch Card */
.branch-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), #7EC8FF);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px var(--hover-shadow);
  border-color: var(--primary-blue);
}

.branch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.location-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.branch-card:hover .location-icon {
  transform: scale(1.1) rotate(5deg);
}

.branch-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
}

.branch-address {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 12px 0;
  padding-left: 32px;
}

.branch-timing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #F8FBFF 0%, #F0F7FF 100%);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--dark-text);
  font-weight: 500;
}

.branch-timing svg {
  flex-shrink: 0;
}

.select-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2B8FE8 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(69, 165, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.select-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.select-btn:hover::before {
  width: 300px;
  height: 300px;
}

.select-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(69, 165, 255, 0.5);
}

.select-btn:active {
  transform: translateY(0);
}

/* Right Image Section */
.right-image {
  flex: 1;
  max-width: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dental-showcase-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(69, 165, 255, 0.25), 0 0 40px rgba(69, 165, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.dental-showcase-image:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 30px 80px rgba(69, 165, 255, 0.35), 0 0 60px rgba(69, 165, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .branch-select-container {
    gap: 50px;
    padding: 40px 40px;
  }

  .main-tagline {
    font-size: 2.8rem;
  }

  .branch-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .branch-select-container {
    flex-direction: column;
    gap: 40px;
    padding: 30px 24px;
    min-height: auto;
  }

  .left-content {
    max-width: 100%;
    text-align: center;
  }

  .logo-section {
    display: flex;
    justify-content: center;
  }

  .branch-page-logo {
    width: 100px;
  }

  .main-tagline {
    font-size: 2.5rem;
  }

  .sub-tagline {
    font-size: 1.05rem;
  }

  .branches-heading {
    text-align: center;
  }

  .branch-cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .right-image {
    max-width: 100%;
    order: -1;
  }
}

@media (max-width: 600px) {
  .branch-select-container {
    padding: 24px 20px;
  }

  .branch-page-logo {
    width: 80px;
  }

  .main-tagline {
    font-size: 2rem;
  }

  .sub-tagline {
    font-size: 0.95rem;
  }

  .branch-card {
    padding: 20px 16px;
  }

  .branch-name {
    font-size: 1.1rem;
  }

  .select-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.left-content,
.right-image {
  animation: fadeInUp 0.6s ease-out;
}

.branch-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.branch-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* ========================================
   HOME PAGE (PAGE 3) STYLES
   ======================================== */

/* Home Page Body */
.home-page-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  min-height: 100vh;
  color: #212224;
}

/* Header */
/* Header */
/* Header */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  background: rgba(255, 255, 255, 0.98);
  /* Higher opacity for clean logo background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  height: 60px;
  /* Super compact */
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.home-nav {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #F1F5F9;
  /* Subtle grey container */
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.nav-link {
  text-decoration: none;
  color: #5A5A5A;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 20px;
  border-radius: 20px;
  display: block;
}

.nav-link:hover {
  color: #212224;
  background: rgba(255, 255, 255, 0.8);
}

.nav-link.active,
/* Add active class logic if needed, or stick to hover for now */
.nav-link:active {
  background: #212224;
  /* Dark pill */
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(33, 34, 36, 0.2);
}

.nav-link::after {
  display: none;
  /* Remove underline */
}

.home-logo {
  width: 110px;
  /* Slightly smaller for balance */
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.2) brightness(1.08);
  /* Force white background blending */
  opacity: 0.95;
}

.login-btn {
  padding: 10px 28px;
  background: linear-gradient(135deg, #45A5FF 0%, #2B8FE8 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(69, 165, 255, 0.25);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(69, 165, 255, 0.4);
}

/* Hero Banner */
.hero-banner {
  text-align: center;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #212224;
  line-height: 1.2;
  margin: 0 0 24px 0;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.15rem;
  color: #5A5A5A;
  line-height: 1.8;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Content Cards */
.content-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(69, 165, 255, 0.2);
}

/* Card with Image */
.card-large {
  min-height: 400px;
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 30px;
  color: white;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #45A5FF;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 8px 16px;
  background: rgba(69, 165, 255, 0.9);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Video Card */
.card-video {
  min-height: 400px;
  background: #000;
  position: relative;
  cursor: pointer;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.play-icon {
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.content-card:hover .play-icon {
  transform: scale(1.1);
}

.video-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Info Card */
.card-info {
  background: white;
  padding: 40px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.info-icon {
  margin-bottom: 20px;
}

.info-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #212224;
  margin: 0 0 16px 0;
}

.info-text {
  font-size: 1rem;
  color: #5A5A5A;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #5A5A5A;
  font-size: 0.95rem;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: #45A5FF;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Stat Card */
.card-stat {
  min-height: 400px;
  position: relative;
  background: linear-gradient(135deg, #45A5FF 0%, #2B8FE8 100%);
}

.stat-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;
  padding: 40px;
}

.stat-big {
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.stat-tagline {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
  margin-top: 40px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212224;
  margin: 0 0 16px 0;
}

.cta-text {
  font-size: 1.15rem;
  color: #5A5A5A;
  margin: 0 0 32px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  padding: 16px 48px;
  background: linear-gradient(135deg, #45A5FF 0%, #2B8FE8 100%);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(69, 165, 255, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(69, 165, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .home-header {
    padding: 16px 24px;
  }

  .home-logo {
    width: 100px;
  }

  .hero-banner {
    padding: 40px 24px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .cta-section {
    padding: 60px 24px;
  }

  .cta-title {
    font-size: 2rem;
  }
}

/* Updated Content Grid - 2 Column Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Video Placeholder Styles */
.card-video-placeholder {
  min-height: 400px;
  position: relative;
  cursor: pointer;
}

.video-placeholder-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.video-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 16px 0 8px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-sublabel {
  font-size: 1rem;
  margin: 0;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Image Only Card */
.card-image-only {
  min-height: 400px;
  position: relative;
}

.image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #45A5FF 0%, #2B8FE8 100%);
  padding: 12px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(69, 165, 255, 0.4);
}

.badge-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Card Subtitle */
.card-subtitle {
  font-size: 1rem;
  margin: 12px 0 0 0;
  opacity: 0.95;
}

/* Responsive for smaller screens */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
}

/* Enhanced Video & Card Styles */
.card-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.play-icon-small {
  margin-bottom: 12px;
  animation: pulse-small 2s infinite;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-small {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* Enhanced Glass Overlay */
.card-overlay {
  background: linear-gradient(to top, rgba(20, 30, 40, 0.9) 0%, rgba(20, 30, 40, 0.6) 50%, transparent 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 30px;
}

.video-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  top: auto;
  transform: none;
  text-align: left;
  color: white;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  width: 100%;
  box-sizing: border-box;
  padding: 20px 30px 20px 0;
  pointer-events: none;
}

.content-card:hover .video-overlay .card-title {
  color: #45A5FF;
  transition: color 0.3s;
}

/* Image Updates */
.card-image {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-card:hover .card-image {
  transform: scale(1.05);
}