:root {
  --color-primary: #4d19d3;
  --color-primary-foreground: #ffffff;
  --color-secondary: #ffbec3;
  --color-secondary-foreground: #1f2937;
  --color-accent: #6366f1;
  --color-body: #f9fafb;
  --color-text: #111827;
  --color-muted: #9ca3af;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --card-shadow-strong: 0 24px 48px rgba(77, 25, 211, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

       @font-face {
    font-family: 'Cocogoose Pro Darkmode';
    src: url('../assets/fonts/Cocogoose-Pro-Darkmode.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocogoose Pro Light';
    src: url('../assets/fonts/Cocogoose-Pro-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-body);
  color: var(--color-text);
  font-family: 'Cocogoose Pro Light', sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

.shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(243, 244, 246, 0.9);
}

.site-header__bar {
  height: 4px;
  background: var(--color-secondary);
}

.site-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand__logo {
  display: block;
  height: 80px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__link {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav__link:hover {
  color: var(--color-accent);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  padding-block: 3rem;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.2;
}

.hero__glow--left {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  transform: translate(-50%, -50%);
  background: var(--color-secondary);
}

.hero__glow--right {
  right: 0;
  bottom: 0;
  width: 24rem;
  height: 24rem;
  transform: translate(50%, 50%);
  background: var(--color-accent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero__eyebrow .icon {
  color: var(--color-secondary);
}

.hero__title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__description {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  color: #e9d5ff;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  line-height: 1.8;
}

.hero__search {
  max-width: 36rem;
  margin: 0 auto;
}

.search-field {
  position: relative;
}

.search-field__icon,
.search-field__clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-field__icon {
  left: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

.search-field__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.search-field__input {
  width: 100%;
  min-height: 60px;
  padding: 1rem 3rem 1rem 2.75rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
  color: var(--color-text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field__input::placeholder {
  color: #9ca3af;
}

.search-field__input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(255, 190, 195, 0.2), 0 20px 40px rgba(17, 24, 39, 0.18);
}

.search-field__clear {
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: #9ca3af;
  transition: color 180ms ease;
}

.search-field__clear:hover {
  color: var(--color-primary);
}

.search-field__clear svg {
  width: 1.125rem;
  height: 1.125rem;
}

.centres-section {
  position: relative;
  z-index: 20;
}

.centres-shell {
  position: relative;
  margin-top: 0;
  padding-top: 2.75rem;
  padding-bottom: 3rem;
}

.search-progress {
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 999px;
  transform-origin: left center;
  animation: progress-grow 550ms ease forwards;
}

.centres-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.centre-card,
.skeleton-card,
.empty-state {
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.centre-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  animation: card-enter 260ms ease both;
}

.centre-card--stable {
  animation: none;
}

.centre-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 25, 211, 0.25);
}

.centre-card--closest {
  border-color: var(--color-primary);
  box-shadow: var(--card-shadow-strong);
  transform: scale(1.02);
  z-index: 1;
}

.closest-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(77, 25, 211, 0.25);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.closest-badge svg {
  width: 0.625rem;
  height: 0.625rem;
  fill: currentColor;
}

.centre-card__header {
  margin-bottom: 1rem;
}

.centre-card__title {
  margin: 0 0 0.25rem;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
}

.centre-card__tamil {
  margin: 0;
  color: rgba(77, 25, 211, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.centre-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
}

.address-block {
  display: flex;
  gap: 0.75rem;
}

.address-block__icon {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: #9ca3af;
}

.address-block__icon svg,
.icon svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}

.address-block__content {
  flex: 1 1 auto;
}

.address-block__street {
  margin: 0 0 0.5rem;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.address-lines {
  display: grid;
  gap: 0.375rem;
  color: #4b5563;
  font-size: 0.875rem;
}

.address-lines__row {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.address-lines__dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: #d1d5db;
}

.address-block__fallback {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.75;
  white-space: pre-line;
}

.address-block__landmark {
  margin-top: 0.625rem;
  padding-left: 0.625rem;
  border-left: 2px solid rgba(255, 190, 195, 0.3);
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.75rem;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.copy-button:hover {
  background: #f3f4f6;
  color: #111827;
}

.copy-button--copied {
  background: #dcfce7;
  color: #15803d;
}

.copy-button svg {
  width: 0.75rem;
  height: 0.75rem;
}

.centre-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 244, 246, 0.95);
}

.phone-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #f9fafb;
  transition: background-color 180ms ease;
}

.centre-card:hover .phone-panel {
  background: rgba(255, 190, 195, 0.12);
}

.phone-panel__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}

.phone-panel__meta > div {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-panel__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.phone-panel__icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.centre-card:hover .phone-panel__icon {
  transform: scale(1.1);
}

.phone-panel__label {
  margin: 0 0 0.125rem;
  color: #9ca3af;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.phone-panel__number {
  color: #111827;
  font-size: 1.125rem;
  font-weight: 700;
  transition: color 180ms ease;
  display: inline-block;
  white-space: nowrap;
  word-break: normal;
}

.phone-panel__number:hover {
  color: var(--color-primary);
}

.phone-panel__call {
  min-height: 2.25rem;
  padding: 0.625rem 0.875rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(77, 25, 211, 0.14);
  box-shadow: 0 10px 20px rgba(77, 25, 211, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.phone-panel__call:hover {
  background: #f7f5ff;
}

.phone-panel__call--copied {
  background: #eef2ff;
  color: var(--color-primary);
}

.phone-panel__call:active,
.button:active {
  transform: scale(0.95);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
  padding: 0.875rem 1rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 1rem;
  height: 1rem;
}

.button--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(77, 25, 211, 0.2);
}

.button--primary:hover {
  background: var(--color-accent);
}

.button--secondary {
  background: var(--color-secondary);
  color: #111827;
  box-shadow: 0 14px 28px rgba(255, 190, 195, 0.24);
}

.button--secondary:hover {
  filter: brightness(1.04);
}

.skeleton-card {
  min-height: 400px;
  padding: 1.5rem;
  border: 1px solid rgba(243, 244, 246, 0.95);
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  border-radius: 999px;
  background: #f3f4f6;
}

.skeleton-line--title {
  width: 75%;
  height: 1.5rem;
  margin-bottom: 1rem;
}

.skeleton-line--subtitle {
  width: 50%;
  height: 1rem;
  margin-bottom: 2rem;
  background: #f9fafb;
}

.skeleton-stack {
  display: grid;
  gap: 0.75rem;
}

.skeleton-line--full {
  width: 100%;
  height: 1rem;
  background: #f9fafb;
}

.skeleton-line--medium {
  width: 66%;
  height: 1rem;
  background: #f9fafb;
}

.skeleton-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 8rem;
}

.skeleton-line--button {
  width: 100%;
  height: 3rem;
}

.empty-state {
  padding: 5rem 1.5rem;
  border: 2px dashed rgba(229, 231, 235, 0.9);
  text-align: center;
  animation: card-enter 260ms ease both;
}

.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 190, 195, 0.1);
  color: var(--color-secondary);
}

.empty-state__icon svg {
  width: 2rem;
  height: 2rem;
}

.empty-state__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.empty-state__text {
  max-width: 20rem;
  margin: 0 auto 2rem;
  color: #6b7280;
  line-height: 1.7;
}

.empty-state__text strong {
  color: var(--color-primary);
}

.site-footer {
  flex-shrink: 0;
  padding-block: 3rem;
  border-top: 1px solid rgba(243, 244, 246, 0.95);
  background: #ffffff;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.5;
  filter: grayscale(1);
}

.site-footer__copy {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-footer__links a {
  transition: color 180ms ease;
}

.site-footer__links a:hover {
  color: var(--color-primary);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon--small svg {
  width: 0.875rem;
  height: 0.875rem;
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 0.9s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: reveal-up 600ms ease forwards;
}

.reveal--delay-1 {
  animation-delay: 0ms;
}

.reveal--delay-2 {
  animation-delay: 80ms;
}

.reveal--delay-3 {
  animation-delay: 160ms;
}

.reveal--delay-4 {
  animation-delay: 220ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

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

@keyframes card-enter {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes progress-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 640px) {
  .shell {
    padding-inline: 1.5rem;
  }

  .hero {
    padding-block: 3rem;
  }
}

@media (min-width: 768px) {
  .centres-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    flex-direction: row;
  }

  .site-footer__brand {
    align-items: flex-start;
  }

  .site-footer__copy {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding-inline: 2rem;
  }

  .centres-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .phone-panel {
            align-items: stretch;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
  }

  .phone-panel__meta {
    width: 100%;
  }

  .phone-panel__number {
    font-size: 0.9rem;
  }

  .phone-panel__call {
    align-self: flex-end;
  }
  .phone-panel__meta > div {
    flex: none;
    min-width: 0;
}
.centre-card{
      padding-left: 10px;
    padding-right: 10px;
}
.site-brand__logo {
  
  height: 40px;
  
}
}
