/* ===== Pathways Coventry - Main Stylesheet ===== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[v-cloak],
*:not(:defined) {
  display: none;
}

:root {
  --navy: #201452;
  --navy-light: #2a3a7a;
  --blue: #89c4e1;
  --blue-light: #b4ddf0;
  --blue-pale: #e8f4fa;
  --white: #ffffff;
  --grey-light: #f5f7fa;
  --grey: #6b7280;
  --grey-dark: #374151;
  --shadow: 0 2px 8px rgba(30, 42, 94, 0.10);
  --shadow-lg: 0 8px 24px rgba(30, 42, 94, 0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p {
  margin-bottom: 1rem;
}

.p-1 {
  padding: 0.5rem;
}
.ps-1 {
  padding-left: 0.5rem;
}
.pe-1 {
  padding-right: 0.5rem;
}
.pt-1 {
  padding-top: 0.5rem;
}
.pb-1 {
  padding-bottom: 0.5rem;
}

.m-1 {
  margin: 0.5rem;
}
.ms-1 {
  margin-left: 0.5rem;
}
.me-1 {
  margin-right: 0.5rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}

.p-2 {
  padding: 1rem;
}
.ps-2 {
  padding-left: 1rem;
}
.pe-2 {
  padding-right: 1rem;
}
.pt-2 {
  padding-top: 1rem;
}
.pb-2 {
  padding-bottom: 1rem;
}

.m-2 {
  margin: 1rem;
}
.ms-2 {
  margin-left: 1rem;
}
.me-2 {
  margin-right: 1rem;
}
.mt-2 {   
  margin-top: 1rem;
}
.mb-2 {
  margin-bottom: 1rem;
}

body.open {
  overflow: hidden;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Header & Navigation --- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sub-bar {
  background: var(--blue);
  color: var(--navy);
  text-align: center;
  padding: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-right: auto;
  background: #fff;
  border-radius: 50vw;
  padding: 0.2rem 1.5rem 0.2rem 0.2rem;
}

.logo img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--navy-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Desktop nav (hidden — hamburger used at all sizes) */
.nav-links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--blue-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--navy-light);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}



/* Slide-out nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Slide-out nav panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: #222;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--transition);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-close {
  background: none;
  border: none;
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 0 10px;
  padding: 0.35rem 0.65rem;
  font-weight: 800;
  transition: all var(--transition);
}

.mobile-nav-close:hover {
  background: var(--blue);
}

.mobile-nav a {
  display: block;
  color: var(--blue-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--navy);
  background: var(--blue);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(137, 196, 225, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 400;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: var(--navy);
  font-weight: 700;
  border-radius: 50px;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Social Icons (Header) --- */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--blue);
  transition: all var(--transition);
  flex-shrink: 0;
}

.social-icon:hover {
  background: var(--blue);
  color: var(--navy);
  transform: translateY(-2px);
}

/* --- Page Content --- */
.page-content {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1rem;
  container-name: page-content;
  container-type: inline-size;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.page-divider {
  width: 60px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 2rem;
}

.coming-soon {
  background: var(--blue-pale);
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--navy);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.coming-soon p {
  color: var(--grey);
  font-size: 0.95rem;
}

/* --- Contact Form --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact-info {
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
  color: var(--grey-dark);
  font-size: 0.95rem;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info .info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.7rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(137, 196, 225, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  padding: 0.85rem 2rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* --- Footer --- */
.site-footer {
  background: var(--grey-dark);
  color: var(--blue-pale);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--blue-light);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--grey);
}

.footer-links--legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: -0.25rem;
}

.footer-links--legal a {
  font-size: 0.75rem;
  color: var(--grey);
}

.footer-links--legal a:hover {
  color: var(--blue-light);
}


.section {
  padding: 2rem 0;
}

.singleSlider img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.singleSlider .slick-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  transform: translateX(-50%);
  list-style: none;
}
.singleSlider .slick-dots .slick-active button {
  background: var(--navy);
}
.singleSlider .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  transition: background var(--transition);
  text-indent: -9999px;
}
.singleSlider.slick-dots li button:hover {
  background: var(--navy);
}

.grid-300 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* --- Quick Links Grid (Home) --- */
.quick-links {  
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.quick-card {
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

@container page-content (width > 768px) {
  .quick-links {
    grid-template-columns: repeat(3, 1fr);
  }
}


.quick-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.quick-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.quick-card h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.quick-card p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.35rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {

  .header-inner .btn {
    display: none;
  }

  .sub-bar {
    display: block;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .logo {
    padding: 0.2rem;
  }

  .logo-text {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.6rem;
  }
  
}

@media (max-width: 480px) {

  .logo-text {
    font-size: 0.8rem;
  }
  .logo-text span {
    font-size: 0.6rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .page-content {
    padding: 2rem 1rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

/* --- Get Support Page --- */
.support-emergency-banner {
  background: #fff1f0;
  border: 1px solid #fca5a5;
  border-left: 5px solid #dc2626;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #991b1b;
}

.support-emergency-banner strong {
  font-size: 1rem;
}

.support-emergency-banner span {
  font-size: 0.875rem;
  opacity: 0.9;
}

.support-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-card--urgent {
  border-left: 4px solid #dc2626;
}

.support-card h4 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.support-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: #fee2e2;
  color: #991b1b;
  align-self: flex-start;
}

.support-card-tag--info {
  background: var(--blue-pale);
  color: var(--navy);
}

.support-contact-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.support-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grey);
  min-width: 2.5rem;
  flex-shrink: 0;
}

.support-contact-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy) !important;
  letter-spacing: 0.3px;
}

.support-contact-number:hover {
  color: var(--blue) !important;
}

.support-card-desc {
  font-size: 0.875rem;
  color: var(--grey);
  margin: 0 !important;
  line-height: 1.5;
}

.support-card-note {
  font-size: 0.8rem;
  color: var(--grey);
  margin: 0 !important;
  line-height: 1.4;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* --- About Page --- */
.about-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-dark);
  max-width: 72ch;
  margin-bottom: 2.5rem;
}

.about-role-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.about-role-list li {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.about-notice {
  background: var(--grey-light);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-notice-section {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.about-notice-section:last-child {
  border-bottom: none;
}

.about-notice-section h4 {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.about-notice-section p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.about-notice-section p:last-child {
  margin-bottom: 0;
}

.about-notice-section--urgent {
  background: #fff8f2;
}

.about-emergency-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.about-emergency-list li {
  font-size: 0.9rem;
  color: var(--grey-dark);
  padding-left: 1.25rem;
  position: relative;
}

.about-emergency-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.about-contact {
  background: var(--blue-pale);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-contact h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-contact p {
  color: var(--grey);
  font-size: 0.875rem;
  margin: 0;
}

.about-email-link {
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--navy);
  white-space: nowrap;
}

.about-email-link:hover {
  color: var(--blue);
}


#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
#gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
#gallery .gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform var(--transition);
}
#gallery .gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0 1rem;
  user-select: none;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}