/* ==================================================
   VARIABLES
   Define colors, fonts, and reusable variables
================================================== */
:root {
  --primary: #0f4c75;
  --secondary: #1b9aaa;
  --danger: #d90429;
  --text-dark: #1f2933;
  --bg-light: #f9fafb;
}

/* ==================================================
   RESET & BASE STYLES
   Reset margins/paddings and set base fonts
================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
}

/* ==================================================
   ACCESSIBILITY
================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem;
  z-index: 999;
}

.skip-link:focus {
  top: 0;
}

/* ==================================================
   CONTAINERS
================================================== */
.container2 {
  /* max-width: 1100px; */
  width: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
  /* padding: 0 1rem; */
}

#services-title{
  text-align: center;
}
/* ==================================================
   HEADER & NAVIGATION
================================================== */
.header {
    background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* subtle depth */
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--primary);
}

/* Navigation (Slide-in Mobile) */
.nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  transition: opacity 2.5s ease;
  opacity: 1;
}

.nav.open {
  right: 0;
}

.nav__list {
  list-style: none;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nav__list a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Overlay for slide-in menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger toggle */
.nav-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1100;
}

/* Desktop navigation */
@media (min-width: 769px) {
  .nav {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    right: 0;
    padding-right: 20px;
  }

  .nav__list {
    flex-direction: row;
    padding: 0;
  }

  .nav-toggle,
  .nav-overlay {
    display: none;
  }
  
}

@media (max-width: 767px){
  .clinicDays{
  left: 7%;
  /* position: absolute; */
  color: var(--danger);
}

}

.hero {
      background: linear-gradient(135deg, #0f4c81, #1E88E5);
      color: white;
         padding: 4rem 1rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before,
    .hero::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      z-index: 0;
    }

    .hero::before {
      width: 260px;
      height: 260px;
      top: -60px;
      right: -50px;
    }

    .hero::after {
      width: 180px;
      height: 180px;
      bottom: -50px;
      left: -40px;
    }

.homeServiceIntro{
  /* bottom: 40px; */
  /* position: absolute; */
  text-align: center;
  width: 100%;
  margin-top: 20px;
}
.introFlex{
  width: 100%;
  display: block;
  justify-content: center;
  align-items: center;
  align-content:center ;
  
}
.clinicalDaysIntro{
  margin-top: 10px;
  margin-bottom: 10px;
  /* bottom: 0px; */
  /* position: absolute; */
  /* display: flex; */
  text-align: center;
  width: 100%;
}    
.always{
  color: yellow;

}


.clinicDays{
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  padding: 7px;
  background-color: #fbff00;
  border-radius: 15px;
}


.hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.container3 {
display: flex;                 /* Enable flexbox */
  justify-content: center;       /* Horizontal centering */
  align-items: center;           /* Vertical centering */
   height: 5vh;
  

}

/* Typing text style */
.type {
  font-size: clamp(1.3rem, 4vw, 2.5rem); /* Responsive font size */
  color: #ffffff;               /* Text color */
  border-right: 3px solid #fff; /* Cursor */
  padding-right: 6px;           /* Space before cursor */
  white-space: nowrap;          /* Prevent line break */
  overflow: hidden;             /* Hide overflow text */
}

/* Cursor blinking animation */
@keyframes blink {
  50% {
    border-color: transparent;  /* Hide cursor */
  }
}

/* Apply blinking effect */
.type {
  animation: blink 0.7s infinite;
}


/* ==================================================
   BUTTONS
================================================== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

.btn--primary {
  background: #fff;
  color: var(--primary);
}

.btn--emergency {
  background: #fff;
  color: var(--danger);
}

/* ==================================================
   SERVICES SLIDER
================================================== */
.section {
  padding: 3rem 0;
}

.services-slider {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.service-slide {
  border-radius: 5px;
  /* width: 360px;
  height: 470px; */
  /* justify-items: center;
  justify-content: center; */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);  
  width: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 3ms ease, transform 3s ease;
  text-align: center;
}

.service-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.service-slide img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
  /* border-radius: 6px; */
}


.service-slide figcaption {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  font-weight: bold;
}

/* figcaption-more-information */
.figcaption-more-info{
  text-align: left;
  height: auto;
  padding: 5px 2px 5px 5px;
  /* border: 1px solid rgba(0, 183, 255, 0.479); */
  border-radius: 5px;
}

/* Swipe dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: var(--primary);
}

/* ==================================================
   EMERGENCY SECTION
================================================== */
.emergency {
  background: var(--danger);
  color: #fff;
  text-align: center;
  padding: 3rem 3rem;
}

/* ==================================================
   FOOTER
================================================== */
/* .footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem;
} */

  
    .footer {
      background: linear-gradient(135deg, #0f4c81, #1E88E5);
      color: white;
      padding: 1rem;
      position: relative;
      text-align: center;
      overflow: hidden;
    }

    .footer ::before,
    .footer ::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 248, 248, 0.11);
      z-index: 0;
    }

    .footer ::before {
      width: 80px;
      height: 80px;
      top: -60px;
      right: -50px;
    }

    .footer ::after {
      width: 80px;
      height: 80px;
      bottom: -50px;
      left: -40px;
    }




.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
}

.caption {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.caption h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.caption p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.developer{
  text-decoration: none;
  color: rgb(251, 255, 0);
  font-weight: bold;
}

.map-heading{
  text-align: center;
}



/* Splash Screen Container */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    z-index: 9999;
}

/* Center content */
.splash-content {
    text-align: center;
}

/* Logo Image */
.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;

    opacity: 1;
    transform: translateY(-10px);
    /* animation: fadeSlide 0.8s ease forwards; */
}

/* Welcome Text */
.welcome-text {
    margin-top: 10px;
    font-size: 14px;
    color: #050505;

    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* Loader container */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 8px; /* space between dots */
}

/* Each dot */
.loader-dot {
    width: 10px;
    height: 10px;
    background-color: #1877f2; /* Facebook blue */
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

/* Delay for each dot */
.loader-dot:nth-child(1) { animation-delay: 0s; }
.loader-dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dot:nth-child(3) { animation-delay: 0.4s; }

/* Bounce animation */
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Credit */
.credit {
    /* margin-top: 70px; */
    /* position: absolute; */
    /* bottom: 75px; */
    font-size: 12px;
    color: #65676b;
        opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 0.8s ease forwards;
    animation-delay: 0.3s;
}

#emer-target{
  height: 20px;
}

.appointment-btn{
  text-decoration: none;
  color: yellow;
}