/* ==========================================================================
   Sri Chakra Multispeciality Hospital - X-Ray Page Stylesheet (Desktop)
   ========================================================================== */

/* ---------------- CSS Variables & Base ---------------- */
:root {
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --color-primary: #00a8ec;
  --color-primary-dark: #008cc4;
  --color-navy: #0c2b4d;
  --color-heading: #111827;
  --color-text: #555555;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- Layout Wrapper ---------------- */
.xray-page-wrapper {
  width: 100%;
  padding: 30px 40px 0px;
  background-color: #ffffff;
}

.xray-container {
  max-width: 1350px;
  margin: 0 auto;
}

/* ---------------- Hero Banner ---------------- */
.xray-hero-card {
  position: relative;
  width: 100%;
  min-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: url('../images/x-ray-banner-img.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.xray-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(0 0 0 / 73%) 0%, rgb(0 0 0 / 26%) 100%);
}

.xray-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 40px 20px;
}

.xray-hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--color-white);
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 22px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.breadcrumb-nav a {
  color: #e0f2fe;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-active {
  color: #ffffff;
  font-weight: 600;
}

/* ---------------- Common Section Headings ---------------- */
.xray-section.xray-services-section {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 28px;
  margin-bottom: 25px;
}

.xray-section.xray-features-section {
  width: 100%;
  background-color: #ebf6fe;
  padding: 40px 30px;
  border-radius: 28px;
}

.xray-section.xray-excellence-section {
  width: 100%;
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 28px;
  margin-bottom: 25px;
}

.xray-section.xray-ultrasound-section {
  width: 100%;
  background-color: #ebf6fe;
  padding: 40px 30px;
  border-radius: 28px;
}

.xray-section-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 30px;
}

.highlight-cyan {
  color: var(--color-primary);
}

.xray-body-text {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 20px;
}

.xray-body-text:last-child {
  margin-bottom: 0;
}

/* ---------------- 2-Column Sections Grid ---------------- */
.xray-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.xray-img-frame {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.xray-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xray-img-frame:hover .xray-img {
  transform: scale(1.03);
}

.xray-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------------- Section 2: Imaging Services Offered (6 Cards) ---------------- */
.imaging-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.imaging-card {
  background: var(--color-white);
  border: 1px solid #edf2f7;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
}

.imaging-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 236, 0.4);
}

.imaging-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 168, 236, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.imaging-card:hover .imaging-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.imaging-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.imaging-card:hover .imaging-title {
  color: var(--color-navy);
}

.imaging-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
