body{
    font-family: Cambria !important;
}/* ================= COMMON ================= */

.life-pillars,
.life-perks {
  padding: 80px 0;
}

.global-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= FLEX LAYOUT ================= */

.life-flex-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* LEFT CONTENT */
.life-content-side {
  flex: 1;
}

.life-sub {
  font-size: 12px;
  letter-spacing: 2px;
  color: #3b82f6;
  font-weight: 600;
}

.life-content-side h2 {
  font-size: 2.5rem;
  margin: 10px 0 20px;
  font-weight: 700;
  color: #0f172a;
}

.life-content-side h2 span {
  color: #3b82f6;
}

.life-content-side p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* FEATURE LIST */
.life-feature-list {
  list-style: none;
  padding: 0;
}

.life-feature-list li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
}

.life-feature-list strong {
  color: #0f172a;
}

/* ================= IMAGE SIDE ================= */

.life-image-side {
  flex: 1;
  position: relative;
}

/* STACK EFFECT */
.image-stack {
  position: relative;
  width: 100%;
}

.image-stack img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: 0.4s;
}

/* HOVER EFFECT */
.image-stack img:hover {
  transform: scale(1.03);
}

/* ================= PERKS ================= */

.life-perks {
  background: #f8fafc;
}

/* HEADER */
.global-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.global-main-heading {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
}

.global-main-heading span {
  color: #3b82f6;
}

/* GRID */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}

/* CARD */
.perk-item {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* HOVER */
.perk-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ICON */
.perk-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.perk-icon-wrap i {
  font-size: 24px;
}

/* TEXT */
.perk-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.perk-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .life-flex-row {
    flex-direction: column;
    text-align: center;
  }

  .life-content-side {
    order: 2;
  }

  .life-image-side {
    order: 1;
  }

  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {

  .life-content-side h2 {
    font-size: 2rem;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }
}/* ================= HERO ================= */

.life-hero-main {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #020617;
}

/* ================= ANIMATED BACKGROUND ================= */

.animated-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0f172a, #1e3a5f, #0f172a);
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
  z-index: 0;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= PARTICLES ================= */

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 12s linear infinite;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 30%; animation-delay: 3s; }
.particles span:nth-child(3) { left: 60%; animation-delay: 6s; }
.particles span:nth-child(4) { left: 80%; animation-delay: 2s; }

@keyframes floatParticle {
  0% { bottom: -20px; opacity: 0; }
  20% { opacity: 1; }
  100% { bottom: 100%; opacity: 0; }
}

/* ================= GLOW ================= */

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.3), transparent);
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  animation: glowPulse 4s infinite;
  z-index: 1;
}

@keyframes glowPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.2; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

/* ================= OVERLAY ================= */

.life-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  z-index: 1;
}

/* ================= TEXT ================= */

.life-hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* BADGE */
.life-badge-new {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease forwards;
}

/* HEADING */
.life-hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* TEXT ANIMATION */
.line {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 1s forwards;
}

.line:nth-child(1) { animation-delay: 0.3s; }
.line:nth-child(2) { animation-delay: 0.7s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HIGHLIGHT */
.highlight {
  color: #38bdf8;
}

/* PARAGRAPH */
.life-hero-text p {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 1.2s;
  line-height: 1.6;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .life-hero-text h1 {
    font-size: 2.2rem;
  }
}/* ================= SECTION ================= */

.life-fun-gallery {
  padding: 80px 0;
  background: #0f172a;
}

/* HEADER */
.global-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.global-main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fcfcfc;
}

.global-main-heading span {
  color: #ffffff;
}
.global-main-heading1{
    font-size: 2.5rem;
  font-weight: 700;
  color: #000768;
}.global-main-heading1 span {
  color: #0915a0;
}
/* ================= GRID ================= */

.modern-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* ================= CARD ================= */

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  height: 260px; /* equal size */
}

/* IMAGE */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

/* HOVER ZOOM */
.gallery-card:hover img {
  transform: scale(1.1);
}

/* ================= OVERLAY ================= */

.gallery-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.2)
  );

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}

/* SHOW ON HOVER */
.gallery-card:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT */
.gallery-info h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.gallery-info p {
  color: #cbd5f5;
  font-size: 13px;
}

/* ================= CARD HOVER EFFECT ================= */

.gallery-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(-6px);
  transition: 0.3s;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .modern-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .modern-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 220px;
  }
}