 @font-face {
    font-family: 'TT Ricordi Nobili';
    src: url('/fonts/TT-RicordiNobili.woff2') format('woff2'),
         url('font/TT-RicordiNobili.ttf') format('truetype'),;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  

:root {
  --background: #0B0634;
  --herobg: #000;
  --surface: #FFFFFF;
  --surface-elevated: #F8F9FF;
  --text-primary: #FFFFFF;
  --text-secondary: #E0E6FF;
  --text-dark: #0B0634;
  --divider: rgba(255, 255, 255, 0.2);
  --accent-primary: #6366F1;
  --accent-hover: #4F46E5;
  --accent-neon: #00D4FF;
  --shadow-soft: 0 4px 20px rgba(11, 6, 52, 0.3);
  --shadow-medium: 0 8px 30px rgba(11, 6, 52, 0.4);
  --shadow-hard: 0 20px 60px rgba(11, 6, 52, 0.6);
  --glow-subtle: 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-medium: 0 0 30px rgba(0, 212, 255, 0.5);
}

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Overpass', sans-serif;
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
}

h1,h2{ font-family: "TT Ricordi Nobili", Arial, sans-serif; }

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: -2;
}



#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.4;
  filter: blur(0.5px);
  overflow: hidden;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 2px solid var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
  animation: headerGlow 4s ease-in-out infinite;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.logo{
  display: flex;
  margin-top: 10px;
}

.logo span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 140px);
}

.header-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.booking-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--surface);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium), var(--glow-subtle);
  background: var(--surface-elevated);
  border-color: var(--accent-neon);
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: var(--text-primary);
  border: none;
  box-shadow: var(--shadow-medium), var(--glow-subtle);
  font-weight: 600;
}

.cta-btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-neon));
  box-shadow: var(--shadow-hard), var(--glow-medium);
  transform: translateY(-3px) scale(1.02);
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

video.hero-video {
    width: 100%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-hard);
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateY(-5deg);
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: var(--shadow-hard), var(--glow);
}

.hero-content {
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-neon));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-neon);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% { box-shadow: 0 0 5px var(--accent-neon); }
  100% { box-shadow: 0 0 20px var(--accent-neon), 0 0 30px var(--accent-neon); }
}

@keyframes neonGlow {
  0%, 100% { box-shadow: 0 0 5px var(--accent-neon); }
  50% { box-shadow: 0 0 15px var(--accent-neon), 0 0 25px var(--accent-neon); }
}

@keyframes neonFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary), var(--accent-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-neon));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-neon);
  animation: neonGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { box-shadow: 0 0 5px var(--accent-neon); }
  50% { box-shadow: 0 0 15px var(--accent-neon); }
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -50px;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
  animation: neonFlow 3s linear infinite;
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 30%;
  left: -50px;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
  animation: neonFlow 4s linear infinite reverse;
  opacity: 0.4;
}

/* Problems Section */
.problems {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.problems::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-soft);
  will-change: transform;
}

.problem-item p {
  color: var(--text-dark);
  font-weight: 500;
}

.problem-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: neonFlow 2s linear infinite;
}

.problem-item:hover {
  transform: translateY(-5px);
}

.problem-item:hover::before {
  opacity: 1;
}

.problem-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.3));
}

.problem-icon svg {
  width: 100%;
  height: 100%;
}

.problem-item:hover .problem-icon {
  color: var(--accent-neon);
  filter: drop-shadow(0 0 12px var(--accent-neon)) drop-shadow(0 0 20px var(--accent-neon));
}

.problem-item:hover .problem-icon {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.empathy {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Solution Section */
.solution {
  text-align: left;
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.solution-image {
  position: relative;
}

.solution-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateY(5deg);
}

.solution-img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: var(--shadow-hard), var(--glow);
}

/* Pillars Section */
.pillars {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.pillars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

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

.pillar {
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-soft);
  will-change: transform;
}

.pillar p {
  color: var(--text-dark);
  font-weight: 400;
}

.pillar:hover {
  transform: translateY(-8px);
}

.pillar-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 2rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar:hover .pillar-icon {
  color: var(--accent-neon);
  filter: drop-shadow(0 0 15px var(--accent-neon)) drop-shadow(0 0 25px var(--accent-neon));
}

.pillar:hover .pillar-icon {
  color: var(--accent-primary);
  transform: scale(1.1) rotateY(10deg);
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
}

.pillar:hover h3 {
  color: var(--accent-primary);
}

/* Trust Section */
.trust {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
  text-align: center;
  padding-top: 80px;
}

.trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.trust-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.certification-item {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.certification-item:hover {
  transform: translateY(-5px);
}

.certification-item img {
    width: 50%;
    height: auto;
}

.cert-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 10px var(--accent-neon);
}

.certification-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.certification-item p {
  color: var(--text-dark);
  line-height: 1.6;
}

.trust-benefits {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  padding: 8rem 0;
  min-height: 60vh;
  background: linear-gradient(rgba(11, 6, 52, 0.8), rgba(11, 6, 52, 0.8)), url('Images/GolfWVZG.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* margin-top: 2rem; */
  display: flex;
  align-items: center;
}

.trust-benefits .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefits-intro {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.benefits-list li {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 2rem;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-neon);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Services Section */
.services {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 40% 60%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.hover-rotate3d-direction {
  perspective: 400px;
  overflow: hidden;
  position: relative;
  height: 350px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--divider);
  cursor: pointer;
  transition: all 0.3s ease;
  contain: layout style paint;
}

.hover-rotate3d-direction:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

@media (prefers-reduced-motion: reduce) {
  .direction-item {
    transition: opacity 0.2s ease;
  }
  .hover-rotate3d-direction:hover {
    transform: none;
  }
}

.direction-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-neon) 100%);
  transform: rotate3d(1, 0, 0, 90deg);
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.direction-item.from-top {
  transform-origin: top center;
}

.direction-item.from-bottom {
  transform-origin: bottom center;
}

.direction-item.from-left {
  transform-origin: left center;
}

.direction-item.from-right {
  transform-origin: right center;
}

.direction-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 0 2rem;
}

.card-content {
  position: relative;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--accent-hover);
}

.direction-item.is-enter,
.direction-item.is-leave {
  opacity: 1;
}

@keyframes rotate3d-in-top {
  from { transform: rotateX(-94deg); }
  to { transform: rotateX(0deg); }
}

@keyframes rotate3d-out-top {
  from { transform: rotateX(0deg); }
  to { transform: rotateX(-94deg); }
}

@keyframes rotate3d-in-bottom {
  from { transform: rotateX(94deg); }
  to { transform: rotateX(0deg); }
}

@keyframes rotate3d-out-bottom {
  from { transform: rotateX(0deg); }
  to { transform: rotateX(94deg); }
}

@keyframes rotate3d-in-right {
  from { transform: rotateY(94deg); }
  to { transform: rotateY(0deg); }
}

@keyframes rotate3d-out-right {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(94deg); }
}

@keyframes rotate3d-in-left {
  from { transform: rotateY(-94deg); }
  to { transform: rotateY(0deg); }
}

@keyframes rotate3d-out-left {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-94deg); }
}

.is-enter.direction-top {
  transform-origin: 50% 0%;
  animation: rotate3d-in-top 0.38s ease-out forwards;
}

.is-enter.direction-bottom {
  transform-origin: 50% 100%;
  animation: rotate3d-in-bottom 0.38s ease-out forwards;
}

.is-enter.direction-right {
  transform-origin: 100% 50%;
  animation: rotate3d-in-right 0.38s ease-out forwards;
}

.is-enter.direction-left {
  transform-origin: 0% 50%;
  animation: rotate3d-in-left 0.38s ease-out forwards;
}

.is-leave.direction-top {
  transform-origin: 50% 0%;
  animation: rotate3d-out-top 0.34s ease-in forwards;
}

.is-leave.direction-bottom {
  transform-origin: 50% 100%;
  animation: rotate3d-out-bottom 0.34s ease-in forwards;
}

.is-leave.direction-right {
  transform-origin: 100% 50%;
  animation: rotate3d-out-right 0.34s ease-in forwards;
}

.is-leave.direction-left {
  transform-origin: 0% 50%;
  animation: rotate3d-out-left 0.34s ease-in forwards;
}

.service-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-card__excerpt {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1rem;
}

.service-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.service-card__cta svg {
  width: 18px;
  height: auto;
}

.tilt { perspective: 1100px; }

.card {
  position: relative;
  border-radius: 18px;
  background: var(--cardBg, var(--surface));
  border: 1px solid var(--divider);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px;
  min-height: 220px;
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: box-shadow 320ms ease, border-color 320ms ease, background 420ms ease;
  box-shadow:
    0 10px 20px rgba(15, 23, 42, .06),
    0 24px 48px rgba(15, 23, 42, calc(.06 + var(--shadowBoost, 0)));
  --titleColor: var(--text-dark);
  --descColor: #475569;
  --iconBg: #eef2ff;
  --iconColor: var(--accent-primary);
  --linkColor: var(--accent-primary);
  --contentOpacity: 1;
}

.tilt:hover .card { border-color: #dbe0e7; }

.card:hover {
  --cardBg: linear-gradient(160deg, var(--accent-primary) 0%, var(--accent-hover) 55%, var(--accent-primary) 100%);
  --titleColor: #f8fafc;
  --descColor: #e2e8f0;
  --iconBg: rgba(255, 255, 255, 0.16);
  --iconColor: #f8fafc;
  --linkColor: #bfdbfe;
  --contentOpacity: 1;
}

.content { position: relative; z-index: 2; transform-style: preserve-3d; }

.content-inner {
  transform: translateZ(var(--contentZ, 0px)) translateX(var(--contentX, 0px)) translateY(var(--contentY, 0px));
  transition: transform 320ms ease, opacity 420ms ease;
  opacity: var(--contentOpacity);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--iconBg);
  color: var(--iconColor);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .12);
  font-size: 20px;
  transition: background 340ms ease, color 340ms ease, box-shadow 340ms ease;
}

.title {
  margin: 12px 0 6px;
  font-weight: 800;
  font-size: 18px;
  color: var(--titleColor);
  transition: color 320ms ease;
}

.desc {
  color: var(--descColor);
  font-size: 14px;
  line-height: 1.5;
  transition: color 360ms ease;
}

.link {
  margin-top: 14px;
  color: var(--linkColor);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 360ms ease;
}

.link:hover { text-decoration: underline; }

.door-group {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  transform-style: preserve-3d;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  will-change: transform, filter;
}

.card:hover .door-face {
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.12), rgba(248, 250, 252, 0.04));
  box-shadow:
    inset 0 0 0 1px rgba(248, 250, 252, .12),
    inset 0 18px 48px rgba(15, 23, 42, .18);
}

.door-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, .05),
    inset 0 18px 40px rgba(15, 23, 42, .07);
  transform: translateZ(12px);
  transition: background 420ms ease, box-shadow 420ms ease;
}

.door-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f6fb, #e7edf6);
  transform: translateZ(-12px) rotateY(180deg);
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
  transition: background 420ms ease, box-shadow 420ms ease;
}

.card:hover .door-back {
  background: linear-gradient(180deg, #0f172a, #1e293b);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .25);
}

.door-edge { position: absolute; inset: 0; border-radius: 18px; }

.edge {
  position: absolute;
  background: linear-gradient(180deg, #e9eef5, #dbe3ee);
  transition: background 420ms ease;
}

.card:hover .edge {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.92), rgba(59, 130, 246, 0.65));
}

.edge.left {
  left: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  transform: rotateY(90deg) translateZ(12px);
  transform-origin: left;
  border-radius: 12px 0 0 12px;
}

.edge.right {
  right: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  transform: rotateY(-90deg) translateZ(12px);
  transform-origin: right;
  border-radius: 0 12px 12px 0;
}

.edge.top {
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  transform: rotateX(-90deg) translateZ(12px);
  transform-origin: top;
  border-radius: 12px 12px 0 0;
}

.edge.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  transform: rotateX(90deg) translateZ(12px);
  transform-origin: bottom;
  border-radius: 0 0 12px 12px;
}

.hinge-ao {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: var(--ao, 0);
  background:
    radial-gradient(36% 100% at 0% 50%, rgba(0, 0, 0, var(--aoL, .00)), rgba(0, 0, 0, 0) 70%),
    radial-gradient(36% 100% at 100% 50%, rgba(0, 0, 0, var(--aoR, .00)), rgba(0, 0, 0, 0) 70%),
    radial-gradient(100% 36% at 50% 0%, rgba(0, 0, 0, var(--aoT, .00)), rgba(0, 0, 0, 0) 70%),
    radial-gradient(100% 36% at 50% 100%, rgba(0, 0, 0, var(--aoB, .00)), rgba(0, 0, 0, 0) 70%);
  transition: opacity 260ms ease;
}

.specular {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: var(--spec, 0);
  background: conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 30%);
  mix-blend-mode: screen;
  filter: blur(18px);
  transition: opacity 240ms ease, transform 320ms ease;
  transform: translateX(var(--specX, 0)) translateY(var(--specY, 0));
}

.light-slit {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: var(--slitO, 0);
  background: linear-gradient(var(--slitDir, 90deg), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  clip-path: inset(var(--slitTop, 0) var(--slitRight, 0) var(--slitBottom, 0) var(--slitLeft, 0));
  filter: blur(8px);
  transition: opacity 200ms ease;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
}

.service-card p {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

/* Steps Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step h3 {
  color: var(--text-primary);
  font-weight: 600;
}

.step p {
  color: var(--text-secondary);
  font-weight: 400;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px var(--accent-neon);
  transition: all 0.3s ease;
  animation: neonPulse 3s ease-in-out infinite alternate;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.acceleration {
  text-align: center;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Programs Section */
.programs {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.program-card {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--divider);
  transition: all 0.3s ease;
  color: #000;
}

.program-card h5 {
    font-size: 18px;
}

.program-card p {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 16px;
  margin-top: 5px;
}

.program-card ul {
    padding-left: 20px;
    margin-top: 10px;
}

.program-card ul li {
  font-size: 15px;
  padding-left: 10px;
}
 
.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(194, 169, 104, 0.1);
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent-primary);
}

.programs-note {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
}

/* Storytelling Section */
.storytelling {
  text-align: left;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  position: relative;
}

.story-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-hard);
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateY(-8deg);
}

.story-img:hover {
  transform: perspective(1000px) rotateY(-3deg) scale(1.02);
  box-shadow: var(--shadow-hard), var(--glow);
}

.story-header {
  font-size: 1.25rem;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.story-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials */
.testimonials {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 60% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.testimonial {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--divider);
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-soft);
  will-change: transform;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-image {
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.testimonial:hover .testimonial-avatar {
  transform: scale(1.1) translateZ(10px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-medium);
}

.testimonial p {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.testimonial-author strong {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial p {
  color: var(--text-dark);
}

.testimonial-author span {
  color: var(--text-secondary);
}

.testimonial-author span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Booking Section */
.booking {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  text-align: center;
  position: relative;
}

.booking::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.booking-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(194, 169, 104, 0.1);
}

.form-group input::placeholder {
  color: #9CA3AF;
}

/* Footer */
.footer {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--divider);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.footer-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  visibility: hidden;
}

.sticky-cta.show {
  visibility: visible;
}

.sticky-cta .cta-btn {
  width: auto;
  min-width: 200px;
  max-width: 280px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

h2.aos-init.aos-animate {
    font-family: "Inter", Arial, sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-benefits {
    padding: 4rem 0;
    min-height: 50vh;
  }
  
  .trust-benefits .container {
    padding: 0 1.5rem;
  }
  
  .header-container {
    height: auto;
    padding: 0 15px;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  .hero {
    padding-top: 120px;
    text-align: center;
    min-height: 90vh;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtext {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-img {
    transform: none;
    height: 250px;
  }
  
  .solution-content,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .solution-img,
  .story-img {
    transform: none;
    height: 250px;
  }
  
  section {
    padding: 60px 0;
  }
  
  section h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 2.5rem;
  }
  
  .sticky-cta {
    bottom: 15px;
    padding: 0 15px;
  }
  
  .sticky-cta .cta-btn {
    min-width: 180px;
    max-width: 250px;
  }
  
  .problem-item,
  .pillar {
    padding: 2rem 1.5rem;
  }
  
  .problem-item:hover,
  .pillar:hover {
    transform: translateY(-5px);
  }
  
  .problem-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .pillar-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .pillar h3 {
    font-size: 1.4rem;
  }
  
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pillars-grid,
  .steps,
  .programs-grid,
  .testimonials-grid,
  .services-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: auto;
    padding: 0 12px;
  }
  
  .logo span {
    font-size: 1rem;
  }
  
  .hero {
    padding-top: 125px;
    min-height: 85vh;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .hero-subtext {
    font-size: 0.9rem;
  }
  
  section {
    padding: 40px 0;
  }
  
  section h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 2rem;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .problem-item,
  .pillar {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  .problem-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
  }
  
  .pillar-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
  }
  
  .pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .form-group input,
  .form-group select {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .testimonial,
  .program-card {
    padding: 1.5rem;
  }
  .trust{
    padding-top: 0px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  
  .header-container {
    height: auto;
    padding: 0 10px;
  }
  
  .logo span {
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .problem-item,
  .pillar {
    padding: 1rem 0.8rem;
  }
  
  .sticky-cta {
    bottom: 10px;
    padding: 0 10px;
  }
  
  .sticky-cta .cta-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    min-width: 160px;
    max-width: 220px;
  }
}

/* Image Slider */
.app {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2em;
  font-family: 'Montserrat';
}
.app {
    background-image: url("Images/logobg.webp");  /* apna background yahan lagao */
    /* min-height: 400px; */
    background-attachment: fixed;   /* ye parallax effect deta hai */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.splide {
  max-width: 95%;
  padding: 40px 0px;
}
.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.splide__slide__container {
  width: 120px;          
  height: 120px;
  /* background-color: white;  */
  border-radius: 0.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;        
  /* cursor: pointer;
  transition: background-color 250ms ease-in-out, transform 300ms; */
}

ul:has(.splide__slide__container:hover)
.splide__slide__container:not(.splide__slide__container:hover) {
  /* background-color: rgb(255, 255, 255); */
  height: 120px;
}


.splide__list {
  display: flex !important;
  flex-direction: row !important; /* 👈 force row instead of column */
}

.splide__slide__container img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 👈 image cut nahi hogi, bilkul fit ho gi */
  object-position: center;
}


/* Dark overlay for better contrast */
.logo-parallax .logo-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}

/* Logos container */
.logo-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Logos style */
.logo-container img {
    height: 80px;         /* sab logos same height */
    width: auto;          /* ratio maintain */
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Section after for demo scroll */
.after-section {
    height: 800px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}



.video-wrapper {
  position: relative;
  display: inline-block;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
}

/* Gallery Section */
.gallery {
  background: 
  radial-gradient(ellipse at 20% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
  radial-gradient(ellipse at 80% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
  linear-gradient(to right, #000000 0%, #0b0634 100%);
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.gallery-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
  z-index: 2;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 150px);
  }
  
  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .gallery-tall {
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  
  .gallery-large,
  .gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 0.7;
}