body{
    background:#111;
}
:root{
    --bg: #121212;
    --fg: #222222;
}
h2#foundations-text {
    color: #fff;
}
section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
  color: var(--fg);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.razen-abt-sticky-cards {
  position: relative;
  width: 100%;
  height: 100%;
  /* background-color: #fff; */
}

.razen-abt-sticky-card {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--fg);
  color: var(--bg);
  display: flex;
  gap: 3rem;
  will-change: transform;
}

.razen-abt-sticky-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: var(--after-opacity, 0);
  transition: opacity 0.1s ease;
  pointer-events: none;
  z-index: 2;
}

.razen-abt-sticky-card-index {
  flex: 2;
}

.razen-abt-sticky-card-content {
  flex: 4;
  padding-top: 1.5rem;
}

.razen-abt-sticky-card-content-wrapper {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.razen-abt-sticky-card-header {
  width: 75%;
}

.razen-abt-sticky-card-img img {
  aspect-ratio: 5/3;
}

.razen-abt-sticky-card-copy {
  display: flex;
  gap: 1.5rem;
}

.razen-abt-sticky-card-copy-title {
  flex: 2;
}

.razen-abt-sticky-card-copy-description {
  flex: 4;
}

.razen-abt-sticky-card-copy-title p {
  text-transform: uppercase;
  font-weight: 650;
}

/* Services Section Styles */
.razen-abt-services-section {
  min-height: 100vh;
  padding: 6rem 2rem;
  background-color: var(--bg);
  /* background-image: 
    radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.2) 2px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.2) 2px, transparent 0); */
  background-size: 100px 100px;
  color: var(--fg);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.razen-abt-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.razen-abt-section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 3.5rem;
  letter-spacing: -0.15rem;
}

.razen-abt-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.razen-abt-service-card {
  background-color: var(--fg);
  color: var(--bg);
  /* border-radius: 12px; */
  overflow: hidden;
  height: 100%;
  aspect-ratio: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.razen-abt-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.razen-abt-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(220deg, rgba(0, 216, 255, 0.7) 0%, rgba(71, 120, 255, 0.7) 50%, rgba(118, 55, 189, 0.7) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.razen-abt-service-card:hover::before {
  transform: scaleX(1);
}

.razen-abt-service-card-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.razen-abt-service-card-inner::after {
  content: '';
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: -1;
}

.razen-abt-service-card:hover .razen-abt-service-card-inner::after {
  opacity: 1;
  transform: scale(1);
}

.razen-abt-service-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.05rem;
  color: #fff;
}

.razen-abt-service-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 1;
  color: #fff;
}

@media (max-width: 1200px) {
  .razen-abt-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  h1 {
    font-size: 2rem;
    letter-spacing: 0;
  }

  p {
    font-size: 1rem;
  }

  .razen-abt-sticky-card {
    flex-direction: column;
    gap: 0;
  }

  .razen-abt-sticky-card-content-wrapper {
    width: 100%;
  }

  .razen-abt-sticky-card-copy {
    flex-direction: column;
    gap: 0.5rem;
  }

  .razen-abt-sticky-card-index {
    flex: 1;
  }
  
  .razen-abt-section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }
  
  .razen-abt-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .razen-abt-service-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .razen-abt-services-section {
    padding: 4rem 1.25rem;
  }
  
  .razen-abt-services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .razen-abt-service-card {
    aspect-ratio: auto;
    min-height: 220px; /* Increased minimum height */
  }
  
  .razen-abt-service-card-inner {
    padding: 1.5rem;
  }
  
  .razen-abt-service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .razen-abt-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}


.tracker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  padding: 2em 0;
  /* border: 1px solid #bfff00; */
}

.emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: url(/sphere.png) no-repeat 50% 50%;
  background-size: cover;
  border-radius: 100%;
}

.emoji-face {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 225px;
  height: 200px;
  display: flex;
  flex-direction: column;
}

.eyes,
.mouth-wrapper {
  flex: 1;
}

.eyes {
  display: flex;
  justify-content: space-between;
}

.eyes img {
  width: 100px;
  height: 100px;
  animation: rotateEyes 4s infinite linear;
}

.mouth-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mouth {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: #000;
  animation: wonderFace 2s infinite cubic-bezier(0.075, 0.82, 0.165, 1);
}
.razen-abt-sticky-cards .pin-spacer{
    background: #000;
}