/* ==========================================================================
   DEEPAM TRUST — ABOUT PAGE STYLES (about/about.css)
   ========================================================================== */

/* ---------- About Hero ---------- */
.about-hero {
  position: relative;
  max-height: 300px;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 20px 0;
  background: #1A0406;
  text-align: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.1) brightness(0.9);
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  will-change: transform;
}

.about-hero:hover .about-hero-bg img,
.about-hero-bg img:hover {
  transform: scale(1.06);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 4, 6, 0.94) 0%, rgba(90, 10, 16, 0.75) 60%, rgba(193, 25, 35, 0.45) 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #FFFFFF;
}

.about-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 211, 122, 0.3);
  margin-bottom: 12px;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-align: center;
  margin: 0 auto;
}

.about-hero-title .accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #FF9E68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.about-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
  max-width: 680px;
}

.btn-about-hero {
  background: var(--primary);
  color: #FFFFFF;
  padding: 15px 32px;
  font-size: 15.5px;
  box-shadow: 0 6px 20px rgba(193, 25, 35, 0.4);
}

.btn-about-hero:hover {
  background: #FFFFFF;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ---------- Mandatory Section Padding (Strictly 10px) ---------- */
.about-section-pad {
  padding: 10px 0 !important;
  position: relative;
}

/* ---------- Section Header Pattern ---------- */
.section-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-head-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 3 Column Cards Grid ---------- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.about-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #E5E7EB;
}

.about-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.about-card:hover .about-card-media img,
.about-card-media:hover img,
.about-card-media img:hover {
  transform: scale(1.08);
}

.about-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.about-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.about-card-body p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-body);
}

/* ---------- Services Section ---------- */
.services-section {
  background: var(--bg-page);
  padding: 10px 0 !important;
}

.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card-modern {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.service-card-modern:hover .service-icon-box {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

.service-card-modern h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-modern p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- REDESIGNED SHOWCASE BLOCK (Exact match to User Image 2) ---------- */
.showcase-block {
  padding: 10px 0 !important;
  position: relative;
  background: #FAF8F5;
}

.showcase-block.alt-bg {
  background: #FFFFFF;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 56px;
}

/* In Image 2, the image is on the left and content is on the right */
.showcase-grid.image-left {
  grid-template-columns: 0.92fr 1.18fr;
}

/* ---------- Showcase Media Stage with Ambient Motion & Badges ---------- */
.showcase-media-stage {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.12), 0 8px 24px -6px rgba(193, 25, 35, 0.08);
  border: 4px solid #FFFFFF;
  background: linear-gradient(145deg, #FAF8F5 0%, #FFF5F5 50%, #F5F1EC 100%);
  position: relative;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 440px;
}

/* Ambient blurred background from photo itself */
.stage-ambient-blur {
  position: absolute;
  inset: -25px;
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(1.5) brightness(0.96);
  opacity: 0.38;
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
  animation: ambientShift 10s ease-in-out infinite alternate;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.showcase-media-stage:hover .stage-ambient-blur {
  opacity: 0.52;
  filter: blur(30px) saturate(1.7);
}

/* Ambient floating gradient orbs in corners */
.stage-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(20px);
}

.stage-ambient-orb.orb-1 {
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(193, 25, 35, 0.35) 0%, rgba(193, 25, 35, 0) 70%);
  animation: orbDrift 7s ease-in-out infinite alternate;
}

.stage-ambient-orb.orb-2 {
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 154, 54, 0.4) 0%, rgba(212, 154, 54, 0) 70%);
  animation: orbDrift 8s ease-in-out infinite alternate-reverse;
}

/* Top Floating Motion Badge */
.stage-floating-badge.badge-top {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 7px 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  animation: floatBadgeTop 4.5s ease-in-out infinite;
  will-change: transform;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(193, 25, 35, 0.65);
  animation: beaconPulse 2s infinite;
  flex-shrink: 0;
}

/* Main Image Container: Uncut, fully visible image */
.stage-image-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 3.5px solid #FFFFFF;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.showcase-media-stage:hover .stage-main-img,
.stage-main-img:hover {
  transform: scale(1.05);
}

/* Bottom Floating Motion Stat Card */
.stage-floating-badge.badge-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadgeBottom 5s ease-in-out infinite;
  will-change: transform;
}

.badge-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #C11923 0%, #E63946 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(193, 25, 35, 0.3);
}

.badge-stat-icon.heart-icon {
  background: linear-gradient(135deg, #D49A36 0%, #E0A94A 100%);
  box-shadow: 0 4px 10px rgba(212, 154, 54, 0.35);
}

.badge-stat-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.badge-stat-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-stat-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animations for stage motion effects */
@keyframes ambientShift {
  0% {
    transform: scale(1.15) rotate(0deg);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.22) rotate(1.5deg);
    opacity: 0.48;
  }
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  100% {
    transform: translate(12px, -10px) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes floatBadgeTop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes floatBadgeBottom {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(193, 25, 35, 0.65);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(193, 25, 35, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(193, 25, 35, 0);
  }
}

.showcase-text {
  display: flex;
  flex-direction: column;
}

.showcase-pill-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C11923;
  background: #FDF1F1;
  border: 1px solid rgba(193, 25, 35, 0.18);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}

.showcase-text h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 26px;
}

/* List rows matching Image 2 */
.point-list-image2 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.point-row-image2 {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #EFE8E4;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.point-row-image2:hover {
  transform: translateX(6px);
  border-color: #C11923;
}

.point-circle-image2 {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #C11923;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(193, 25, 35, 0.35);
}

.point-text-image2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  color: #0F172A;
}

/* ---------- Responsive Breakpoints for About ---------- */
@media (max-width: 1080px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .showcase-grid,
  .showcase-grid.image-left {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .about-hero {
    padding: 20px 0;
    max-height: 300px;
    min-height: auto;
  }
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
  .showcase-media-stage {
    min-height: auto;
    padding: 16px 14px;
    gap: 12px;
  }
  .stage-floating-badge.badge-top {
    font-size: 11px;
    padding: 6px 14px;
  }
  .stage-floating-badge.badge-bottom {
    padding: 8px 12px;
  }
  .badge-stat-icon {
    width: 32px;
    height: 32px;
  }
  .badge-stat-title {
    font-size: 12px;
  }
  .badge-stat-sub {
    font-size: 10px;
  }
  .point-row-image2 {
    padding: 14px 16px;
  }
  .point-text-image2 {
    font-size: 13.5px;
  }
}
