:root {
  --primary-teal: hsl(185, 65%, 45%);
  --primary-emerald: hsl(165, 60%, 45%);
  --primary-teal-light: hsl(185, 65%, 65%);
  --primary-emerald-light: hsl(165, 60%, 65%);
  --secondary-blue: hsl(205, 70%, 55%);
  --secondary-blue-light: hsl(205, 70%, 75%);
  --secondary-blue-dark: hsl(205, 70%, 35%);
  --accent-coral: hsl(25, 85%, 55%);
  --accent-gold: hsl(45, 85%, 55%);
  --accent-mint: hsl(155, 75%, 85%);
  --neutral-dark: hsl(210, 25%, 22%);
  --neutral-medium: hsl(210, 18%, 38%);
  --neutral-light: hsl(210, 12%, 88%);
  --neutral-lighter: hsl(210, 12%, 96%);
  --light-steel-blue: var(--neutral-light);
  --light-steel-blue: var(--neutral-light);
  --royal-blue-light: var(--primary-teal);
  --flickr-blue_30: hsla(195, 70%, 40%, 0.3);
  --carolina-blue: var(--secondary-blue);
  --oxford-blue-1: hsl(210, 25%, 22%);
  --oxford-blue-2: hsl(210, 25%, 22%);
  --oxford-blue-3: hsl(210, 25%, 22%);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: var(--neutral-lighter);
  --sonic-silver: var(--neutral-medium);
  --light-gray: var(--neutral-light);
  --cultured: var(--neutral-lighter);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);
  --gradient: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-emerald) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-teal) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-gold) 100%);
  --ff-roboto: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-poppins: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-1: 4rem;
  --fs-2: 3.6rem;
  --fs-3: 3.2rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.6rem;
  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;
  --section-padding: 120px;
  --shadow-1: 4px 4px 15px var(--black_10);
  --shadow-2: 0 10px 15px var(--black_10);
  --shadow-3: 0px 20px 60px var(--black_8);
  --shadow-4: 0px 10px 30px var(--flickr-blue_30);
  --shadow-5: 0px 2px 60px 0px var(--black_10);
  --shadow-teal: 0px 10px 30px hsla(185, 65%, 45%, 0.2);
  --shadow-emerald: 0px 10px 30px hsla(165, 60%, 45%, 0.2);
  --shadow-coral: 0px 10px 30px hsla(25, 85%, 55%, 0.2);
  --radius-6: 6px;
  --radius-4: 4px;
  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  --success-green: hsl(142, 76%, 36%);
  --warning-orange: hsl(35, 100%, 50%);
  --error-red: hsl(0, 84%, 60%);
  --info-blue: hsl(199, 89%, 48%);
  --glass-bg: hsla(0, 0%, 100%, 0.1);
  --glass-border: hsla(0, 0%, 100%, 0.2);
  --glass-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.1);
  --hover-teal: hsl(180, 85%, 40%);
  --hover-emerald: hsl(160, 75%, 40%);
  --hover-coral: hsl(15, 85%, 50%);
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.status-badge.pending {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #333;
  border-color: #ff9800;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.status-badge.accepted {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
  border-color: #20c997;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.status-badge.declined {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #ffffff;
  border-color: #c82333;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.status-badge.completed {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: #ffffff;
  border-color: #138496;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.status-badge.cancelled {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: #ffffff;
  border-color: #5a6268;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.status-badge.active {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  border-color: #0056b3;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.status-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

li {
  list-style: none;

}

a {
  text-decoration: none;
  color: inherit;

}

a,
img,
span,
input,
button,
ion-icon {
  display: block;

}

img {
  height: auto;

}

input,
button {
  background: none;
  border: none;
  font: inherit;

}

input {
  width: 100%;

}

button {
  cursor: pointer;

}

ion-icon {
  pointer-events: none;

}

address {
  font-style: normal;

}

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;

}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: var(--fw-500);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

.container {
  padding-inline: 25px;
  max-width: 1200px;
  margin: 0 auto;

}

.section {
  padding-block: var(--section-padding);

}

.section-subtitle {
  color: var(--royal-blue-light);
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  margin-block-end: 10px;

}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.2;

}

.h1 {
  color: var(--oxford-blue-1);
  font-size: var(--fs-2);

}

.h2,
.h3 {
  color: var(--oxford-blue-2);

}

.h2 {
  font-size: var(--fs-1);

}

.h3 {
  font-size: var(--fs-5);

}

.btn {
  background-image: linear-gradient(var(--deg, 90deg), var(--carolina-blue) 0%, var(--royal-blue-light) 100%);
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  padding: 20px 30px;
  text-align: center;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-4);

}

.btn:is(:hover, :focus) {
  --deg: -90deg;

}

.w-100 {
  width: 100%;

}

.text-center {
  text-align: center;

}

.card-text,
.section-text {
  line-height: 1.7;

}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);

}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.header-bottom .btn {
  display: block;
  padding: 15px 20px;

}

.header-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;

}

.header-bottom.active {
  position: fixed;
  top: -81px;
  background-color: var(--white);
  box-shadow: var(--shadow-2);
  animation: slideIn 0.5s var(--cubic-out) forwards;

}

/* Mobile devices - make header sticky instead of animated */
@media (max-width: 1023px) {
  .header-bottom.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background-color: var(--white);
    box-shadow: var(--shadow-2);
    animation: none !important;
    transform: none !important;
    z-index: 1000;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }

}

.header-bottom>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

}

.logo {
  color: var(--oxford-blue-1);
  font-family: var(--ff-poppins);
  font-size: 3.4rem;
  font-weight: var(--fw-800);

}

.nav-toggle-btn {
  color: var(--black);
  font-size: 30px;
  border: 1px solid var(--black);
  padding: 5px;

}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
  display: none;

}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
  display: block;

}

.navbar {
  position: absolute;
  top: calc(100% + 5px);
  left: 25px;
  right: 25px;
  background-color: var(--white);
  padding-inline: 0;
  box-shadow: var(--shadow-1);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.25s var(--cubic-out);

}

.navbar.active {
  visibility: visible;
  max-height: 244px;
  transition-duration: 0.5s;

}

.navbar-list>li:not(:last-child) {
  border-block-end: 1px solid var(--gainsboro_50);

}

.navbar-link {
  color: var(--jet);
  text-transform: uppercase;
  font-weight: var(--fw-600);
  padding: 15px;

}

.hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block-end: calc(var(--section-padding) / 2);

}

.hero-content {
  margin-block-end: 50px;

}

.hero-title {
  margin-block: 15px 30px;

}

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;

}

.hero-form {
  background-color: var(--white);
  max-width: 95%;
  padding: 15px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);

}

.hero-form .email-field {
  background-color: var(--cultured);
  color: var(--black);
  min-height: 70px;
  padding-inline: 15px;
  border-radius: var(--radius-4);
  margin-block-end: 15px;

}

.hero-form .btn {
  width: 100%;

}

.service-banner {
  display: none;

}

.service {
  padding-block-end: 0;

}

.service .section-title {
  margin-block-end: 50px;

}

.service-list {
  display: grid;
  gap: 15px;

}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 100%;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  padding: 30px;

}

.service-card .card-icon {
  width: 50px;
  flex-shrink: 0;

}

.service-card .card-title {
  margin-block-end: 8px;

}

.about {
  padding-block-end: 0;

}

.about-banner {
  margin-block-end: 50px;

}

.about .section-text-1 {
  margin-block: 25px 15px;

}

.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;

}

.doctor .section-title {
  margin-block-end: 50px;

}

.doctor-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;

}

.doctor-card {
  padding: 30px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  text-align: center;
  min-height: 100%;

}

.doctor-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);

}

.doctor-card:is(:hover, :focus-within) .card-title {
  color: var(--royal-blue-light);

}

.doctor-card .card-subtitle {
  color: var(--royal-blue-light);
  margin-block: 10px 15px;

}

.doctor-card .card-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

}

.doctor-card .card-social-link {
  background-color: var(--lavender-web);
  color: var(--royal-blue-light);
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);

}

.doctor-card .card-social-link:is(:hover, :focus) {
  background-color: var(--royal-blue-light);
  color: var(--white);

}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;

}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;

}

.has-scrollbar::-webkit-scrollbar {
  height: 10px;

}

.has-scrollbar::-webkit-scrollbar-track {
  background-color: var(--light-gray);
  border-radius: var(--radius-4);

}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--royal-blue-light);
  border-radius: var(--radius-4);

}

.has-scrollbar::-webkit-scrollbar-button {
  width: calc(25% - 30px);

}

.cta {
  background-color: var(--oxford-blue-1);

}

.cta-banner {
  margin-block-end: 50px;

}

.cta .section-subtitle {
  text-transform: capitalize;

}

.cta .section-title {
  color: var(--white);
  font-size: var(--fs-3);
  margin-block-end: 30px;

}

.cta .btn {
  max-width: max-content;

}

.blog .section-title {
  margin-block-end: 50px;

}

.blog-list {
  display: grid;
  gap: 30px;

}

.blog-card {
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-5);

}

.blog-card .card-banner {
  position: relative;
  border-radius: var(--radius-4);
  overflow: hidden;

}

.blog-card .card-banner img {
  transition: var(--transition);

}

.blog-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.1);

}

.blog-card .card-badge {
  background-color: var(--royal-blue-light);
  color: var(--white);
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);

}

.blog-card .card-content {
  padding: 30px;

}

.blog-card .card-title {
  transition: var(--transition);

}

.blog-card .card-title:is(:hover, :focus) {
  color: var(--royal-blue-light);

}

.blog-card .card-text {
  margin-block: 15px;

}

.blog-card .card-link {
  position: relative;
  color: var(--royal-blue-light);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);

}

.blog-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--royal-blue-light);
  transition: var(--transition);

}

.blog-card .card-link:is(:hover, :focus) {
  color: var(--oxford-blue-1);

}

.blog-card .card-link:is(:hover, :focus)::after {
  background-color: var(--oxford-blue-1);

}

.footer-top {
  background-color: var(--oxford-blue-2);
  color: var(--light-steel-blue);

}

.footer-top .container {
  display: grid;
  gap: 30px;

}

.footer-brand .logo {
  color: var(--white);

}

.footer-text {
  line-height: 1.6;
  margin-block: 15px;

}

.schedule {
  display: flex;
  align-items: center;
  gap: 15px;

}

.schedule-icon,
.footer-item .item-icon {
  background-image: var(--gradient);
  color: var(--white);
  font-size: 18px;
  padding: 11px;
  border-radius: 50%;

}

.schedule .span,
.footer-item .item-text {
  line-height: 1.6;

}

.footer-list-title {
  color: var(--white);
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-block-end: 10px;

}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-block: 10px;
  transition: var(--transition);

}

.footer-link ion-icon {
  color: var(--royal-blue-light);
  --ionicon-stroke-width: 50px;

}

.footer-link:is(:hover, :focus) {
  color: var(--white);

}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;

}

.footer-item:not(:first-child) {
  margin-block-start: 20px;

}

.footer-bottom {
  background-color: var(--oxford-blue-3);
  padding-block: 50px;
  text-align: center;

}

.copyright {
  color: var(--white);
  line-height: 1.6;
  margin-block-end: 25px;

}

.footer .social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

}

.footer .social-link {
  padding: 11px;
  background-color: hsla(0, 0%, 100%, 0.2);
  color: var(--white);
  font-size: 18px;
  border-radius: 50%;

}

.footer .social-link:is(:hover, :focus) {
  background-image: var(--gradient);

}

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--royal-blue-light);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);

}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;

}

@media (min-width: 575px) {
  :root {
    --fs-1: 4.2rem;
  }
  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }
  .blog-card .h3 {
    --fs-5: 2.6rem;
  }
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }

}

@media (min-width: 768px) {
  :root {
    --fs-2: 4.8rem;
  }
  body {
    font-size: 1.6rem;
  }
  .container {
    max-width: 750px;
  }
  .section-subtitle {
    --fs-6: 2.2rem;
  }
  .hero {
    overflow: hidden;
  }
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: center;
    gap: 20px;
  }
  .hero-content {
    margin-block-end: 0;
  }
  .hero-form {
    position: relative;
  }
  .hero-form .email-field {
    margin-block-end: 0;
    padding-inline-end: 190px;
  }
  .hero-form .btn {
    width: auto;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
  }
  .hero-banner {
    margin-inline-end: -60px;
  }
  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .scrollbar-item {
    min-width: calc(50% - 15px);
  }
  .cta {
    padding-block: 0;
  }
  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }
  .cta-banner {
    margin-block-end: 0;
  }
  .cta-content {
    padding-block: 60px;
  }
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    padding-block: 30px;
  }
  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .copyright {
    margin-block-end: 0;
  }
  .back-top-btn {
    bottom: 70px;
    right: 50px;
  }

}

@media (min-width: 992px) {
  :root {
    --fs-2: 6rem;
    --fs-1: 4.6rem;
    --fs-3: 4.6rem;
  }
  .container {
    max-width: 980px;
  }
  .header-top {
    display: block;
    background-color: var(--oxford-blue-1);
    color: var(--white);
    padding-block: 20px;
  }
  .header-top :is(.container, .social-list),
  .contact-list,
  .contact-item {
    display: flex;
    align-items: center;
  }
  .header-top .container {
    justify-content: space-between;
  }
  .contact-list {
    gap: 20px;
  }
  .contact-item {
    gap: 5px;
  }
  .contact-item ion-icon {
    color: var(--royal-blue-light);
    --ionicon-stroke-width: 40px;
  }
  .contact-link {
    font-size: 1.5rem;
  }
  .header-top .social-list {
    gap: 15px;
  }
  .header-top .social-link {
    font-size: var(--fs-6);
    transition: var(--transition);
  }
  .header-top .social-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }
  .header-bottom {
    top: 58px;
    padding-block: 20px;
  }
  .header-bottom.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background-color: var(--white);
    box-shadow: var(--shadow-2);
    animation: none !important;
    transform: none !important;
    z-index: 1000;
  }
  .nav-toggle-btn {
    display: none;
  }
  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }
  .navbar-list {
    display: flex;
    align-items: center;
  }
  .navbar-list>li:not(:last-child) {
    border-block-end: none;
  }
  .navbar-link {
    color: var(--oxford-blue-1);
    font-family: var(--ff-poppins);
    text-transform: capitalize;
    transition: var(--transition);
  }
  .navbar-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
  }
  .header-bottom .btn {
    display: block;
    padding: 15px 20px;
  }
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-banner {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }
  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }
  .about-banner {
    margin-block-end: 0;
  }
  .scrollbar-item {
    min-width: calc(33.33% - 20px);
  }
  .cta-content {
    padding-block: 80px;
  }
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr;
  }

}

@media (min-width: 1200px) {
  :root {
    --fs-2: 8rem;
    --fs-1: 5.5rem;
    --fs-3: 4.8rem;
  }
  .container {
    max-width: 1180px;
  }
  .contact-list {
    gap: 30px;
  }
  .header-bottom .btn {
    padding: 18px 30px;
  }
  .header-bottom>.container {
    gap: 40px;
  }
  .navbar-list {
    gap: 15px;
  }
  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }
  .doctor {
    padding-block-end: 180px;
  }
  .scrollbar-item {
    min-width: calc(25% - 22.5px);
  }
  .has-scrollbar {
    padding-block-end: 0;
    margin-block-end: 0;
  }
  .cta .container {
    align-items: center;
  }
  .cta-banner {
    margin-block-start: -120px;
  }

}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 20px;

}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;

}

.glass-modal {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: scale(1) translateY(0);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);

}

/* Large modal for addBookingModal */
#addBookingModal .glass-modal {
  max-width: 800px;
  min-height: 600px;
  padding: 50px;
}

/* Large modal for editUserModal */
#editUserModal .glass-modal {
  max-width: 800px;
  min-height: 600px;
  padding: 50px;
}

/* Large modal for addUserModal */
#addUserModal .glass-modal {
  max-width: 800px;
  min-height: 600px;
  padding: 50px;
}

.modal-overlay.active .glass-modal {
  transform: scale(1) translateY(0);

}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 300;

}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.4);

}

.modal-content {
  text-align: center;
  color: white;

}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;

}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 400;
  color: white;

}

.modal-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);

}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;

}

.modal-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 120px;
  position: relative;
  overflow: hidden;

}

.modal-btn.primary {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

}

.modal-btn.primary:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);

}

.modal-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

}

.modal-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.3);

}

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

}

.modal-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: all 0.5s ease;

}

.modal-btn:hover::before {
  left: 100%;

}

.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 40px 20px;

}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;

}

.service-modal-overlay.active .service-glass-modal {
  transform: scale(1) translateY(0);

}

.service-glass-modal {
  max-width: 900px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;

}

.service-modal-content {
  text-align: left;
  color: var(--oxford-blue-2);
  max-height: 80vh;
  overflow-y: auto;

}

.service-image-header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--carolina-blue), var(--royal-blue-light));

}

.service-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  transform: scale(1.1);

}

.service-modal-image:hover {
  transform: scale(1.15);

}

.service-content-section {
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(77, 208, 225, 0.2);

}

.service-favicon {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;

}

.service-favicon:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(77, 208, 225, 0.6);

}

.service-modal-title {
  font-family: var(--ff-poppins);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

#serviceModal .service-modal-title,
.service-modal-overlay .service-modal-title {
  color: #000000 !important;

}

.service-date {
  display: none;

}

.service-descriptions {
  display: flex;
  flex-direction: column;
  gap: 25px;

}

.service-modal-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50 !important;
  margin: 0;
  text-align: left;
  font-weight: 400;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  border-left: 4px solid #4dd0e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;

}

.service-modal-description:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);

}

.service-modal-overlay .close-btn {
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1001;
  position: absolute;

}

.service-modal-overlay .close-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);

}

.service-card .card-link {
  position: relative;
  color: var(--royal-blue-light);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);
  margin-top: 15px;
  display: inline-block;

}

.service-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--royal-blue-light);
  transition: var(--transition);

}

.service-card .card-link:is(:hover, :focus) {
  color: var(--oxford-blue-1);

}

.service-card .card-link:is(:hover, :focus)::after {
  background-color: var(--oxford-blue-1);

}

@media (max-width: 768px) {
  .service-glass-modal {
    max-width: 95%;
    margin: 20px;
  }
  .service-content-section {
    padding: 30px 25px;
  }
  .service-modal-title {
    font-size: 2.2rem;
  }
  .service-image-header {
    height: 250px;
  }
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .service-favicon {
    width: 50px;
    height: 50px;
  }

}

@media (max-width: 480px) {
  .service-modal-overlay {
    padding: 20px 10px;
  }
  .service-glass-modal {
    max-width: 100%;
    margin: 10px;
  }
  .service-content-section {
    padding: 25px 20px;
  }
  .service-modal-title {
    font-size: 2rem;
  }
  .service-image-header {
    height: 200px;
  }
  .service-modal-description {
    font-size: 1.1rem;
  }

}

.service-modal-content::-webkit-scrollbar {
  width: 8px;

}

.service-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;

}

.service-modal-content::-webkit-scrollbar-thumb {
  background: var(--royal-blue-light);
  border-radius: 4px;

}

.service-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--carolina-blue);

}

.doctor-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 40px 20px;

}

.doctor-modal-overlay.active {
  opacity: 1;
  visibility: visible;

}

.doctor-modal-overlay.active .doctor-glass-modal {
  transform: scale(1) translateY(0);

}

.doctor-glass-modal {
  max-width: 1000px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 10000;

}

.doctor-modal-content {
  text-align: left;
  color: var(--oxford-blue-2);
  max-height: 80vh;
  overflow-y: auto;
  height: auto;
  min-height: fit-content;
  position: relative;

}

.doctor-image-header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--carolina-blue), var(--royal-blue-light));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;

}

.doctor-modal-image {
  position: absolute;
  top: 230px;
  left: 50%;
  transform: translateX(-50%) translateZ(1000px);
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  background: #fff;
  z-index: 999999;
  transition: all 0.3s ease;

}

.doctor-modal-image:hover {
  transform: translateX(-50%) translateZ(1000px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);

}

/* Mobile responsive styles for doctor modal */
@media (max-width: 768px) {
  .doctor-modal-overlay {
    padding: 20px 15px;
    align-items: flex-start;
    padding-top: 20px;
  }
  
  .doctor-glass-modal {
    max-width: none;
    width: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 20px;
    transform: scale(0.95) translateY(0);
  }
  
  .doctor-modal-overlay.active .doctor-glass-modal {
    transform: scale(1) translateY(0);
  }
  
  .doctor-modal-content {
    max-height: calc(100vh - 80px);
  }
  
  .doctor-image-header {
    height: 200px;
  }
  
  .doctor-modal-image {
    top: 130px;
    width: 120px;
    height: 120px;
    border-width: 4px;
  }
  
  .doctor-modal-image:hover {
    transform: translateX(-50%) translateZ(1000px) scale(1.02);
  }
  
  .doctor-content-section {
    padding: 20px;
  }
  
  .doctor-modal-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .doctor-modal-main {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .doctor-about-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .doctor-modal-about {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .doctor-modal-overlay {
    padding: 15px 10px;
    padding-top: 15px;
  }
  
  .doctor-glass-modal {
    max-height: calc(100vh - 30px);
    border-radius: 16px;
  }
  
  .doctor-modal-content {
    max-height: calc(100vh - 60px);
  }
  
  .doctor-image-header {
    height: 180px;
  }
  
  .doctor-modal-image {
    top: 110px;
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  
  .doctor-content-section {
    padding: 16px;
  }
  
  .doctor-modal-name {
    font-size: 1.3rem;
  }
  
  .doctor-modal-main {
    font-size: 0.9rem;
  }
  
  .doctor-about-title {
    font-size: 1.1rem;
  }
  
  .doctor-modal-about {
    font-size: 0.85rem;
  }
}

/* Landscape orientation improvements for mobile */
@media (max-width: 768px) and (max-height: 500px) {
  .doctor-modal-overlay {
    padding: 10px;
    align-items: center;
  }
  
  .doctor-glass-modal {
    max-height: calc(100vh - 20px);
  }
  
  .doctor-modal-content {
    max-height: calc(100vh - 40px);
  }
  
  .doctor-image-header {
    height: 150px;
  }
  
  .doctor-modal-image {
    top: 90px;
    width: 90px;
    height: 90px;
  }
  
  .doctor-content-section {
    padding: 15px;
  }
}

.doctor-content-section {
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;

}

.doctor-modal-name {
  font-family: var(--ff-poppins);
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a !important;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.doctor-modal-main {
  font-size: var(--fs-5);
  color: var(--royal-blue-light);
  font-weight: var(--fw-600);
  margin: 0;

}

.doctor-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(77, 208, 225, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;

}

.doctor-info:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);

}

.doctor-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--doctor-background, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;

}

.doctor-info > * {
  position: relative;
  z-index: 1;

}

.doctor-experience,
.doctor-email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-6);
  color: var(--oxford-blue-2);
  margin: 0;

}

.doctor-experience ion-icon,
.doctor-email ion-icon {
  font-size: 20px;
  color: var(--royal-blue-light);

}

.doctor-email a {
  color: var(--royal-blue-light);
  text-decoration: none;
  transition: var(--transition);

}

.doctor-email a:hover {
  color: var(--carolina-blue);
  text-decoration: underline;

}

.doctor-about h3 {
  font-family: var(--ff-poppins);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  color: var(--oxford-blue-2);
  margin-bottom: 15px;

}

.doctor-modal-about {
  font-size: var(--fs-6);
  line-height: 1.8;
  color: var(--oxford-blue-2);
  margin: 0;
  text-align: justify;

}

.doctor-modal-overlay .close-btn {
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  color: white;
  font-size: 24px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

}

.doctor-modal-overlay .close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);

}

.doctor-card .card-banner {
  cursor: pointer;
  transition: var(--transition);

}

.doctor-card .card-banner:hover {
  transform: scale(1.05);

}

.doctor-card .card-title {
  cursor: pointer;
  transition: var(--transition);

}

.doctor-card .card-title:hover {
  color: var(--royal-blue-light);

}

@media (max-width: 768px) {
  .doctor-glass-modal {
    max-width: 95%;
    margin: 20px;
  }
  .doctor-content-section {
    padding: 30px 25px;
  }
  .doctor-modal-name {
    font-size: 2rem;
  }
  .doctor-image-header {
    height: 250px;
  }
  .doctor-modal-main {
    font-size: 1.1rem;
  }

}

@media (max-width: 480px) {
  .doctor-modal-overlay {
    padding: 20px 10px;
  }
  .doctor-glass-modal {
    max-width: 100%;
    margin: 10px;
  }
  .doctor-content-section {
    padding: 25px 20px;
  }
  .doctor-modal-name {
    font-size: 1.8rem;
  }
  .doctor-image-header {
    height: 200px;
  }
  .doctor-modal-about {
    font-size: 1.1rem;
  }

}

.doctor-modal-content::-webkit-scrollbar {
  width: 8px;

}

.doctor-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;

}

.doctor-modal-content::-webkit-scrollbar-thumb {
  background: var(--royal-blue-light);
  border-radius: 4px;

}

.doctor-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--carolina-blue);

}

.doctor-modal-about {
  color: var(--oxford-blue-2) !important;

}

.doctor-modal-name,
.doctor-modal-main {
  color: var(--oxford-blue-2) !important;

}

.doctor-modal-overlay {
  overflow: visible !important;

}

.doctor-modal-image {
  z-index: 10;

}

.doctor-modal-overlay .doctor-modal-image,
.doctor-glass-modal .doctor-modal-image,
#doctorModal .doctor-modal-image {
  z-index: 99999 !important;

}

.doctor-modal-overlay .doctor-glass-modal .doctor-modal-content .doctor-image-header .doctor-modal-image {
  z-index: 999999 !important;
  transform: translateX(-50%) translateZ(9999px) !important;

}

#calendar {
  overflow: visible !important;
  max-height: none !important;

}

#calendar .fc-daygrid-day {
  overflow: visible !important;

}

#calendar .fc-daygrid-day-frame {
  overflow: visible !important;

}

#calendar .fc-daygrid-day-events {
  overflow: visible !important;
  min-height: auto !important;

}

#calendar .fc-event {
  overflow: visible !important;
  white-space: nowrap !important;

}

#calendar .fc-event-main {
  overflow: visible !important;

}

#calendar .fc-daygrid-event-dot {
  display: none !important;

}

#calendar .fc-daygrid-day-number {
  font-weight: 600;
  color: #1976d2;

}

.appointment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 12px;
  margin: 2px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-height: 32px;
  position: relative;
  overflow: hidden;

}

.appointment-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}

.appointment-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;

}

.badge-icon {
  font-size: 14px;
  margin-right: 6px;
  opacity: 0.8;

}

.badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;

}

.badge-count {
  font-size: 14px;
  font-weight: 700;
  color: inherit;

}

.badge-label {
  font-size: 10px;
  font-weight: 500;
  color: inherit;
  opacity: 0.9;
  text-transform: lowercase;

}

.total-appointments {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);

}

.total-appointments:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);

}

.doctor-appointments {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);

}

.doctor-appointments:hover {
  background: linear-gradient(135deg, #3d9be8 0%, #00d8e0 100%);

}

.appointment-text {
  text-align: center;
  font-size: 12px;
  color: #495057;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  border: 1px solid #e9ecef;

}

#calendar .fc-daygrid-day {
  position: relative;
  transition: all 0.2s ease;

}

#calendar .fc-daygrid-day:hover {
  background-color: rgba(25, 118, 210, 0.02);

}

#calendar .fc-daygrid-day-frame {
  padding: 4px;

}

#calendar .fc-daygrid-day-events {
  margin-top: 4px;
  min-height: auto;

}

#calendar .fc-event {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 1px 0;

}

#calendar .fc-event-main {
  background: transparent !important;
  padding: 0 !important;

}

#calendar .fc-daygrid-event-dot {
  display: none !important;

}

.calendar-panel {
  overflow: visible !important;

}

.calendar-panel .glass-panel {
  overflow: visible !important;

}

.dashboard-flex {
  overflow: visible !important;
  margin-top: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fc {
  overflow: visible !important;

}

.fc .fc-daygrid-day-frame {
  overflow: visible !important;

}

.fc .fc-daygrid-day-events {
  overflow: visible !important;
  min-height: auto !important;

}

.fc .fc-event {
  overflow: visible !important;
  white-space: nowrap !important;

}

.fc .fc-event-main {
  overflow: visible !important;

}

.fc .fc-daygrid-event-dot {
  display: none !important;

}

@media (max-width: 600px), (max-height: 600px) {
  .header-top {
    display: none;
  }
  
  .header-bottom {
    top: 0 !important;
    position: fixed !important;
    z-index: 1000;
  }
  
  .back-top-btn {
    bottom: 20px !important;
  }
  
  .modal-content h2 {
    font-size: 2rem;
  }
  .modal-actions {
    flex-direction: column;
    gap: 12px;
  }
  .modal-btn {
    width: 100%;
    padding: 15px 20px;
  }
  .trigger-btn {
    padding: 18px 35px;
    font-size: 1.1rem;
  }

}

@media (max-width: 400px), (max-height: 500px) {
  .header-top {
    display: none;
  }
  
  .header-bottom {
    top: 0 !important;
    position: fixed !important;
    z-index: 1000;
  }
  
  .back-top-btn {
    bottom: 15px !important;
  }
  
  .modal-icon {
    font-size: 3rem;
  }
  .modal-content h2 {
    font-size: 1.8rem;
  }
  .modal-content p {
    font-size: 14px;
  }

}

.appointment-form {
  margin-top: 25px;

}

.form-group {
  margin-bottom: 20px;

}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;

}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;

}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 5px;
  transition: all 0.3s ease;
  overflow: hidden;

}

.input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);

}

.input-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin: 0 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;

}

.input-wrapper:focus-within .input-icon {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);

}

.glass-input,
.glass-textarea {
  background: transparent !important;
  border: none;
  color: #1e3a8a !important;
  font-size: 13.37px;
  padding: 15px 0;
  width: 100%;
  outline: none;
  font-family: inherit;
  resize: none;

}

.glass-input:focus,
.glass-textarea:focus,
.glass-input:active,
.glass-textarea:active {
  background: transparent !important;
  color: #000000 !important;
  outline: none;
  border: none;

}

.glass-input:-webkit-autofill,
.glass-input:-webkit-autofill:hover,
.glass-input:-webkit-autofill:focus,
.glass-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: #1e3a8a !important;
  background: transparent !important;

}

.glass-input[type="text"]:focus,
.glass-input[type="email"]:focus,
.glass-input[type="tel"]:focus,
.glass-input[type="password"]:focus,
.glass-input[type="number"]:focus,
.glass-select:focus {
  background: transparent !important;
  color: #1e3a8a !important;
  outline: none;
  border: none;

}

.glass-input::placeholder,
.glass-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;

}

.glass-input:focus::placeholder,
.glass-textarea:focus::placeholder {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);

}

.glass-textarea {
  min-height: 80px;
  line-height: 1.5;

}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  transition: width 0.3s ease;

}

.input-wrapper:focus-within .input-border {
  width: 100%;

}

.input-wrapper.focused {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

}

.glass-input.has-value,
.glass-textarea.has-value {
  color: #1e3a8a;

}

.glass-input[type="date"],
.glass-input[type="time"] {
  color: #1e3a8a;

}

.glass-input[type="date"]::-webkit-calendar-picker-indicator,
.glass-input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(0.8);
  cursor: pointer;
  transition: all 0.3s ease;

}

.glass-input[type="date"]::-webkit-calendar-picker-indicator:hover,
.glass-input[type="time"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(1) brightness(1);
  transform: scale(1.1);

}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;

}

.modal-btn ion-icon {
  font-size: 1.1rem;
  transition: all 0.3s ease;

}

.modal-btn:hover ion-icon {
  transform: scale(1.1);

}

.glass-input:invalid,
.glass-textarea:invalid {
  border-color: rgba(255, 100, 100, 0.5);

}

.glass-input:valid,
.glass-textarea:valid {
  border-color: rgba(100, 255, 100, 0.3);

}

.appointment-form.loading {
  pointer-events: none;
  opacity: 0.7;

}

.appointment-form.loading .modal-btn {
  position: relative;

}

.appointment-form.loading .modal-btn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;

}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }

}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }

}

.success-animation {
  animation: successPulse 0.6s ease;

}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }

}

.error-animation {
  animation: errorShake 0.6s ease;
  background-color: #f44336 !important;
  color: white !important;

}

.blog-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 40px 20px;

}

.blog-modal-overlay.active {
  opacity: 1;
  visibility: visible;

}

.blog-modal-overlay.active .blog-glass-modal {
  transform: scale(1) translateY(0);

}

.blog-glass-modal {
  max-width: 900px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;

}

.blog-modal-content {
  text-align: left;
  color: var(--oxford-blue-2);
  max-height: 80vh;
  overflow-y: auto;

}

.blog-image-header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--carolina-blue), var(--royal-blue-light));

}

.blog-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  transform: scale(1.1);

}

.blog-modal-image:hover {
  transform: scale(1.15);

}

.blog-content-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);

}

.blog-modal-title {
  font-family: var(--ff-poppins);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
  color: var(--oxford-blue-2);
  margin-bottom: 20px;
  line-height: 1.3;

}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-6);
  color: var(--royal-blue-light);
  margin-bottom: 25px;
  font-weight: var(--fw-500);

}

.blog-date ion-icon {
  font-size: 18px;

}

.blog-modal-description {
  font-size: var(--fs-6);
  line-height: 1.8;
  color: var(--oxford-blue-2);
  margin: 0;
  text-align: justify;

}

.blog-modal-overlay .close-btn {
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;

}

.blog-modal-overlay .close-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);

}

@media (max-width: 768px) {
  .blog-glass-modal {
    max-width: 95%;
    margin: 20px;
  }
  .blog-content-section {
    padding: 30px 25px;
  }
  .blog-modal-title {
    font-size: 2rem;
  }
  .blog-image-header {
    height: 250px;
  }

}

@media (max-width: 480px) {
  .blog-modal-overlay {
    padding: 20px 10px;
  }
  .blog-glass-modal {
    max-width: 100%;
    margin: 10px;
  }
  .blog-content-section {
    padding: 25px 20px;
  }
  .blog-modal-title {
    font-size: 1.8rem;
  }
  .blog-image-header {
    height: 200px;
  }
  .blog-modal-description {
    font-size: 1.1rem;
  }

}

.blog-modal-content::-webkit-scrollbar {
  width: 8px;

}

.blog-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;

}

.blog-modal-content::-webkit-scrollbar-thumb {
  background: var(--royal-blue-light);
  border-radius: 4px;

}

.blog-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--carolina-blue);

}

.consent-wrapper {
  margin: 20px 0;

}

.modern-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;

}

.modern-checkbox:hover .checkmark {
  border-color: rgba(77, 208, 225, 0.8);
  box-shadow: 0 0 20px rgba(77, 208, 225, 0.3);

}

.modern-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;

}

.checkmark {
  position: relative;
  height: 22px;
  width: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
  margin-top: 2px;

}

.modern-checkbox input:checked ~ .checkmark {
  background: linear-gradient(135deg, rgba(77, 208, 225, 0.9), rgba(2, 119, 189, 0.9));
  border-color: rgba(77, 208, 225, 0.8);
  box-shadow: 0 0 25px rgba(77, 208, 225, 0.4);
  transform: scale(1.05);

}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.3s ease;

}

.modern-checkbox input:checked ~ .checkmark:after {
  display: block;
  opacity: 1;
  animation: checkmarkAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;

}

@keyframes checkmarkAppear {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  50% {
    opacity: 0.5;
    transform: rotate(45deg) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }

}

.consent-text {
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  padding-top: 2px;
  transition: color 0.3s ease;

}

.modern-checkbox:hover .consent-text {
  color: rgba(255, 255, 255, 0.9);

}

.modern-checkbox input:checked ~ .consent-text {
  color: rgba(255, 255, 255, 0.95);

}

.modern-checkbox input:focus ~ .checkmark {
  outline: 2px solid rgba(77, 208, 225, 0.6);
  outline-offset: 2px;

}

@media (max-width: 480px) {
  .modern-checkbox {
    gap: 12px;
  }
  .checkmark {
    height: 20px;
    width: 20px;
  }
  .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
  }
  .consent-text {
    font-size: 13px;
  }

}

/* Success Message Styles */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-message .modal-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: successPulse 2s ease-in-out infinite;
}

.success-message h2 {
  color: var(--white);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-bottom: 20px;
  font-family: var(--ff-poppins);
}

.success-message p {
  color: var(--white);
  font-size: var(--fs-7);
  line-height: 1.6;
  margin-bottom: 15px;
  font-family: var(--ff-roboto);
}

.success-message strong {
  color: var(--white);
  font-weight: var(--fw-600);
}

.appointment-id-display {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 1.2em;
  font-weight: var(--fw-600);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin: 15px 0;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.appointment-id-display:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.info-note {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--success-green);
  backdrop-filter: blur(10px);
}

.info-note p {
  margin: 0;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Copy success message animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}






